- 论坛徽章:
- 0
|
我是这样做的
下载以下软件
gcc-3.3.2-sol10-intel-local.gz
bison-1.875d-sol10-intel-local.gz
flex-2.5.4a-sol10-intel-local.gz
php-5.0.3.tar.gz
#gunzip -d gcc*
#pkgadd -d gcc*
#gunzip -d bison*
#pkgadd -d bison*
#gunzip -d flex*
#pkgadd -d flex*
#vi /etc/profile
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/etc;
export PATH
#gunzip -d php*
#tar -xvf php*
#cd php-5.0.3
#./configure --prefix=/usr/php5
...
...
...
#make
...
...
In file included from /usr/include/sys/wait.h:24,
from /php-5.0.3/ext/standard/exec.c:33:
/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'
...
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from /php-5.0.3/ext/standard/exec.c:33:
...parse error...
...parse error...
* * * Error code 1
make: Fatal error :Command failed for target 'exec/standard/exec.lo'
#
请问这是我的 make 问题 还是 gcc 问题
如何解决呢?
或者告诉我从哪里下手啊 |
|