Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

configure error

Help
paulat
2007-04-30
2013-05-02
  • 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/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.

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