Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123199 - Error compiling x11-libs/openmotif-2.2.3-r8
Summary: Error compiling x11-libs/openmotif-2.2.3-r8
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 14:08 UTC by Anders Christensen
Modified: 2006-02-18 02:28 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 Anders Christensen 2006-02-17 14:08:45 UTC
Hi,

I'm following the guide on how to install modular X.org (7.0) from http://gentoo-wiki.com/HOWTO_Modular_Xorg

When emerging the mainpackages it complains when compiling openmotif. In the "checking-fase" this warning appears:

checking X11/Xmu/Editres.h usability... no
checking X11/Xmu/Editres.h presence... yes
configure: WARNING: X11/Xmu/Editres.h: present but cannot be compiled
configure: WARNING: X11/Xmu/Editres.h:     check for missing prerequisite headers?
configure: WARNING: X11/Xmu/Editres.h: see the Autoconf documentation
configure: WARNING: X11/Xmu/Editres.h:     section "Present But Cannot Be Compiled"
configure: WARNING: X11/Xmu/Editres.h: proceeding with the preprocessor's result
configure: WARNING: X11/Xmu/Editres.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

The checking continues for some time, then the errormessage appears:

config.status: creating Makefile
config.status: creating bindings/Makefile
config.status: creating bitmaps/Makefile
config.status: creating clients/Makefile
config.status: creating clients/mwm/Makefile
config.status: creating clients/mwm/WmWsmLib/Makefile
config.status: creating clients/uil/Makefile
config.status: creating clients/xmbind/Makefile
config.status: creating config/Makefile
config.status: creating config/cf/Makefile
config.status: creating config/imake/Makefile
config.status: creating config/util/Makefile
config.status: creating config/makedepend/Makefile
config.status: creating include/Makefile
config.status: creating include/Dt/Makefile
config.status: creating lib/Makefile
config.status: creating lib/Xm/Makefile
config.status: creating lib/Mrm/Makefile
config.status: creating localized/Makefile
config.status: creating localized/util/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man1/Makefile
config.status: creating doc/man/man3/Makefile
config.status: creating doc/man/man4/Makefile
config.status: creating doc/man/man5/Makefile
config.status: creating tools/Makefile
config.status: creating tools/wml/Makefile
config.status: creating include/config.h
config.status: executing default-1 commands
Making all in bindings
make[1]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/bindings'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/bindings'
Making all in bitmaps
make[1]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/bitmaps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/bitmaps'
Making all in config
make[1]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config'
Making all in cf
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/cf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/cf'
Making all in imake
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/imake'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/imake'
Making all in makedepend
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/makedepend'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/makedepend'
Making all in util
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/util'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include     -O2 -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer -Wall -Wno-unused -Wno-comment -c makestrs.c
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer -Wall -Wno-unused -Wno-comment  -o makestrs  makestrs.o
mkdir .libs
i686-pc-linux-gnu-gcc -O2 -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer -Wall -Wno-unused -Wno-comment -o makestrs makestrs.o
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config/util'
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config'
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/config'
Making all in localized
make[1]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/localized'
Making all in util
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/localized/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/localized/util'
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/localized'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/localized'
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/localized'
Making all in lib
make[1]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/lib'
Making all in Xm
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/lib/Xm'
make[2]: Circular XmStrDefs.h <- Makefile dependency dropped.
test -f xmstring.list || ln -s ./xmstring.list xmstring.list
test -f XmStrDefs.ht || ln -s ./XmStrDefs.ht XmStrDefs.ht
test -f XmStrDefs22.ht || ln -s ./XmStrDefs22.ht XmStrDefs22.ht
test -f XmStrDefsI.ht || ln -s ./XmStrDefsI.ht XmStrDefsI.ht
test -f XmStrDefs.ct || ln -s ./XmStrDefs.ct XmStrDefs.ct
../../config/util/makestrs -f xmstring.list >XmStrDefs.c
make[2]: Circular XmStrDefs22.h <- Makefile dependency dropped.
make[2]: Circular XmStrDefsI.h <- Makefile dependency dropped.
make[2]: Circular XmStrDefs.c <- Makefile dependency dropped.
cd ../.. \
  && CONFIG_FILES=lib/Xm/Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating lib/Xm/Makefile
config.status: executing default-1 commands
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/lib/Xm'
make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/lib/Xm'
make[2]: Circular XmStrDefs.h <- Makefile dependency dropped.
make[2]: Circular XmStrDefs22.h <- Makefile dependency dropped.
make[2]: Circular XmStrDefsI.h <- Makefile dependency dropped.
make[2]: Circular XmStrDefs.c <- Makefile dependency dropped.
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib/X11/bindings\"            -DINCDIR=\"/usr/include/X11\"            -DLIBDIR=\"/usr/lib/X11\"                -O2 -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer -Wall -Wno-unused -Wno-comment -c XmStrDefs.c
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/lib/X11/bindings\" -DINCDIR=\"/usr/include/X11\" -DLIBDIR=\"/usr/lib/X11\" -O2 -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer -Wall -Wno-unused -Wno-comment -Wp,-MD,.deps/XmStrDefs.pp -c XmStrDefs.c  -fPIC -DPIC -o .libs/XmStrDefs.o
In file included from XmStrDefs.c:10:
../Xm/Xm.h:59:34: X11/extensions/Print.h: No such file or directory
In file included from XmStrDefs.c:10:
../Xm/Xm.h:827: error: syntax error before "XPContext"
../Xm/Xm.h:827: warning: no semicolon at end of struct or union
../Xm/Xm.h:830: error: syntax error before '}' token
../Xm/Xm.h:830: warning: type defaults to `int' in declaration of `XmPrintShellCallbackStruct'
../Xm/Xm.h:830: warning: data definition has no type or storage class
make[2]: *** [XmStrDefs.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r8/work/openMotif-2.2.3/lib'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/openmotif-2.2.3-r8 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! make failed, if you have lesstif installed removed it, compile openmotif and recompile lesstif
!!! If you need support, post the topmost build error, and the call stack if relevant.

Any suggestions?
./Anders.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-17 14:16:27 UTC
DON'T do this step, it is breaking your dependencies...

<snip>
mkdir -p /etc/portage/profile ; echo 'virtual/x11-6.8' >> /etc/portage/profile/package.provided
</snip>
Comment 2 Anders Christensen 2006-02-18 01:24:32 UTC
OK, thanks. I aldready did that snippet, but I removed the directory again and this made it possible to emerge some of the packages - but not them all.



Now the problem is x11-misc/linuxwacom.



# emerge -p x11-misc/linuxwacom

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] x11-libs/libXft (is blocking x11-base/xorg-x11-6.8.2-r6)
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r6  USE="bitmap-fonts ipv6 nls opengl pam truetype-fonts type1-fonts xv -3dfx -3dnow -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -minimal -mmx -nocxx -sdk -sse -static -xprint"
[ebuild  N    ] virtual/x11-6.8
[ebuild  N    ] x11-misc/linuxwacom-0.6.7  USE="gtk gtk2 -dlloader -sdk -tcltk -usb"



Here is the error:



checking for valid Xorg SDK... "xf86Version.h missing"
configure: error: "Unable to find xf86Version.h under /usr/lib/Server//include and WCM_XORGSDK/xc/include"

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/linuxwacom-0.6.7/work/linuxwacom-0.6.7/config.log

!!! ERROR: x11-misc/linuxwacom-0.6.7 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  linuxwacom-0.6.7.ebuild, line 94:   Called econf 'compile' '--with-gtk=2.0' '--without-tcl' '--without-tk' '--with-xorg-sdk=/usr/lib/Server/' '--with-xlib=/usr/lib' '--disable-wacomdrv' '--enable-wacdump' '--enable-xsetwacom'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

localhost anders # rm -rf /etc/portage/profile/
localhost anders # emerge x11-misc/linuxwacom
Calculating dependencies ...done!

!!! Error: the x11-libs/libXft package conflicts with another package.
!!!        both can't be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.



If I try to execute the forbidden snippet 

mkdir -p /etc/portage/profile ; echo 'virtual/x11-6.8' >>/etc/portage/profile/package.provided

again, I get this:



# emerge -p x11-misc/linuxwacom

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] x11-misc/linuxwacom-0.6.7  USE="gtk gtk2 -dlloader -sdk -tcltk -usb"




And the same (it looks like) error:




checking for valid Xorg SDK... "xf86Version.h missing"
configure: error: "Unable to find xf86Version.h under /usr/lib/Server//include and WCM_XORGSDK/xc/include"

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/linuxwacom-0.6.7/work/linuxwacom-0.6.7/config.log

!!! ERROR: x11-misc/linuxwacom-0.6.7 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  linuxwacom-0.6.7.ebuild, line 94:   Called econf 'compile' '--with-gtk=2.0' '--without-tcl' '--without-tk' '--with-xorg-sdk=/usr/lib/Server/' '--with-xlib=/usr/lib' '--disable-wacomdrv' '--enable-wacdump' '--enable-xsetwacom'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-18 02:28:33 UTC
(In reply to comment #2)
> # emerge -p x11-misc/linuxwacom
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [blocks B     ] x11-libs/libXft (is blocking x11-base/xorg-x11-6.8.2-r6)
> [ebuild  N    ] x11-base/xorg-x11-6.8.2-r6  USE="bitmap-fonts ipv6 nls opengl
> pam truetype-fonts type1-fonts xv -3dfx -3dnow -cjk -debug -dlloader -dmx -doc
> -font-server -insecure-drivers -minimal -mmx -nocxx -sdk -sse -static -xprint"
> [ebuild  N    ] virtual/x11-6.8
> [ebuild  N    ] x11-misc/linuxwacom-0.6.7  USE="gtk gtk2 -dlloader -sdk -tcltk
> -usb"

Use 0.7.2, it's ported for modular X.