"emerge nam" depends on dev-tcltk/otcl. I have both in /etc/portage/package.keywords to bring in the ~x86 versions. So as of this writing, it is attempting to emerge dev-tcltk/otcl-1.9. I haven't tried to build this directly from the source tarball, but here's what happens during the emerge: ------------------------------------------------------------------------------- DreamGate root # emerge -v nam Calculating dependencies ...done! >>> emerge (1 of 5) dev-tcltk/otcl-1.9 to / >>> md5 files ;-) otcl-1.8-r3.ebuild >>> md5 files ;-) otcl-1.8-r2.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) otcl-1.8-r1.ebuild >>> md5 files ;-) otcl-1.9.ebuild >>> md5 files ;-) files/digest-otcl-1.8-r1 >>> md5 files ;-) files/digest-otcl-1.8-r2 >>> md5 files ;-) files/digest-otcl-1.8-r3 >>> md5 files ;-) files/otcl-1.8-badfreefix.patch >>> md5 files ;-) files/digest-otcl-1.9 >>> md5 src_uri ;-) otcl-1.9.tar.gz >>> Unpacking source... >>> Unpacking otcl-1.9.tar.gz to /var/tmp/portage/otcl-1.9/work * Applying otcl-1.8-badfreefix.patch ... [ ok ] Remember to add `AC_PROG_LIBTOOL' to `configure.in'. Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. >>> Source unpacked. * econf: updating otcl-1.9/config.sub with /usr/share/gnuconfig/config.sub cp: `/usr/share/gnuconfig/config.sub' and `/var/tmp/portage/otcl-1.9/work/otcl-1.9/config.sub' are the same file ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-tcl-ver=8.4 --with-tk-ver=8.4 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for main in -lXbsd... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dcgettext in -lintl... no checking for getnodebyname in -ldnet_stub... no checking standard STL is available... no checking for tcl.h... -I/usr/include checking for libtcl8.4... -L/usr/lib -ltcl8.4 checking for init.tcl... /usr/lib/tcl8.4 checking for tclsh8.4... /usr/bin/tclsh8.4 checking for tk.h... -I/usr/include checking for libtk8.4... -L/usr/lib -ltk8.4 checking for tk.tcl... /usr/lib/tk8.4 checking for X11 header files checking for X11 library archive checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for a BSD-compatible install... /bin/install -c checking system version (for dynamic loading)... Linux-2.6.11-gentoo-r6 No explicit static compilation flag; setting V_STATIC to "" checking for dlopen in -ldl... yes checking for a BSD-compatible install... /bin/install -c configure: creating ./config.status config.status: creating Makefile creating ./gen creating ./bin rm -f libotcl.a otcl.o i686-pc-linux-gnu-gcc -c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -I/usr/lib/tcl8.4/include/generic -DNDEBUG -DUSE_SHM -I. -I/usr/include -I/usr/include -I/include otcl.c rm -f libotcl.so otcl.o so_locations i686-pc-linux-gnu-gcc -c -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -I/usr/lib/tcl8.4/include/generic -DNDEBUG -DUSE_SHM -fpic -I. -I/usr/include -I/usr/include -I/include otcl.c ar cq libotcl.a otcl.o i686-pc-linux-gnu-ranlib libotcl.a rm -f libotcl.so i686-pc-linux-gnu-gcc -o otclsh -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -I/usr/lib/tcl8.4/include/generic -I. -I/usr/include -I/usr/include -I/include otclAppInit.c otcl.c \ -L. -lotcl -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -lXext -lX11 -lnsl -ldl -lm ld -shared -o libotcl.so otcl.o rm -f libotcl.so i686-pc-linux-gnu-gcc -o owish -O2 -march=athlon-tbird -pipe -fomit-frame-pointer -I/usr/lib/tcl8.4/include/generic -I. -I/usr/include -I/usr/include -I/include otkAppInit.c otcl.c \ -L. -lotcl -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -lXext -lX11 -lnsl -ldl -lm ./libotcl.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make: *** [otclsh] Error 1 make: *** Waiting for unfinished jobs.... ./libotcl.a: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status make: *** [owish] Error 1 !!! ERROR: dev-tcltk/otcl-1.9 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! emake all failed !!! If you need support, post the topmost build error, NOT this status message. ------------------------------------------------------------------------------ This (setting all the dependencies in /etc/portage/package.keywords and emerging nam) used to work; it's been a few months since I did it, so I don't remember what versions the packages were at the time.
Perhaps It is parallel make problem. Fixed in cvs.
Yes ... "MAKEOPTS="-j1" emerge otcl" worked!! Thanks!!