[Web] 编译apache时出现的问题,帮我看看,急啊在线等!

weixin_38050362 weixin_38050362 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

solaris8,我gcc装在/usr/local/bin下,我把原来的cc删掉了,重新建了一个cc连接到gcc,在编译apache是出现如下问题:
bash-2.05# ./configure --prefix=/usr/locla/apache --enable-module=so
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Solaris 280 platform
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
cd ..; gcc -DSOLARIS2=280 -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o helpers/dummy helpers/dummy.c -lsocket -lnsl -lpthread
gcc: installation problem, cannot exec `as': No such file or directory
make: *** [dummy] Error 1
============= End of Error Report =============

Aborting!
bash-2.05#
是怎么回事啊???
...全文

相关推荐

评论
收藏 已收藏
分享
返回顶部