configure error

  • paulat

    paulat - 2007-04-30

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

    • Tiric

      Tiric - 2009-07-30

      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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks