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
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:
still it should find them since that's an symlink to /usr/include. What is your motif version?
try motif-config -s openmotif-2.2