免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1588 | 回复: 8
打印 上一主题 下一主题

solaris 10安装apache出现的问题, [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-04 13:01 |只看该作者 |倒序浏览
bash-3.00# ./configure --prefix=/export/home/httpd --enable-module=so  --enable-rule=SHARED_CORE

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
Configuring APR library
Platform: i386-pc-solaris2.10
checking for working mkdir -p... yes
APR Version: 0.9.7
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr

论坛徽章:
0
2 [报告]
发表于 2006-04-04 13:02 |只看该作者
gcc-3.3.2-sol10-intel-local 这个GCC文件是如何安装的?

论坛徽章:
0
3 [报告]
发表于 2006-04-04 14:24 |只看该作者
是pkg的包吗?
pkgadd

论坛徽章:
0
4 [报告]
发表于 2006-04-04 16:30 |只看该作者
bash-3.00# ./configure --prefix=/export/home/httpd --enable-module=so  --enable-rule=SHARED_CORE

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
Configuring APR library
Platform: i386-pc-solaris2.10
checking for working mkdir -p... yes
APR Version: 0.9.7
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr

这个问题是为什么呢?
我都装了GCC包了.

论坛徽章:
0
5 [报告]
发表于 2006-04-05 19:53 |只看该作者
有人遇过这种情况吗?

论坛徽章:
0
6 [报告]
发表于 2006-04-06 08:18 |只看该作者
如果GCC已经装好了,就是PATH没有设置

论坛徽章:
0
7 [报告]
发表于 2006-04-06 10:41 |只看该作者
在PATH当中增加安装gcc的路径

论坛徽章:
0
8 [报告]
发表于 2006-04-10 15:52 |只看该作者
在PATH当中增加安装gcc的路径 ?
如果操作呢?请详细一点吗?
vi /etc/profile   ?

论坛徽章:
0
9 [报告]
发表于 2006-04-10 15:53 |只看该作者
bash-3.00# make
gcc -c -I. -I.  -D__EXTENSIONS__ -O2 -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  check.c
In file included from /usr/include/sys/wait.h:24,
                 from /usr/include/stdlib.h:22,
                 from check.c:43:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:22,
                 from check.c:43:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/include/stdlib.h:22,
                 from check.c:43:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
In file included from check.c:62:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make: *** [check.o] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP