From: [EMAIL PROTECTED] Operating system: IRIX64 6.5.23m PHP version: 5CVS-2004-03-27 (dev) PHP Bug Type: Compile Failure Bug description: cant compile ext/sqlite as shared
Description: ------------ I have problems with compiling the ext/sqlite as a shared one with todays php5 cvs. The build is for a cli version. It makes NO problem when compiling the extension into the mod_php. [o2k]:/mnt/MIPS/php-src $ cat config.nice.cli #! /bin/sh # # Created by configure rm config.cache; gmake distclean; CFLAGS='-O3 -mp -OPT:Olimit=0:roundoff=3 -TARG:platform=IP27:proc=r10000 -mips4 -Xcpluscomm -I/usr/freeware/include -I/usr/local/include ' \ CXXFLAGS='-O3 -mips4' \ LDFLAGS=' -mp -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/freeware/lib32 -lcrypto ' \ CC='cc' \ CXX='C' \ './configure' \ '--prefix=/usr/local/php5' \ '--enable-tokenizer' \ '--enable-dio' \ '--enable-aggregate' \ '--enable-memory-limit' \ '--enable-dba' \ '--enable-dbx' \ '--disable-cgi' \ '--enable-exif' \ '--enable-calendar' \ '--enable-bcmath' \ '--enable-shmop' \ '--enable-ftp' \ '--enable-sysvshm=yes' \ '--enable-sysvsem=yes' \ '--enable-track-vars=yes' \ '--enable-url-includes' \ '--enable-versioning' \ '--enable-sockets' \ '--enable-dbase' \ '--enable-memory-limit' \ '--enable-wddx' \ '--with-gd=shared' \ '--with-png-dir=/usr/local' \ '--with-jpeg-dir=/usr/local' \ '--with-freetype-dir=/usr/local' \ '--with-zlib-dir=/usr/freeware' \ '--with-zlib' \ '--with-config-file-path=/etc/php5' \ '--with-pear' \ '--with-sqlite=shared' \ '--with-mcrypt=shared,/usr/local' \ '--with-hash=shared,/usr/local' \ '--with-mysql=/usr/local/mysql' \ '--with-ming=shared,/usr/local' \ '--with-mnogosearch=shared,/usr/local/mnogosearch' \ '--with-imagick-gm=shared,/usr/local' \ '--with-localizer=shared=/usr/local' \ '--with-pgsql=shared,/usr/local/pgsql' \ '--with-pear' \ '--with-curl=shared,/usr/local' \ "$@" ./config.nice.cli [..] checking whether to enable UTF-8 support in sqlite (default: ISO-8859-1)... no checking for sqlite support... yes, shared checking size of char *... 4 checking for lemon... no [..] gmake -j 16 cc-1005 cc: ERROR File = /mnt/MIPS/php-src/ext/sqlite/libsqlite/src/config.h, Line = 1 The source file "/mnt/MIPS/php-src/config.h" is unavailable. #include "/mnt/MIPS/php-src/config.h" ^ 1 catastrophic error detected in the compilation of "/mnt/MIPS/php-src/ext/sqlite/libsqlite/src/parse.c". The config.h isnt create on compile time.. but i dont know why. A workaround is to edit the ext/sqlite/libsqlite/src/config.h file and include /mnt/MIPS/php-src/main/php_config.h instead of #include "/mnt/MIPS/php-src/config.h" -- Edit bug report at http://bugs.php.net/?id=27729&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27729&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27729&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27729&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27729&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27729&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27729&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27729&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27729&r=support Expected behavior: http://bugs.php.net/fix.php?id=27729&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27729&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27729&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27729&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27729&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27729&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27729&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27729&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27729&r=float