[unixODBC-support] configure problem on solaris 9

gsturm (sent by Nabble.com) lists at nabble.com
Thu Nov 24 12:57:13 GMT 2005


I am trying to install unixODBC as user root and got a problem during configure:

Environment:
SunOS an-sol-t01 5.9 Generic_118558-02 sun4u sparc SUNW,Sun-Fire-V240
gcc version 3.3.2
unixODBC-2.2.11

./configure --enable-gui=no --enable-drivers=no
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for bison... no
checking for byacc... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

--------------------config.log--------------------------------------
.
.
.
configure:1547: checking for a BSD-compatible install
configure:1602: result: ./install-sh -c
configure:1613: checking whether build environment is sane
configure:1656: result: yes
configure:1689: checking for gawk
configure:1718: result: no
configure:1689: checking for mawk
configure:1718: result: no
configure:1689: checking for nawk
configure:1705: found /usr/bin/nawk
configure:1715: result: nawk
configure:1725: checking whether make sets $(MAKE)
configure:1745: result: yes
configure:1895: checking for gawk
configure:1921: result: nawk
configure:1935: checking for bison
configure:1964: result: no
configure:1935: checking for byacc
configure:1964: result: no
configure:2018: checking for gcc
configure:2034: found /usr/local/bin/gcc
configure:2044: result: gcc
configure:2288: checking for C compiler version
configure:2291: gcc --version &5
gcc (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2294: $? = 0
configure:2296: gcc -v &5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2
configure:2299: $? = 0
configure:2301: gcc -V &5
gcc: `-V' option must have argument
configure:2304: $? = 1
configure:2327: checking for C compiler default output file name
configure:2330: gcc    conftest.c  >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:2333: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "unixODBC"
| #define VERSION "2.2.11"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2372: error: C compiler cannot create executables
See `config.log' for more details.
.
.
.
---------------------------------end config.log---------------------------------

Can anyone advise me how to configure? 

Thanks
Günther

--
Sent from the unixODBC - Support forum at Nabble.com:
http://www.nabble.com/configure-problem-on-solaris-9-t611517.html#a1634064
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20051124/c026b96c/attachment.html>


More information about the unixODBC-support mailing list