Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66556

Summary: emerging openmotif doesn't install include files
Product: Gentoo Linux Reporter: Steph L <linux4ibook>
Component: New packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: RESOLVED DUPLICATE    
Severity: normal CC: lanius, ppc
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steph L 2004-10-06 12:04:31 UTC
CFLAGS="-O2 -pipe -mtune=750 -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
USE="dvd cdr alsa oss cups gnome fbcon -pda X vim-with-x ncurses radeon directfb quicktime mpeg avi  flash jpeg gif mozsvg moznoirc moznomail samba maildir imap milter mbox mailwrapper -ipv6 gtk2 perl png berkdb threads tcpd mailbox imap opengl oggvorbis truetype xinerama xvid nls python fbcon"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

using :
x11-base/xorg-x11-6.8.0-r1 *


qpkg   -v -nc -I openmotif 
x11-libs/openmotif-2.1.30-r5

qpkg   -l -nc openmotif |grep include
/usr/X11R6/include
/usr/X11R6/include/X11
/usr/X11R6/include/X11/bitmaps
/usr/X11R6/include/X11/bitmaps/xm_error
/usr/X11R6/include/X11/bitmaps/xm_hour16
/usr/X11R6/include/X11/bitmaps/xm_hour16m
/usr/X11R6/include/X11/bitmaps/xm_hour32
/usr/X11R6/include/X11/bitmaps/xm_hour32m
/usr/X11R6/include/X11/bitmaps/xm_information
/usr/X11R6/include/X11/bitmaps/xm_noenter16
/usr/X11R6/include/X11/bitmaps/xm_noenter16m
/usr/X11R6/include/X11/bitmaps/xm_noenter32
/usr/X11R6/include/X11/bitmaps/xm_noenter32m
/usr/X11R6/include/X11/bitmaps/xm_question
/usr/X11R6/include/X11/bitmaps/xm_warning
/usr/X11R6/include/X11/bitmaps/xm_working

=> No Xm.h or Xmall.h

it seems that these include files are not put in the 
/usr/X11R6/include directory but are in the temp
directory used for the ebuild: 

ds9 motif # pwd
/var/tmp/portage/openmotif-2.1.30-r5/work/motif
ds9 motif # find .  -name "Xm.h"
./lib/Xm/Xm.h
./exports/include/Xm/Xm.h




Reproducible: Always
Steps to Reproduce:
1. emerge openmotif
2.
3.

Actual Results:  
no Xm.h so emerging xpdf (using the motif IUSE) won't bring any xpdf binary

Expected Results:  
Xm.h in openmotif listing
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2004-10-06 18:21:32 UTC
Please try re-emerging xorg, then openmotif, then xpdf again. From the xorg-6.8.0-r1 ebuild:

"Please emerge this with USE="xprint" to enable the Xprint 
 extenstion -- Motif and motif apps will break without it."

Let us know if this works.
Comment 2 Steph L 2004-10-07 04:06:48 UTC
Yes, remerging xorg with xprint, and then reerming openmotif solves the problem :
ds9@ds9 ~ $ qpkg   -l -nc openmotif |grep include | grep Xm.h
/usr/X11R6/include/Xm/Xm.h
Comment 3 Steph L 2004-10-08 09:33:20 UTC
Using xprint is a work-around. 
Any way to get the include headers without xprint ?
If not can the ebuild issues a warning about this need ?
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2004-10-17 19:17:33 UTC

*** This bug has been marked as a duplicate of 67400 ***