Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44326 - xpdf 3.0 can't find lesstif headers
Summary: xpdf 3.0 can't find lesstif headers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 23:43 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2004-03-14 03:54 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 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-03-10 23:43:14 UTC
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.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-12 05:55:34 UTC
what's your openmotif version?
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-03-12 12:19:19 UTC
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.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-13 08:08:51 UTC
try to remerge openmotif, it installs XmAll.h here
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2004-03-13 22:26:39 UTC
re-emerging openmotif fixed it
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-14 03:54:00 UTC
fine :)