nedit fails to compile because in check_lin_tif.c there is in include of Xm/Xm.h which is not in /usr/include/ but in /usr/include/openmotif*/Xm/Xm.h the build fails with standard errors I have corrected the problem by linking Xm from motifs subdir to /usr/include. second try failed because linker failed -lXm that could be solved by linking cd /usr/lib ln -s openmotif-2.2/libXm.a third build things really went bad: ../Xlt/libXlt.a ../util/libNUtil.a -L/usr/X11R6/lib -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -lm -o nedit file.o(.text+0xfd3): In function `PrintString': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x171): In function `GetCommand': : undefined reference to `_XEditResResetStream' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x185): In function `GetCommand': : undefined reference to `_XEditResPutString8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x1c0): In function `GetCommand': : undefined reference to `_XEditResPut8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x1d4): In function `GetCommand': : undefined reference to `_XEditResPut8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x1e4): In function `GetCommand': : undefined reference to `_XEditResPut32' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x26a): In function `GetCommand': : undefined reference to `_XEditResGet8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x296): In function `GetCommand': : undefined reference to `_XEditResGet8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x2ad): In function `GetCommand': : undefined reference to `_XEditResGet32' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x2f1): In function `GetCommand': : undefined reference to `_XEditResResetStream' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x301): In function `GetCommand': : undefined reference to `_XEditResPutString8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x33c): In function `GetCommand': : undefined reference to `_XEditResPut8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x350): In function `GetCommand': : undefined reference to `_XEditResPut8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x360): In function `GetCommand': : undefined reference to `_XEditResPut32' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x384): In function `GetCommand': : undefined reference to `_XEditResGetString8' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x397): In function `GetCommand': : undefined reference to `_XEditResGet16' /usr/X11R6/lib/libXm.a(EditresCom.o)(.text+0x3c2): In function `GetCommand': : undefined reference to `_XEditResGetWidgetInfo' Reproducible: Always Steps to Reproduce: 1.emerge nedit 2. 3. Actual Results: the build fails Expected Results: build Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.8.1-co-0.6.2-pre6 i686) ================================================================= System uname: 2.6.8.1-co-0.6.2-pre6 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 17:36:46)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.5, 1.8.5-r3, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://www.gigaload.org/gentoo.org/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl acpi4linux altcolors amd ansi apache2 ared bcmath beep bitmap-fonts bzlib cdr cdrom chroot clamav cross crypt curl dvd dvdr emboss encode f77 font-server fortran ftp gd gif hardenedphp imagemagick imap imlib innodb ipv6 jpeg ldap libg++ libwww mad maildir mpeg mysql ncurses nptl offensive pam perl png postgres procmail readline samba serial session slang sockets spamassassin spell ssl tcltk tcpd tidy truetype-fonts type1-fonts xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
please run motif-config -s openmotif-2.2 (there was a bug in motif-config-0.1, you need motif-config-0.2) and use nedit-5.5