Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Problems with configure on Solaris

Closed / Invalid684675ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-02-11 15:58:32
Tcl Version: 8.0.5 - 8.3.5
OS: Solaris 2.5-2.8
Problem Behaviour:

1. the configure script does not recognize the time zone 
handling and the resulting makefile won't compile 
tclUnixTime.c
2. the configure script does not recognize the need of the 
libraries libsocket.a and libnsl.a and the resulting makefile 
won't link the tcl shell
3. the configure script uses $(CC) or ${CC} instead of 
$(cc) or ${cc} and the resulting makefile won't compile 
anything, because the compiler CC stops right with the first 
file 'regcomp.c'

Expected Behaviour:

1. the configure script should include the symbol 
HAVE_TIMEZONE_VAR
2. the configure script should recognize the network 
libraries libsocket.a and libnsl.a
3. the configure script should always use the C compiler not 
the C++ compiler as long tcl is C not C++
dkfplain2003-02-11 23:16:05
Logged In: YES 
user_id=79902

It always worked for me back when I used Solaris2.8 and
earlier, both with gcc and the SunPro cc, and it found the
libraries required.

And it is a Well Known Fact that the name of the C compiler
should be stored in the environment variable $CC not $cc and
this has been the same across many build environments on
many platforms for many years.

Does 8.4.* have the same problem?  If so, kindly supply more
background details.  If not, kindly upgrade!
Log in (anonymous is fine) to add a comment.