./configure --with-tcl=/usr/local/src/ActiveTcl-8.4/lib/tcl8.4 --with-tclinclude=/usr/local/src/ActiveTcl-8.4/include --enable-gcc
How could I get around this compiler error?
configuring Expect 5.43.0
checking for autoconf... no
checking configure up to date... yes
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking build system type... sparc-sun-solaris2.10
checking shell to use within Make...
checking for gcc... /usr/local/bin/gcc
checking whether the C compiler (/usr/local/bin/gcc ) works... yes
checking whether the C compiler (/usr/local/bin/gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/local/bin/gcc accepts -g... yes
checking for building with threads... no (default)
checking for Tcl configuration... found /usr/local/src/ActiveTcl-8.4/lib/tcl8.4/tclConfig.sh
checking Tcl build library... -L/export/home/andreask/dbn/lba.local/night/builds/solaris-sparc/tcl.inst/unix/solaris-sparc-nonthreaded -ltcl8.4 -ldl -lsocket -lnsl -lm
checking for Tcl_CreateCommand... no
checking if Tcl library build specification is valid... no
checking for Tk configuration... configure: warning: Can't find Tk configuration definitions
checking for Tk_Init... no
checking if Tk library build specification is valid... no
checking whether the compiler (/opt/SUNWspro/bin/cc) actually works... configure: error: the native compiler is broken and won't compile.
Can you compile with /opt/SUNWspro/bin/cc ? It doesn't seem to work. but I don't know why configure script use Sun compiler when gcc is specified.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.