- 论坛徽章:
- 0
|
已经CC=gcc ;export CC了,还是报一样的错误
# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = gxcc
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_118833-33
/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = gxcc
Release = 5.10
KernelID = Generic_118833-33
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2
/bin/arch = sun4
/usr/bin/arch -k = sun4u
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /etc
PATH: /usr/local/bin
PATH: /usr/ccs/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1578: checking build system type
configure:1596: result: sparc-sun-solaris2.10
configure:1604: checking host system type
configure:1618: result: sparc-sun-solaris2.10
configure:1627: checking whether make sets $(MAKE)
configure:1647: result: yes
configure:1697: checking for ranlib
configure:1713: found /usr/ccs/bin/ranlib
configure:1724: result: ranlib
configure:1749: checking for a BSD-compatible install
configure:1804: result: ./install-sh -c
configure:1823: checking for ar
configure:1841: found /usr/ccs/bin/ar
configure:1853: result: /usr/ccs/bin/ar
configure:1891: checking for etags
configure:1924: result: no
configure:1891: checking for emacs-etags
configure:1924: result: no
configure:1957: checking for perl5
configure:1990: result: no
configure:1957: checking for perl
configure:1975: found /bin/perl
configure:1987: result: /bin/perl
configure:2152: checking for gcc
configure:2178: result: gcc
configure:2422: checking for C compiler version
configure:2425: gcc --version </dev/null >&5
gcc (GCC) 3.4.6
Copyright (C) 2006 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:2428: $? = 0
configure:2430: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
configure:2433: $? = 0
configure:2435: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2438: $? = 1
configure:2461: checking for C compiler default output file name
configure:2464: gcc conftest.c >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:2467: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT "" |
|