Ticket UUID: | 713128 | |||
Title: | unix/configure fails on SuSE 7.3 | |||
Type: | Bug | Version: | obsolete: 8.5a0 | |
Submitter: | dgp | Created on: | 2003-04-01 05:41:30 | |
Subsystem: | 53. Configuration and Build Tools | Assigned To: | mdejong | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2003-04-02 13:54:38 | |
Resolution: | Fixed | Closed By: | mdejong | |
Closed on: | 2003-04-02 06:54:38 | |||
Description: |
Presumably related to the change to a configure script created by autoconf-2.57. On my SuSE Linux 7.3 system (x86), I see: $ cd tcl/unix $ ./configure ... checking system version (for dynamic loading)... Linux-2.4.10-4GB checking for dlopen in -ldl... no checking for ar... ar checking dld.h usability... no checking dld.h presence... no checking for dld.h... no Can't figure out how to do dynamic loading or shared libraries on this system. ... The resulting Makefile cannot build tclsh (linker complains about -lsocket) and then a `make clean` blows away all files in tcl/unix/dltest (because SHLIB_SUFFIX is the empty string) Contrast with output from the autoconf-2.13 generated tcl8.4/unix/configure script: $ cd tcl8.4/unix $ ./configure ... checking system version (for dynamic loading)... Linux-2.4.10-4GB checking for dlopen in -ldl... yes ... which builds and tests fine. | |||
User Comments: |
mdejong added on 2003-04-02 13:54:38:
Logged In: YES user_id=90858 Fixed by moving the test into the BeOS block. Just an FYI, you can't downgrade to autoconf 2.52, I know it seems easier but the all the configure scripts need to be generated with the same version of autoconf, and 2.57 is the current release. dgp added on 2003-04-01 13:27:33: File Added - 46444: 713128.patch Logged In: YES user_id=80530 This patch fixes the problems I'm having. I suspect it will break things on BeOS, since it was the BeOS support patch that broke things for me. dgp added on 2003-04-01 12:52:50: Logged In: YES user_id=80530 relevant lines from config.log: configure:10596: checking system version (for dynamic loading) configure:10616: result: Linux-2.4.10-4GB configure:10624: checking for dlopen in -ldl configure:10655: gcc -pipe -o conftest conftest.c -ldl -lbind -lsocket >&5 /usr/i486-suse-linux/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status configure:10658: $? = 1 configure: failed program was: ... so the root of the problem is an attempt to link against a -lsocket library that does not exist. |
Attachments:
- 713128.patch [download] added by dgp on 2003-04-01 13:27:33. [details]