I have tied to emrge the above package and get: >>> Emerging (1 of 1) dev-tcltk/snack-2.2.10-r1 * snack2.2.10.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking snack2.2.10.tar.gz to /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work >>> Source unpacked in /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work >>> Compiling source in /var/tmp/portage/dev-tcltk/snack-2.2.10-r1/work/snack2.2.10/unix ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --includedir=/usr/include --enable-alsa --enable-threads --with-ogg-include=/usr/include --with-ogg-lib=/usr/lib64 checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions make -j3 make: *** No targets specified and no makefile found. Stop. * * ERROR: dev-tcltk/snack-2.2.10-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2275: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tcltk/snack-2.2.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/snack-2.2.10-r1/temp/environment'. * As you see the configure scipt was unable to find the tcl and tk configure script. the problem was with the part of ebuild: if use vorbis ; then myconf="${myconf} --with-ogg-include=/usr/include" myconf="${myconf} --with-ogg-lib=/usr/$(get_libdir)" fi I changed to if use vorbis ; then myconf="${myconf} --with-ogg-include=/usr/include" myconf="${myconf} --with-ogg-lib=/usr/$(get_libdir) --with-tcl=/usr/$(get_libdir) --with-tk=/usr/$(get_libdir)" fi and now it works. Reproducible: Always
Could you include your 'emerge --info' output.
Created attachment 199998 [details] emerge --info
Thanks for reporting this problem and your solution! Assigning to maintainers.
Can't reproduce here. Which version of tcl?
wich arch do you use? It must be an amd64 specific problem. The configure script is wrong. Despite you define the --libdir it doesn't look in the --libdir but in predefined locations is /usr/lib/ /usr/local/lib etc. It doesn't look in /usr/lib64 where it could be found at an amd64 system.
It is an amd64 specific problem.
do you have the lib symlink? what's the output of ls -ld /usr/lib* ?
drwxr-xr-x 30 lory users 4096 2009-08-07 07:45 /usr/lib drwxr-xr-x 21 root root 32768 2009-08-07 07:45 /usr/lib32 drwxr-xr-x 165 root root 229376 2009-08-07 09:03 /usr/lib64 drwxr-xr-x 11 root root 4096 2009-08-07 08:10 /usr/libexec the /usr/lib is not a symlink to /usr/lib64. However, maybe it could be a symlink - I didn't see any thing other than symlinks here. But when I installed the system (about four years ago) it was an different directory.
I was wrong. There are subdirectories e.g. /usr/lib/bcc wich belongs to sys-devel/dev86 and installs here.
Not in tree anymore