免费注册 查看新帖 |

Chinaunix

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

[Web] apache2.0.43 编译失败,请指教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-16 10:34 |只看该作者 |倒序浏览
本人使用的是gcc 2.95.2 make也是gnu下载的
从apache.org下载了apache2.0.43的src,
./configure --prefix=/usr/local/apache2 --enable-shared=max
结果
In file included from /usr/include/sys/pri.h:29,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:52,
                 from /usr/include/pthread.h:43,
                 from ../../include/apr_portable.h:90,
                 from dir.c:57:
/usr/include/sys/proc.h:203: parse error before `crid_t'
/usr/include/sys/proc.h:203: warning: no semicolon at end of struct or union
/usr/include/sys/proc.h:212: parse error before `p_class'
/usr/include/sys/proc.h:212: warning: data definition has no type or storage class
/usr/include/sys/proc.h:355: parse error before `}'
make[4]: *** [dir.lo] Error 1
make[4]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib/apr/file_io/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib/apr/file_io/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/zoujian/installation/apache_inst/httpd-2.0.43/srclib'
make: *** [all-recursive] Error 1

请问是什么地方有问题?谢谢

论坛徽章:
0
2 [报告]
发表于 2003-01-16 12:33 |只看该作者

apache2.0.43 编译失败,请指教

原帖由 "vincentzj"]rsive 发表:
Error 1

请问是什么地方有问题?谢谢

在这个apache源文件目录下输入
gcc -v
make -v
echo $PATH
然后贴出来结果

论坛徽章:
0
3 [报告]
发表于 2003-01-16 13:47 |只看该作者

apache2.0.43 编译失败,请指教

蜘蛛
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/specs
gcc version 2.95.2 19991024 (release)

# make -v
GNU Make 3.80
Copyright (C) 2002  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.

# echo $PATH
/usr/java131/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/dt/bin:/usr/bin/X11:/sbin:/zoujian/usr/local/bin:/var/ifor:/home/stoddard/apache/httpd-2.0.39/bindist/bin:/usr/local/tomcat4118/bin:/usr/local/bin:/zoujian/usr/jakarta-ant-1.5.1/bin
#

论坛徽章:
0
4 [报告]
发表于 2003-01-16 13:54 |只看该作者

apache2.0.43 编译失败,请指教

原帖由 "vincentzj" 发表:
蜘蛛
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/specs
gcc version 2.95.2 19991024 (release)

# make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Found..........

先找找那几个有问题的*lo文件,然后把他们的路径用下面的命令输出
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP