Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95068 - net-print/mtink-1.0.8 ebuild does not find motif headers
Summary: net-print/mtink-1.0.8 ebuild does not find motif headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-04 14:52 UTC by Olivier Castan
Modified: 2005-06-06 05:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Castan 2005-06-04 14:52:41 UTC
Calculating dependencies  >>> Unpacking source...
>>> Unpacking mtink-1.0.8.tar.gz to /home/portage/tmp/portage/mtink-1.0.8/work
>>> Source unpacked.
Compile mtink.c
mainSrc/mtink.c:39:19: Xm/Xm.h : Aucun fichier ou r
Comment 1 Olivier Castan 2005-06-04 14:52:41 UTC
Calculating dependencies  >>> Unpacking source...
>>> Unpacking mtink-1.0.8.tar.gz to /home/portage/tmp/portage/mtink-1.0.8/work
>>> Source unpacked.
Compile mtink.c
mainSrc/mtink.c:39:19: Xm/Xm.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:40:24: Xm/MwmUtil.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:43:23: Xm/PanedW.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:44:22: Xm/MainW.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:45:21: Xm/Form.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:46:26: Xm/ScrollBar.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:47:26: Xm/ScrolledW.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:48:21: Xm/List.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:49:26: Xm/Separator.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:50:26: Xm/RowColumn.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:51:22: Xm/TextF.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:52:24: Xm/Display.h : Aucun fichier ou répertoire de ce type
mainSrc/mtink.c:55:21: Xm/Text.h : Aucun fichier ou répertoire de ce type
[...]

Looking at the Makefile, it searches for motif headers in /usr/X11R6/include
(MOINC = -I/usr/X11R6/include)
Just overriding MOINC solves the problem :
--- /usr/portage/net-print/mtink/mtink-1.0.8.ebuild     2005-05-04
07:45:18.000000000 +0200
+++ /usr/local/portage/net-print/mtink/mtink-1.0.8.ebuild       2005-06-04
23:50:16.000000000 +0200
@@ -15,7 +15,7 @@
        cups? ( net-print/cups )"

 src_compile() {
-       make || die "Compile problem"
+       make MOINC="-I`motif-config -I`" || die "Compile problem"
 }

 src_install() {


Reproducible: Always
Steps to Reproduce:
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-04 23:22:04 UTC
still it should find them since that's an symlink to /usr/include. What is your
motif version?
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 05:45:15 UTC
try motif-config -s openmotif-2.2