Hello,

I have tcl-8.4.3 emerged from portage with out a problem, however when I try to emerge tk-8.4.3 I get this error:

In file included from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tkArgv.c:16:
/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/tkUnixPort.h:224:20: tclInt.h: No such file or directory

The file tclInt.h is alive and well at /usr/lib/tcl8.4/include/generic/tclInt.h

What have I missed?

Here is the full emerge output:

emerge tk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/tk-8.4.3 to /
>>> md5 src_uri ;-) tk8.4.3-src.tar.gz
>>> Unpacking source...
>>> Unpacking tk8.4.3-src.tar.gz to /var/tmp/portage/tk-8.4.3/work
* Applying remove-control-v-8.4.diff...                                                                                                                 [ ok ]>>> Source unpacked.
creating cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon -O3 -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon -O3 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for building with threads... yes
checking for pthread_mutex_init in -lpthread... yes
checking for pthread_attr_setstacksize... yes
checking for readdir_r... yes
checking if the compiler understands -pipe... yes
checking for required early compiler flags...  _LARGEFILE64_SOURCE
checking for 64-bit integer type... long long
checking for struct dirent64... no
checking for struct stat64... yes
checking for off64_t... yes
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking how to build libraries... shared
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.4.22-pre7-aa1
checking for dlopen in -ldl... yes
checking for ar... ar
checking for build with symbols... no
checking for sin... no
checking for main in -lieee... yes
checking stdlib.h... yes
checking fd_set and sys/select... yes
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking pw_gecos in struct pwd... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for main in -lXbsd... no
checking for connect... yes
checking for gethostbyname... yes
checking for sin... (cached) no
checking for main in -lieee... (cached) yes
checking whether char is unsigned... no
checking for strtod... yes
checking for Solaris2.4/Tru64 strtod bugs... ok
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tkConfig.sh
gcc -pipe -c -march=athlon -O3 -pipe -Wall -Wconversion -Wno-implicit-int -fPIC -I/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix -I/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/../generic -I/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/../bitmaps -I/var/tmp/portage/tcl-8.4.3/work/tcl8.4.3/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DPEEK_XCLOSEIM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS  /var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/../generic/tk3d.c
gcc -pipe -c -march=athlon -O3 -pipe -Wall -Wconversion -Wno-implicit-int -fPIC -I/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix -I/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/../generic -I/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/../bitmaps -I/var/tmp/portage/tcl-8.4.3/work/tcl8.4.3/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DPEEK_XCLOSEIM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS  /var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/../generic/tkArgv.c
In file included from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tkInt.h:27,
                 from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tk3d.h:18,
                 from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tk3d.c:16:
/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/tkUnixPort.h:224:20: tclInt.h: No such file or directory
In file included from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.3/work/tk8.4.3/generic/tkArgv.c:16:
/var/tmp/portage/tk-8.4.3/work/tk8.4.3/unix/tkUnixPort.h:224:20: tclInt.h: No such file or directory
make: *** [tkArgv.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [tk3d.o] Error 1

!!! ERROR: dev-lang/tk-8.4.3 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)

Reply via email to