Strader, William A.
2008-01-28 20:10:27 UTC
OK I am attempting to install PHP 5.2.5 on a new system here is what I
have:
SunOS server1 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V210
Here is the GCC version:
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
now when I run the ./configure I am doing a :
./configure --prefix=/opt/local/stow/php-5.2.5
--with-apxs2=/usr/local/httpd-2.2.8/bin/apxs
--with-config-file-path=/usr/local/apache/conf
Nothing special on that.. I was originally trying to do a:
./configure --prefix=/opt/local/stow/php-5.2.5
--with-apxs2=/usr/local/httpd-2.2.8/bin/apxs --enable-calendar
--with-config-file-path=/usr/local/apache/conf --with-zlib
--with-openssl=/opt/local/stow/openssl-0.9.8d
--with-jpeg-dir=/opt/local/stow/jpeg-6b
--with-png-dir=/opt/local/stow/libpng-1.2.5 --with-gd
--enable-gd-native-ttf --with-ttf
--with-xpm-dir=/opt/local/stow/xpm-3.4k-solaris
--with-mysql=/opt/local/stow/mysql-5.0.51
But still nothing... Here is the error message:
/bin/sh /export/home/UID/php-5.2.5/libtool --silent --preserve-dup-deps
--mode=compile gcc -Imain/ -I/export/home/ UID /php-5.2.5/main/
-DPHP_ATOM_INC -I/export/home/UID/php-5.2.5/include -I/export/home/ UID
/php-5.2.5/main -I/export/home/ UID /php-5.2.5
-I/usr/local/include/libxml2 -I/export/home/ UID /php-5.2.5/ext/date/lib
-I/export/home/UID/php-5.2.5/TSRM -I/export/home/UID/php-5.2.5/Zend
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -D_REENTRANT -c
/export/home/UID/php-5.2.5/main/mergesort.c -o main/mergesort.lo
/bin/sh /export/home/UID/php-5.2.5/libtool --silent --preserve-dup-deps
--mode=compile gcc -Imain/ -I/export/home/UID/php-5.2.5/main/
-DPHP_ATOM_INC -I/export/home/UID/php-5.2.5/include
-I/export/home/UID/php-5.2.5/main -I/export/home/UID/php-5.2.5
-I/usr/local/include/libxml2 -I/export/home/UID/php-5.2.5/ext/date/lib
-I/export/home/UID/php-5.2.5/TSRM -I/export/home/UID/php-5.2.5/Zend
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -D_REENTRANT -c
/export/home/UID/php-5.2.5/main/reentrancy.c -o main/reentrancy.lo
/export/home/UID/php-5.2.5/main/reentrancy.c: In function `php_ctime_r':
/export/home/UID/php-5.2.5/main/reentrancy.c:63: error: too many
arguments to function `ctime_r'
/export/home/UID/php-5.2.5/main/reentrancy.c: In function
`php_asctime_r':
/export/home/UID/php-5.2.5/main/reentrancy.c:70: error: too many
arguments to function `asctime_r'
/export/home/UID/php-5.2.5/main/reentrancy.c: In function
`php_readdir_r':
/export/home/UID/php-5.2.5/main/reentrancy.c:139: error: too few
arguments to function `readdir_r'
make: *** [main/reentrancy.lo] Error 1
Can anyone suggest anything for me to try??? Thank you all for any help
you can give.
Regards,
William "Billy" A. Strader
NAISMC Web Services
Work: 865-425-5178
Pager: 865-417-5012
Emergency Pager: 865-417-5622
have:
SunOS server1 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V210
Here is the GCC version:
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
now when I run the ./configure I am doing a :
./configure --prefix=/opt/local/stow/php-5.2.5
--with-apxs2=/usr/local/httpd-2.2.8/bin/apxs
--with-config-file-path=/usr/local/apache/conf
Nothing special on that.. I was originally trying to do a:
./configure --prefix=/opt/local/stow/php-5.2.5
--with-apxs2=/usr/local/httpd-2.2.8/bin/apxs --enable-calendar
--with-config-file-path=/usr/local/apache/conf --with-zlib
--with-openssl=/opt/local/stow/openssl-0.9.8d
--with-jpeg-dir=/opt/local/stow/jpeg-6b
--with-png-dir=/opt/local/stow/libpng-1.2.5 --with-gd
--enable-gd-native-ttf --with-ttf
--with-xpm-dir=/opt/local/stow/xpm-3.4k-solaris
--with-mysql=/opt/local/stow/mysql-5.0.51
But still nothing... Here is the error message:
/bin/sh /export/home/UID/php-5.2.5/libtool --silent --preserve-dup-deps
--mode=compile gcc -Imain/ -I/export/home/ UID /php-5.2.5/main/
-DPHP_ATOM_INC -I/export/home/UID/php-5.2.5/include -I/export/home/ UID
/php-5.2.5/main -I/export/home/ UID /php-5.2.5
-I/usr/local/include/libxml2 -I/export/home/ UID /php-5.2.5/ext/date/lib
-I/export/home/UID/php-5.2.5/TSRM -I/export/home/UID/php-5.2.5/Zend
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -D_REENTRANT -c
/export/home/UID/php-5.2.5/main/mergesort.c -o main/mergesort.lo
/bin/sh /export/home/UID/php-5.2.5/libtool --silent --preserve-dup-deps
--mode=compile gcc -Imain/ -I/export/home/UID/php-5.2.5/main/
-DPHP_ATOM_INC -I/export/home/UID/php-5.2.5/include
-I/export/home/UID/php-5.2.5/main -I/export/home/UID/php-5.2.5
-I/usr/local/include/libxml2 -I/export/home/UID/php-5.2.5/ext/date/lib
-I/export/home/UID/php-5.2.5/TSRM -I/export/home/UID/php-5.2.5/Zend
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -D_REENTRANT -c
/export/home/UID/php-5.2.5/main/reentrancy.c -o main/reentrancy.lo
/export/home/UID/php-5.2.5/main/reentrancy.c: In function `php_ctime_r':
/export/home/UID/php-5.2.5/main/reentrancy.c:63: error: too many
arguments to function `ctime_r'
/export/home/UID/php-5.2.5/main/reentrancy.c: In function
`php_asctime_r':
/export/home/UID/php-5.2.5/main/reentrancy.c:70: error: too many
arguments to function `asctime_r'
/export/home/UID/php-5.2.5/main/reentrancy.c: In function
`php_readdir_r':
/export/home/UID/php-5.2.5/main/reentrancy.c:139: error: too few
arguments to function `readdir_r'
make: *** [main/reentrancy.lo] Error 1
Can anyone suggest anything for me to try??? Thank you all for any help
you can give.
Regards,
William "Billy" A. Strader
NAISMC Web Services
Work: 865-425-5178
Pager: 865-417-5012
Emergency Pager: 865-417-5622