Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306853 - dev-tcltk/expect-5.43.0 can't find tcl headers
Summary: dev-tcltk/expect-5.43.0 can't find tcl headers
Status: RESOLVED DUPLICATE of bug 280934
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-25 19:18 UTC by Andrew John Hughes
Modified: 2010-08-10 14:36 UTC (History)
1 user (show)

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 Andrew John Hughes 2010-02-25 19:18:37 UTC
checking for Tcl private headers... configure: error: /usr/lib/tcl/include directory doesn't contain private headers

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-tcltk/expect-5.43.0/work/expect-5.43/config.log
 * ERROR: dev-tcltk/expect-5.43.0 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 3112:  Called econf '--with-tcl=/usr/lib' '--with-tclinclude=/usr/lib/tcl/include' '--with-tk=/usr/lib' '--enable-shared'

With tcl 8.5.8

Reproducible: Always




Portage 2.2_rc63 (default/linux/powerpc/ppc64/10.0/32bit-userland/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.31-gentoo-r6.omega ppc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6.omega-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Thu, 25 Feb 2010 02:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="@FSF-APPROVED-EXT @X11-LICENSES @PRESUMED-FOSS @CREATIVE-COMMONS adobe-ps freedist"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/ppc64 /usr/local/portage/xmmsroot2_overlay /var/lib/layman/kde-sunset"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl addbookmarks alias alsa altivec asf autoreplace avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cli connectionstatus consolekit contactnotes cracklib crypt cups curl cvs cxx daap dbus dga dia dirac djvu dri dts dv dvd dvdnav dvdr dvdread dvi eds effects emacs emboss emf encode evo examples exif fam fame ffmpeg fftw firefox flac fortran fping gcc64 gcj gdbm gif gimp git gmp gnome gnome-keyring gnutls gpac gpgme gphoto2 gpm gstreamer gtk hal hfs highlight history iconv id3tag idn ieee1394 imagemagick imap imlib ipod ipv6 irc jack java java5 javascript jingle jpeg jpeg2k kde kerberos ladspa lame lapack latex lcms libnotify live lzma lzo mad matroska mbox mikmod mjpeg mmap mng modules mp2 mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses netmeeting network nls nntp nowlistening nptl nptlonly nsplugin ogg openal openexr opengl openmp optimisememory oss pam pcre pdf perl pidgin plotutils png pnm policykit pop postscript ppc ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection rtc sasl scanner schroedinger sdl session shout slp smime smp sms smtp snmp sox speex spell spl sqlite ssl startup-notification statistics stream subtitles subversion svg sysfs syslog t1lib tcpd tetex texteffect tga theora threads thunar tiff translator truetype twolame unicode usb v4l2 vcd visualization vorbis vram webkit webpresence wifi wmf x264 xattr xchattext xcomposite xine xinerama xml xmmsroot2 xorg xscreensaver xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nv fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-25 20:38:46 UTC
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-tcltk/expect-5.43.0/work/expect-5.43/config.log

Where is it?
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2010-03-06 17:12:15 UTC
Its a dupe of 280934
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2010-03-06 17:12:23 UTC

*** This bug has been marked as a duplicate of bug 280934 ***
Comment 4 Bill Martin 2010-04-14 21:31:36 UTC
Hi, this happens to me too on x86, so the other bug doesn't seem to be the problem. This happens on 8.5.7 as well, just fyi.

# equery l tcl
[ Searching for package 'tcl' in all categories among: ]
 * installed packages
[I--] [ ~] dev-lang/tcl-8.5.8 (0)

checking for Tcl private headers... configure: error: /usr/lib/tcl/include directory doesn't contain private headers

# ls -l  /usr/lib/tcl/include
ls: cannot access /usr/lib/tcl/include: No such file or directory

^^ that seems to be the crux of the issue... emerge --info and config log follow:

# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31.6 i686)
=================================================================
System uname: Linux-2.6.31.6-i686-Intel-R-_Celeron-R-_D_CPU_3.20GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 14 Apr 2010 07:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mno-tls-direct-seg-refs -O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="acl apache2 bash-completion berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="itk" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

# cat /var/tmp/portage/dev-tcltk/expect-5.43.0/work/expect-5.43/config.log
This file contains any messages produced by compilers while                                 
running configure, to aid debugging if configure makes a mistake.                           

configure:566: checking for autoconf
configure:594: checking configure up to date
configure:655: checking host system type    
configure:676: checking target system type  
configure:694: checking build system type   
configure:724: checking shell to use within Make
configure:758: checking for gcc                 
configure:871: checking whether the C compiler (gcc -mno-tls-direct-seg-refs -O2 -march=i686 -pipe -Wl,-O1) works
configure:887: gcc -o conftest -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  -Wl,-O1 conftest.c  1>&5          
configure:913: checking whether the C compiler (gcc -mno-tls-direct-seg-refs -O2 -march=i686 -pipe -Wl,-O1) is a cross-compiler
configure:918: checking whether we are using GNU C                                                                             
configure:927: gcc -E conftest.c                                                                                               
configure:946: checking whether gcc accepts -g                                                                                 
configure:986: checking for building with threads                                                                              
configure:1039: checking for Tcl configuration                                                                                 
configure:1132: checking Tcl build library                                                                                     
configure:1136: checking for Tcl_CreateCommand                                                                                 
configure:1164: gcc -o conftest -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  -Wl,-O1 conftest.c -L$/usr/lib -ltcl8.5 -ldl  -lieee -lm 1>&5
configure:1180: checking if Tcl library build specification is valid                                                                         
configure:1222: checking for Tk configuration                                                                                                
configure:1311: checking for Tk_Init                                                                                                         
configure:1339: i686-pc-linux-gnu-gcc -o conftest -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  -Wl,-O1 conftest.c  -L$/usr/lib -ltcl8.5  1>&5
/var/tmp/portage/dev-tcltk/expect-5.43.0/temp/ccGUoxSC.o: In function `main':                                                                   
conftest.c:(.text+0x12): undefined reference to `Tk_Init'                                                                                       
collect2: ld returned 1 exit status                                                                                                             
configure: failed program was:                                                                                                                  
#line 1316 "configure"                                                                                                                          
#include "confdefs.h"                                                                                                                           
/* System header to define __stub macros and hopefully few prototypes,                                                                          
    which can conflict with char Tk_Init(); below.  */                                                                                          
#include <assert.h>                                                                                                                             
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char Tk_Init();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_Tk_Init) || defined (__stub___Tk_Init)
choke me
#else
Tk_Init();
#endif

; return 0; }
configure:1365: checking if Tk library build specification is valid
configure:1380: checking whether the compiler (i686-pc-linux-gnu-gcc) actually works
configure:1389: i686-pc-linux-gnu-gcc -c -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  conftest.c 1>&5
configure:1408: i686-pc-linux-gnu-gcc -o conftest -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  -Wl,-O1 conftest.c  1>&5
configure:1442: checking for a BSD compatible install
configure:1499: checking for ranlib
configure:1539: checking how to run the C preprocessor
configure:1560: i686-pc-linux-gnu-gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1620: checking if running LynxOS
configure:1696: checking for ANSI C header files
configure:1709: i686-pc-linux-gnu-gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1776: i686-pc-linux-gnu-gcc -o conftest -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  -Wl,-O1 conftest.c  1>&5
configure: In function 'main':
configure:1771: warning: incompatible implicit declaration of built-in function 'exit'
configure:1800: checking for pid_t
configure:1833: checking return type of signal handlers
configure:1855: i686-pc-linux-gnu-gcc -c -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  conftest.c 1>&5
configure:1874: checking whether time.h and sys/time.h may both be included
configure:1888: i686-pc-linux-gnu-gcc -c -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  conftest.c 1>&5
configure:1909: checking for sys/wait.h that is POSIX.1 compatible
configure:1930: i686-pc-linux-gnu-gcc -c -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  conftest.c 1>&5
configure:1972: checking if running Mach
configure:1988: checking if running MachTen
configure:1998: checking if on Pyramid
configure:2008: checking if on Apollo
configure:2018: checking if on Interactive
configure:2028: checking stty to use
configure:2041: checking if stty reads stdout
configure:2097: checking if running Solaris
configure:2117: checking for sin
configure:2145: i686-pc-linux-gnu-gcc -o conftest -mno-tls-direct-seg-refs -O2 -march=i686 -pipe  -Wl,-O1 conftest.c  1>&5
configure:2129: warning: conflicting types for built-in function 'sin'
/var/tmp/portage/dev-tcltk/expect-5.43.0/temp/ccxhJ2k2.o: In function `main':
conftest.c:(.text+0x12): undefined reference to `sin'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2122 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sin(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sin();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sin) || defined (__stub___sin)
choke me
#else
sin();
#endif

; return 0; }
configure:2243: checking for Tcl private headers
Comment 5 Bill Martin 2010-04-15 20:24:09 UTC
Here was my workaround to get it installed:

cd /usr/lib
mkdir tcl
cd tcl
ln -s /usr/lib/tcl8.5/include/generic/ include

now it works:

checking for Tcl private headers... found in /usr/lib/tcl/include
Comment 6 Bill Martin 2010-04-15 20:26:33 UTC
(In reply to comment #5)

Belay my last, this gets past the configure, but still fails on the build.


> Here was my workaround to get it installed:
> 
> cd /usr/lib
> mkdir tcl
> cd tcl
> ln -s /usr/lib/tcl8.5/include/generic/ include
> 
> now it works:
> 
> checking for Tcl private headers... found in /usr/lib/tcl/include
>