Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50554 - nedit-5.4_pre20030213 and nedit-5.4 compilation failure
Summary: nedit-5.4_pre20030213 and nedit-5.4 compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 09:10 UTC by Jonathan Coome (RETIRED)
Modified: 2004-05-24 05:26 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 Jonathan Coome (RETIRED) gentoo-dev 2004-05-09 09:10:19 UTC
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"
Comment 1 Simon Cooper 2004-05-09 12:04:51 UTC
same error msg, again using xorg-x11. Is there a similar header we can symlink to so it compiles ok?
Comment 2 Evgeny Stambulchik 2004-05-10 02:36:15 UTC
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.
Comment 3 Jonathan Coome (RETIRED) gentoo-dev 2004-05-10 03:55:04 UTC
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!)
Comment 4 Rob Kruus 2004-05-13 08:07:19 UTC
Same issue here, but on an athlon-xp.  Clean install etc.
Comment 5 Rob Kruus 2004-05-13 08:09:42 UTC
Damn, hit submit too fast, re-emerging motif didn't help.  I'll try xorg as well
Comment 6 Rob Kruus 2004-05-13 09:37:27 UTC
I like smoking crack :-)
It works now.
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2004-05-24 05:26:09 UTC
fine, so we can close it :)