Menu

#2531 -inet and -ieee configure incorrectly on AIX

obsolete: 8.4.4
closed-wont-fix
5
2007-02-24
2003-11-13
No

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

Discussion

  • Mo DeJong

    Mo DeJong - 2004-09-23

    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?

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2007-02-09

    Logged In: YES
    user_id=72656
    Originator: NO

    this doesn't effect actual functionality, so it's not an issue.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2007-02-09
    • status: open --> pending-wont-fix
     
  • SourceForge Robot

    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).

     
  • SourceForge Robot

    • status: pending-wont-fix --> closed-wont-fix