RE: [PECL-DEV] Help W/ SQLite & PHP

From: Date: Mon, 03 Nov 2003 15:34:16 +0000
Subject: RE: [PECL-DEV] Help W/ SQLite & PHP
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-176@lists.php.net to get a copy of this message
Hi Wes, I have tried both with no no success. Pear tries to do the install but is falling with an error of: Then I run: pear install SQLite-1.0.tgz and get a make error of: /tmp/tmpACnhIu/SQLite-1.0/sqlite.c:29:17: php.h: No such file or directory /tmp/tmpACnhIu/SQLite-1.0/sqlite.c:30:21: php_ini.h: No such file or directory /tmp/tmpACnhIu/SQLite-1.0/sqlite.c:31:31: ext/standard/info.h: No such file or directory make: *** [sqlite.lo] Error 1 `make' failed The full screen dump of what happens is below. I have been fighting with this for hours, have search google intensly, have posted to the PHP db, install and general lists, as well as this one to no avail. Any advice you or anyone else can five me would be greatly appreciated. Thanks, JR [root@cam jr]# pear install SQLite-1.0.tgz 48 source files, building running: phpize You should update your `aclocal.m4' by running aclocal. Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 building in /var/tmp/pear-build-root/SQLite-1.0 running: /tmp/tmp6oUZmx/SQLite-1.0/configure creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for PHP prefix... /usr checking for PHP includes... -Idir=/usr/include/php -Idir=/usr/include/php/main -Idir=/usr/include/php/Zend -Idir=/usr/include/php/TSRM checking for PHP extension directory... /usr/lib/20020429 checking how to run the C preprocessor... gcc -E checking for gawk... gawk checking for sqlite support... yes, shared checking size of char *... 4 checking for lemon... no checking for usleep... yes checking for nanosleep... yes checking for time.h... yes checking for Cygwin environment... no checking for mingw32 environment... no checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether -lc should be explicitly linked in... no creating libtool updating cache ./config.cache creating ./config.status creating config.h running: make sed -e s/--VERS--/2.8.3/ -e s/--ENCODING--/ISO8859/ /tmp/tmp6oUZmx/SQLite-1.0/libsqlite/src/sqlite.h.in >/tmp/tmp6oUZmx/SQLite-1.0/libsqlite/src/sqlite.h /bin/sh /var/tmp/pear-build-root/SQLite-1.0/libtool --mode=compile gcc -I/tmp/tmp6oUZmx/SQLite-1.0/libsqlite/src -I. -I/tmp/tmp6oUZmx/SQLite-1.0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pear-build-root/SQLite-1.0/main -I/tmp/tmp6oUZmx/SQLite-1.0 -Idir=/usr/include/php -Idir=/usr/include/php/main -Idir=/usr/include/php/Zend -Idir=/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -prefer-pic -c /tmp/tmp6oUZmx/SQLite-1.0/sqlite.c -o sqlite.lo gcc -I/tmp/tmp6oUZmx/SQLite-1.0/libsqlite/src -I. -I/tmp/tmp6oUZmx/SQLite-1.0 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/SQLite-1.0/include -I/var/tmp/pear-build-root/SQLite-1.0/main -I/tmp/tmp6oUZmx/SQLite-1.0 -Idir=/usr/include/php -Idir=/usr/include/php/main -Idir=/usr/include/php/Zend -Idir=/usr/include/php/TSRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmp6oUZmx/SQLite-1.0/sqlite.c -fPIC -DPIC -o sqlite.lo /tmp/tmp6oUZmx/SQLite-1.0/sqlite.c:29:17: php.h: No such file or directory /tmp/tmp6oUZmx/SQLite-1.0/sqlite.c:30:21: php_ini.h: No such file or directory /tmp/tmp6oUZmx/SQLite-1.0/sqlite.c:31:31: ext/standard/info.h: No such file or directory make: *** [sqlite.lo] Error 1 `make' failed -----Original Message----- From: Wez Furlong [mailto:wez@thebrainroom.com] Sent: Saturday, November 01, 2003 6:41 AM To: jr@JohnRudnick.com; pecl-dev@lists.php.net Subject: Re: [PECL-DEV] Help W/ SQLite & PHP "pear install sqlite" Should be all you need to do if you are running PHP 4.3.3 and have a working build environment. Try running "pear -vv install sqlite" if that doesn't work out of the box. --Wez. ----- Original Message ----- From: "JR" <jr@JohnRudnick.com> To: <pecl-dev@lists.php.net> Sent: Friday, October 31, 2003 5:20 PM Subject: [PECL-DEV] Help W/ SQLite & PHP > Hi All, > > I am not sure that this is exactly the right place to post this, but I > have not been able to get a solution on the other lists and I figured > at least the expertise would be here to answer my question. So please > forgive me if this is not the best forum for this and I thank you in > advance for any help you can give me. > > I am trying to get the SQLite package to work with PHP and I am > failing miserably. -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pecl.dev (#176) next »