Chinaunix

标题: apache2.0.43 编译失败,请指教 [打印本页]

作者: vincentzj    时间: 2003-01-16 10:34
标题: apache2.0.43 编译失败,请指教
本人使用的是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

请问是什么地方有问题?谢谢
作者: 南非蜘蛛    时间: 2003-01-16 12:33
标题: apache2.0.43 编译失败,请指教
原帖由 "vincentzj"]rsive 发表:
Error 1

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

在这个apache源文件目录下输入
gcc -v
make -v
echo $PATH
然后贴出来结果
作者: vincentzj    时间: 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
#
作者: 南非蜘蛛    时间: 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




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2