Building PHP on SYSV

From: Date: Fri, 16 Mar 2001 16:16:33 +0000
Subject: Building PHP on SYSV
Groups: php.general 
Request: Send a blank email to php-general+get-44275@lists.php.net to get a copy of this message
I am trying to build PHP 4.0.2 on a box running SYSV Unix and am getting a number of errors. I'm using gcc 2.6.0. The OS is version 4.0. 1) In ext/standard/mail.c, the include file, sysexits.h, doesn't exist. I did a little hunting. mail.c is looking for EX_TEMPFAIL, so I replace <sysexits.h> with #define EX_TEMPFAIL 75. I got the value from a SCO box. 2) After fixing the above problem, I again type, "make" from the top-level directory of the distribution and get the following: Making all in . /bin/sh /users/dmahoney/source/php-4.0.2/libtool --silent --mode=link gc c -I. -I/users/dmahoney/source/php-4.0.2/ -I/users/dmahoney/source/php-4.0.2 -I /users/dmahoney/source/php-4.0.2/main -I/users/dmahoney/source/php-4.0.2/Zend -I /users/dmahoney/source/php-4.0.2 -I/users/dmahoney/source/php-4.0.2/ext/mysql/li bmysql -g -O2 -o libphp4.la -rpath /users/dmahoney/source/php-4.0.2/libs / usr/ucblib stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex /libregex.la ext/db/libdb.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posi x/libposix.la ext/session/libsession.la ext/standard/libstandard.la -ldl -lres olv -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket UX:sh (libtool): ERROR: /usr/bin/ar: arg list too long *** Error code 1 (bu21) make: fatal error. *** Error code 1 (bu21) make: fatal error. Does anyone have any ideas about the problem? Thanks, DOM II

« previous php.general (#44275) next »