PDA

View Full Version : make: *** [ext/posix/posix.lo] Error 1 During PHP Compile


.Bob
07-30-2008, 06:00 PM
Hi,



I am trying to compile PHP via the admin console on the latest version of LiteSpeed enterprise.

Compile always fails for both php5/php4. I've checked the log files and I noticed


/usr/local/lsws/phpbuild/php-5.2.6/ext/posix/posix.c: In function 'zif_posix_uname':
/usr/local/lsws/phpbuild/php-5.2.6/ext/posix/posix.c:471: error: 'struct utsname' has no member named 'domainname'
make: *** [ext/posix/posix.lo] Error 1




I dont know what is wrong. Any suggestions?





Thanks,
Bob

mistwang
07-30-2008, 06:46 PM
What's your OS?

.Bob
07-30-2008, 07:17 PM
We are running CentOS Linux 5.2

mistwang
07-30-2008, 11:33 PM
http://www.meticulo.com/blog/php-5-autoconf-262

.Bob
07-31-2008, 02:27 AM
http://www.meticulo.com/blog/php-5-autoconf-262


Thanks. Greatly appreciated.