- 论坛徽章:
- 0
|
环境 sunfire240v, solaris 10, gcc 3.4.6, make 3.81, cc 5.3
为了方便编译 apache, 只设置路径寻找gcc 和 make , 没有把 cc 路径加入。
编译时候用了下边的命令#./configure --enable-modules=ssl --with-ssl=/usr/local/ssl --enable-so
给出如下错误
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
Configuring Apache Portable Runtime library ...
checking for APR... yes
setting CC to "cc"
setting CPP to "cc -E"
setting CFLAGS to " -g"
setting CPPFLAGS to " -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE"
setting LDFLAGS to " "
Configuring Apache Portable Runtime Utility library...
checking for APR-util... yes
adding "-L/usr/local/apache2/lib" to LDFLAGS
checking for gcc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
可以我已经把cc 从路径中移走, 为什么还去调用 cc, 大家有什么一个帮助的么?我编译的apache 是2.2.3
而且在另外一台solaris 10上边没有安装 cc,只有gcc的, 编译完全没有问题
[ 本帖最后由 kyle_si 于 2006-12-1 05:09 编辑 ] |
|