Overview
| Artifact ID: | 700a2499857d3c0fb9c30cf5c4d7243e1b5647ff |
|---|---|
| Ticket: | 600931ffffffffffffffffffffffffffffffffff
socklen_t not set from config.cache |
| User & Date: | ellson on 2002-08-27 19:07:57 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed to:
On solaris, and some other unices, the following sequence will fail to build the shared executables because socklen_t is undefined: ./configure make ./configure make clean # or just "rm tclIOSock.o" make The problem is that the second ./configure is not correctly getting the cached result from the first ./configure The fix is: --- configure.in.orig 2002-08-27 14:12:27.000000000 -0400 +++ configure.in 2002-08-27 14:45:15.000000000 -0400 @@ -277,11 +277,11 @@ #include <stdlib.h> #include <stddef.h> #endif], ac_cv_type_socklen_t=yes, ac_cv_type_socklen_t=no) +]) AC_MSG_RESULT($ac_cv_type_socklen_t) if test $ac_cv_type_socklen_t = no; then AC_DEFINE(socklen_t, unsigned) fi -]) #-------------------------------------------------------------------- # If a system doesn't have an opendir function (man, that's old!) - foundin changed to: "obsolete: 8.4b3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "ellson"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "socklen_t not set from config.cache"
- type changed to: "Bug"