Skip to content
Tcl Source Code View Ticket
Login

View Ticket

-inet and -ieee configure incorrectly on AIX

Closed / Wont Fix841811ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 20 years ago
Descriptionplain2003-11-13 23:17:34
After performing a configure, the build attempts to link 
against inet and ieee regardless of the failure to find "main" 
in those libraries:

checking for main in -lieee... no
checking for main in -linet... no

As the AIX 5.1 system does not have autoconf installed, I 
could not regenerate a different configure script.  I did, 
however, locate the offending sections in the configure script 
and was able to get everything to build and link properly by 
simply commenting out the line where -linet is appended and 
by modifing the line that appends -lieee to append -lm 
instead.

This was necessary for both the tcl and tk unix/configure 
scripts that were included in 8.4.4, as well as in 8.4.2.

Cheers!
Sean
mdejongplain2004-09-24 03:28:22
Logged In: YES 
user_id=90858

The only place that dealt with this in the configure scripts
seemed to be
in tcl.m4.

    AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
    AC_CHECK_LIB(inet, main, [LIBS="$LIBS -linet"])

It seems like you are saying these macros are linking in -linet
even though it was not found. I am not sure how that could be.
Could you try to build Tcl from the current CVS sources and
attach the output of config.log if there is a problem?
hobbsplain2007-02-10 01:44:10
Logged In: YES 
user_id=72656
Originator: NO

this doesn't effect actual functionality, so it's not an issue.
sf-robotplain2007-02-24 10:20:11
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.