PHP 4.0 Bug #2024: Compile fails in MySQL section.
| From: | jason at psp dot pair dot com | Date: | Tue, 10 Aug 1999 15:20:55 +0000 |
| Subject: | PHP 4.0 Bug #2024: Compile fails in MySQL section. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9722@lists.php.net to get a copy of this message | ||
From: jason@psp.pair.com
Operating system: FreeBSD 2.2.7
PHP version: 4.0 Beta 2
PHP Bug Type: Compile Failure
Bug description: Compile fails in MySQL section.
I'm having problems with php4 betas 1 and 2 failing to compile at pair networks. I've
included my do-conf file, and what I think may be relevant portions of the make output.
Configuration:
FreeBSD 2.2.7-STABLE (PAIRj) #0: Tue Dec 22 15:27:52 EST 1998
gcc --version = 2.7.2.1
psp% cat do-conf
./configure --with-mysql --with-config-file-path=/usr/home/psp/.phpbeta
--with-exec-dir=/usr/home/psp/bin --enable-force-cgi-redirect=yes --bindir=/usr/home/psp/bin
Making all in standard
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr/local/include/mysql
-I../.. -I../../libzend -g -O2 -g -O2 -c base64.c
[snip error-free lines]
ranlib libphpext_standard.a
top_srcdir=.. ../scripts/mkextlib libphpext.a db mysql pcre session standard
+ ../scripts/armerge libphpext.a db/libphpext_db.a mysql/libphpext_mysql.a pcre/libphpext_pcre.a
session/libphpext_session.a standard/libphpext_standard.a
ar: creating archive out.a
mv: libphpext.a: set owner/group (was: 3127/7): Operation not permitted
*** Error code 1 (ignored)
gcc -g -O2 -g -O2 -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -I/usr/local/include/mysql
-g -c main.c -o main.o
[snip error-free lines]
gcc -g -O2 -g -O2 -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -I/usr/local/include/mysql
-g -c dlist.c -o dlist.o
In file included from dlist.c:67:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is
deprecated, use <stdlib.h> instead"
(cd regex; make lib)
gcc -I. -I. -DPOSIX_MISTAKE -g -O2 -g -O2 -c regcomp.c
gcc -I. -I. -DPOSIX_MISTAKE -g -O2 -g -O2 -c regexec.c
gcc -I. -I. -DPOSIX_MISTAKE -g -O2 -g -O2 -c regerror.c
gcc -I. -I. -DPOSIX_MISTAKE -g -O2 -g -O2 -c regfree.c
rm -f libregex.a
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
ranlib libregex.a
gcc -g -O2 -g -O2 -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM -I/usr/local/include/mysql
-g -o php -L/usr/local/lib/mysql -L./libzend main.o internal_functions.o snprintf.o
php3_sprintf.o configuration-parser.o configuration-scanner.o request_info.o safe_mode.o
fopen-wrappers.o php3_realpath.o alloca.o output.o php_ini.o SAPI.o cgi_main.o rfc1867.o dlist.o
-Llibzend -lzend -Lext -lphpext -L/usr/home/psp/src/php-4.0b2/ext/pcre/pcrelib -lpcre
-L/usr/home/psp/src/php-4.0b2/regex -lregex -L/usr/local/lib/mysql -lmysqlclient -lm -lcrypt
-lresolv
ld: ext/libphpext.a(db___.SYMDEF): bad magic
*** Error code 1
Stop.