Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118288 - dev-lang/tcl-8.4.11 fails to compile
Summary: dev-lang/tcl-8.4.11 fails to compile
Status: RESOLVED DUPLICATE of bug 117744
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 06:05 UTC by Tobias Müller
Modified: 2006-01-08 06:07 UTC (History)
0 users

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 Tobias Müller 2006-01-08 06:05:34 UTC
When trying to emerge tcl-8.4.11 it fails:


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)... ./configure: line 7624: syntax error near unexpected token `)'
./configure: line 7624: `       OSF*)'

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/tcl-8.4.11/work/tcl8.4.11/unix/config.log



mars twam # cat /var/tmp/portage/tcl-8.4.11/work/tcl8.4.11/unix/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:579: checking whether to use symlinks for manpages
configure:591: checking whether to compress the manpages
configure:614: checking whether to add a package name suffix for the manpages
configure:642: checking for gcc
configure:755: checking whether the C compiler (gcc -march=nocona -O2 -fomit-frame-pointer -pipe ) works
configure:771: gcc -o conftest -march=nocona -O2 -fomit-frame-pointer -pipe   conftest.c  1>&5
configure:797: checking whether the C compiler (gcc -march=nocona -O2 -fomit-frame-pointer -pipe ) is a cross-compiler
configure:802: checking whether we are using GNU C
configure:811: gcc -E conftest.c
configure:830: checking whether gcc accepts -g
configure:868: checking for building with threads
configure:1411: checking if the compiler understands -pipe
configure:1422: gcc -pipe -c -march=nocona -O2 -fomit-frame-pointer -pipe  conftest.c 1>&5
configure:1441: checking how to run the C preprocessor
configure:1462: gcc -pipe -E  conftest.c >/dev/null 2>conftest.out
configure:1529: checking for sin
configure:1557: gcc -pipe -o conftest -march=nocona -O2 -fomit-frame-pointer -pipe   conftest.c  1>&5
configure:1541: warning: conflicting types for built-in function 'sin'
/var/tmp/portage/tcl-8.4.11/temp/ccShHKrG.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `sin'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1534 "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:1578: checking for main in -lieee
configure:1593: gcc -pipe -o conftest -march=nocona -O2 -fomit-frame-pointer -pipe   conftest.c -lieee   1>&5
configure:1620: checking for main in -linet
configure:1635: gcc -pipe -o conftest -march=nocona -O2 -fomit-frame-pointer -pipe   conftest.c -linet   1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -linet
collect2: ld returned 1 exit status
configure: failed program was:
#line 1628 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:1657: checking for net/errno.h
configure:1667: gcc -pipe -E  conftest.c >/dev/null 2>conftest.out
configure:1663:23: net/errno.h: No such file or directory
configure: failed program was:
#line 1662 "configure"
#include "confdefs.h"
#include <net/errno.h>
configure:1712: checking for connect
configure:1740: gcc -pipe -o conftest -march=nocona -O2 -fomit-frame-pointer -pipe   conftest.c  1>&5
configure:1905: checking for gethostbyname
configure:1933: gcc -pipe -o conftest -march=nocona -O2 -fomit-frame-pointer -pipe   conftest.c  1>&5
configure:2006: checking how to build libraries
configure:2045: checking for ranlib
configure:2077: checking if 64bit support is requested
configure:2097: checking if 64bit Sparc VIS support is requested
configure:2121: checking system version (for dynamic loading)


Error occurs everytime, when i try to compile it!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-08 06:07:00 UTC

*** This bug has been marked as a duplicate of 117744 ***