I have both lesstif (header files in /usr/X11R6/include/lesstif/Xm) and openmotif (header files in /usr/X11R6/include/Xm) installed. Lesstif has the file XmAll.h, openmotif doesn't. It seems that xpdf 3.0 configure looks for XmAll.h in the openmotif directory by default: checking whether to use Xm library... maybe checking where to find the Xm header files... checking Xm/XmAll.h usability... no checking Xm/XmAll.h presence... no checking for Xm/XmAll.h... no not using Xm library and as a result, the gui is not compiled. Perhaps the ebuild could be modified to point configure at the motif that has all the necessary files? Reproducible: Always Steps to Reproduce: 1. (have lesstif and openmotif) 2. USE=motif emerge xpdf Actual Results: xpdf (the gui) is not compiled, only the command-line utilites are compiled. Expected Results: Configure finds the right motif and the gui is compiled.
what's your openmotif version?
First, the versions: openmotif: was 2.2.2-r1; now 2.1.30-r5 lesstif: 0.93.94 Second, I just emerged openmotif 2.1.30-r5, and it does come with all the necessary includes. Furthemore, 2.2.2-r1 also did come with the necessary includes when I emerged it in February 2003 (at least according to /var/db/pkg/x11-libs/openmotif-2.2.2-r1/CONTENTS). Interestingly, the 2.2.* series are no longer in my portage tree. But sometime within that year, something deleted half of its include files. I suspect that there was a bug in some X-related ebuild that did it. But in any case, openmotif seems to be not to blame.
try to remerge openmotif, it installs XmAll.h here
re-emerging openmotif fixed it
fine :)