configure: WARNING: Couldn't find X / Motif -- you will be able to compile pdftops, pdftotext, pdfinfo, pdffonts, pdftoppm, and pdfimages, but not xpdf Since openmottif (>=2.2.3-r5 >=2.1.30-r11) "fix includes" moving everything to /usr/include/openmotif-2.2 instead of /usr/include (which is good) xpdf configure script can not find Xm headers/libraries... I added this to the ebuild and then xpdf can be compiled.. + --with-Xm-library=`/usr/bin/motif-config -L` \ + --with-Xm-includes=`/usr/bin/motif-config -I` \ Also I like that behaviour.. cos in this way bug 83317 can be fixed/closed. Diff and ebuild will be attached., They should be keyworded ~ because depends on a keyworded ebuild (motif-config and openmotif >=2.2.3-r5 >=2.1.30-r11).
Created attachment 53505 [details, diff] xpdf.ebuild.diff
Created attachment 53506 [details] xpdf-3.00-r9.ebuild
For tracking-bug purposes: =================== Bug 49026 (Where is /usr/bin/xpdf ?) Bug 73985 (xpdf needs better warning about missing xpdf program) Bug 79959 (xpdf uses "nomotif" USE flag instead of checking against "motif" USE flag) Bug 83317 (xpdf uses "nomotif" use flags although there already is "motif") Bug 85315 (app-text/xpdf-3.00-r8 could not find X / Motif and its not able to compile xpdf) ===================
This is not related to bug #83317. xpdf should find motif, because motif-config creates the links to /usr/include and /usr/lib. try to remerge motif-config/openmotif and then xpdf.
Tue Mar 15 04:25:15 2005 >>> x11-libs/motif-config-0.5 Tue Mar 15 04:26:07 2005 >>> x11-libs/motif-config-0.5 Tue Mar 15 04:37:56 2005 >>> x11-libs/openmotif-2.2.3-r5 Tue Mar 15 04:38:53 2005 >>> app-text/xpdf-3.00-r8 configure: WARNING: Couldn't find X / Motif -- you will be able to compile pdftops, pdftotext, pdfinfo, pdffonts, pdftoppm, and pdfimages, but not xpdf motif-config creates the links, yea... but xpdf still not working. Xm -> /usr/include/openmotif-2.2/Xm Mrm -> /usr/include/openmotif-2.2/Mrm uil -> /usr/include/openmotif-2.2/uil
`motif-config -l`?
motif-config -l [1] openmotif-2.2 * There are just symlinks.. ok.. but I was having this problem motif-config --install openmotif-2.2 * /usr/bin/motif-config: Installing Profile: openmotif-2.2 rm: cannot remove `/usr/include/Mrm': Is a directory rm: cannot remove `/usr/include/Xm': Is a directory rm: cannot remove `/usr/include/uil': Is a directory ln: `/usr/include/Mrm/Mrm': File exists ln: `/usr/include/Xm/Xm': File exists ln: `/usr/include/uil/uil': File exists * /usr/bin/motif-config: New default Profile is: openmotif-2.2 Also the ebuild showed that. Weird because rm should not (?) output anything with `-f` argument.. so well, I deleted by hand `/usr/include/{Mrm,Xm,uil}' reemerged (motif-config,openmotif,xpdf) and works now. It Was a `migration` issue?
yes, migration issue. unmerge openmotif-2.2.3-r3 and try again
I have x11-libs/openmotif-2.2.3-r5. I'm on ~arch. It work (xpdf) before deleted symlinks and emerged openmotif again. Thanks :-)