When I try to emerge either of the nedit versions above, using either the gcc-3.4.0-r1 of gcc-3.3.3 compilers I get the following error message: >>> emerge (1 of 1) app-editors/nedit-5.4 to / >>> md5 src_uri ;-) nedit-5.4-source.tar.gz >>> Unpacking source... >>> Unpacking nedit-5.4-source.tar.gz to /var/tmp/portage/nedit-5.4/work >>> Source unpacked. (cd util; \ make -f Makefile.linux verify_config && \ make -f Makefile.linux libNUtil.a) make[1]: Entering directory `/var/tmp/portage/nedit-5.4/work/nedit-5.4/util' gcc -O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -o check_lin_tif check_lin_tif.c check_lin_tif.c:56:19: Xm/Xm.h: No such file or directory check_lin_tif.c: In function `main': check_lin_tif.c:202: error: `XmVERSION_STRING' undeclared (first use in this function) check_lin_tif.c:202: error: (Each undeclared identifier is reported only once check_lin_tif.c:202: error: for each function it appears in.) check_lin_tif.c:249: error: `XmVERSION' undeclared (first use in this function) check_lin_tif.c:249: error: `XmREVISION' undeclared (first use in this function) check_lin_tif.c:255: error: `XmUPDATE_LEVEL' undeclared (first use in this function) make[1]: *** [check_tif_rule] Error 1 make[1]: Leaving directory `/var/tmp/portage/nedit-5.4/work/nedit-5.4/util' make: *** [linux] Error 2 !!! ERROR: app-editors/nedit-5.4 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! (no error message) I am using xorg-x11, and I suspect this is the problem, because there isn't anything remotely similar in my /usr/X11R6/include tree. Reproducible: Always Steps to Reproduce: # emerge info Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -frename-registers" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdrw crypt divx4linux dvd encode fam fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mikmod motif mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv xvid zlib"
same error msg, again using xorg-x11. Is there a similar header we can symlink to so it compiles ok?
Xm/Xm.h is a Motif header. Somehow you managed to screw /usr/X11R6/include/Xm up. I suspect the transition from Xfree to Xorg wasn't done exactly according to recommendations (in my case, everything remained in place). So just re-emerge openmotif.
reemerging openmotif did indeed solve the problem. However, as for screwing /usr/X11R6/include/Xm up, I didn't make the transition from Xfree to Xorg in the first place - this is a fresh install. So for whatever reason the openmotif headers were either never installed in /usr/X11R6/include or the xorg installation removed them. I haven't touched them (and the system has only been installed for two days!)
Same issue here, but on an athlon-xp. Clean install etc.
Damn, hit submit too fast, re-emerging motif didn't help. I'll try xorg as well
I like smoking crack :-) It works now.
fine, so we can close it :)