Re: Help W/ SQLite & PHP
| From: | (Uwe Steinmann) | Date: | Mon, 03 Nov 2003 15:46:48 +0000 |
| Subject: | Re: Help W/ SQLite & PHP | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-178@lists.php.net to get a copy of this message | ||
On Mon, Nov 03, 2003 at 09:34:16AM -0600, JR wrote:
> 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
Are you sure that there is a php.h file on your system? Did you install
php after compiling it yourself or did you take the package from your
distribution.
> 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
This doesn't look right to me. '-I/usr/include/...' would be better.
Uwe
--
MMK GmbH, Universitaetsstr. 11, 58097 Hagen
Uwe.Steinmann@mmk-hagen.de
Tel: +2331 840446 Fax: +2331 843920