Re: SQLite 1.0.2 + php-4.3.5RC1

From: Date: Fri, 23 Jan 2004 18:40:30 +0000
Subject: Re: SQLite 1.0.2 + php-4.3.5RC1
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-371@lists.php.net to get a copy of this message
Thanks for the reply Pear install gives me the following error (with total verbose) : [root@localhost root]# pear install sqlite [Fri Jan 23 13:24:19 2004] [apc-notice] APC version 2.0b -- startup complete + tmp dir created at /tmp/tmpby6P2G + tmp dir created at /tmp/tmp5u3w8Z + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/CREDITS /usr/share/pear/doc/SQLite/.tmpCREDITS adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpCREDITS adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpCREDITS /usr/share/pear/doc/SQLite/CREDITS adding to transaction: installed_as CREDITS /usr/share/pear/doc/SQLite/CREDITS /usr/share/pear/doc/SQLite / + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/README /usr/share/pear/doc/SQLite/.tmpREADME adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpREADME adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpREADME /usr/share/pear/doc/SQLite/README adding to transaction: installed_as README /usr/share/pear/doc/SQLite/README /usr/share/pear/doc/SQLite / + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/TODO /usr/share/pear/doc/SQLite/.tmpTODO adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpTODO adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpTODO /usr/share/pear/doc/SQLite/TODO adding to transaction: installed_as TODO /usr/share/pear/doc/SQLite/TODO /usr/share/pear/doc/SQLite / + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/sqlite.php /usr/share/pear/doc/SQLite/.tmpsqlite.php adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/.tmpsqlite.php adding to transaction: rename /usr/share/pear/doc/SQLite/.tmpsqlite.php /usr/share/pear/doc/SQLite/sqlite.php adding to transaction: installed_as sqlite.php /usr/share/pear/doc/SQLite/sqlite.php /usr/share/pear/doc/SQLite / + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_001.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_001.phpt /usr/share/pear/test/SQLite/tests/sqlite_001.phpt adding to transaction: installed_as tests/sqlite_001.phpt /usr/share/pear/test/SQLite/tests/sqlite_001.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_002.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_002.phpt /usr/share/pear/test/SQLite/tests/sqlite_002.phpt adding to transaction: installed_as tests/sqlite_002.phpt /usr/share/pear/test/SQLite/tests/sqlite_002.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_003.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_003.phpt /usr/share/pear/test/SQLite/tests/sqlite_003.phpt adding to transaction: installed_as tests/sqlite_003.phpt /usr/share/pear/test/SQLite/tests/sqlite_003.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_004.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_004.phpt /usr/share/pear/test/SQLite/tests/sqlite_004.phpt adding to transaction: installed_as tests/sqlite_004.phpt /usr/share/pear/test/SQLite/tests/sqlite_004.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_005.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_005.phpt /usr/share/pear/test/SQLite/tests/sqlite_005.phpt adding to transaction: installed_as tests/sqlite_005.phpt /usr/share/pear/test/SQLite/tests/sqlite_005.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_006.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_006.phpt /usr/share/pear/test/SQLite/tests/sqlite_006.phpt adding to transaction: installed_as tests/sqlite_006.phpt /usr/share/pear/test/SQLite/tests/sqlite_006.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_007.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_007.phpt /usr/share/pear/test/SQLite/tests/sqlite_007.phpt adding to transaction: installed_as tests/sqlite_007.phpt /usr/share/pear/test/SQLite/tests/sqlite_007.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_008.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_008.phpt /usr/share/pear/test/SQLite/tests/sqlite_008.phpt adding to transaction: installed_as tests/sqlite_008.phpt /usr/share/pear/test/SQLite/tests/sqlite_008.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_009.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_009.phpt /usr/share/pear/test/SQLite/tests/sqlite_009.phpt adding to transaction: installed_as tests/sqlite_009.phpt /usr/share/pear/test/SQLite/tests/sqlite_009.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_010.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_010.phpt /usr/share/pear/test/SQLite/tests/sqlite_010.phpt adding to transaction: installed_as tests/sqlite_010.phpt /usr/share/pear/test/SQLite/tests/sqlite_010.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_011.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_011.phpt /usr/share/pear/test/SQLite/tests/sqlite_011.phpt adding to transaction: installed_as tests/sqlite_011.phpt /usr/share/pear/test/SQLite/tests/sqlite_011.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_012.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_012.phpt /usr/share/pear/test/SQLite/tests/sqlite_012.phpt adding to transaction: installed_as tests/sqlite_012.phpt /usr/share/pear/test/SQLite/tests/sqlite_012.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_013.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_013.phpt /usr/share/pear/test/SQLite/tests/sqlite_013.phpt adding to transaction: installed_as tests/sqlite_013.phpt /usr/share/pear/test/SQLite/tests/sqlite_013.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_014.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_014.phpt /usr/share/pear/test/SQLite/tests/sqlite_014.phpt adding to transaction: installed_as tests/sqlite_014.phpt /usr/share/pear/test/SQLite/tests/sqlite_014.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_015.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_015.phpt /usr/share/pear/test/SQLite/tests/sqlite_015.phpt adding to transaction: installed_as tests/sqlite_015.phpt /usr/share/pear/test/SQLite/tests/sqlite_015.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_016.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_016.phpt /usr/share/pear/test/SQLite/tests/sqlite_016.phpt adding to transaction: installed_as tests/sqlite_016.phpt /usr/share/pear/test/SQLite/tests/sqlite_016.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/sqlite_017.phpt /usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpsqlite_017.phpt /usr/share/pear/test/SQLite/tests/sqlite_017.phpt adding to transaction: installed_as tests/sqlite_017.phpt /usr/share/pear/test/SQLite/tests/sqlite_017.phpt /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/tests/blankdb.inc /usr/share/pear/test/SQLite/tests/.tmpblankdb.inc adding to transaction: chmod 644 /usr/share/pear/test/SQLite/tests/.tmpblankdb.inc adding to transaction: rename /usr/share/pear/test/SQLite/tests/.tmpblankdb.inc /usr/share/pear/test/SQLite/tests/blankdb.inc adding to transaction: installed_as tests/blankdb.inc /usr/share/pear/test/SQLite/tests/blankdb.inc /usr/share/pear/test/SQLite /tests + cp /tmp/tmp5u3w8Z/SQLite-1.0.2/libsqlite/README /usr/share/pear/doc/SQLite/libsqlite/.tmpREADME adding to transaction: chmod 644 /usr/share/pear/doc/SQLite/libsqlite/.tmpREADME adding to transaction: rename /usr/share/pear/doc/SQLite/libsqlite/.tmpREADME /usr/share/pear/doc/SQLite/libsqlite/README adding to transaction: installed_as libsqlite/README /usr/share/pear/doc/SQLite/libsqlite/README /usr/share/pear/doc/SQLite /libsqlite 51 source files, building building in /tmp/tmp5u3w8Z/SQLite-1.0.2 running: phpize Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 `phpize' failed I'll outline the steps taken in order to build php RPM with sqlite as a shared module, from a SPEC file 1. Get the source from http://pecl.php.net/package/SQLite 2. gunzip/untar into ext/ dir from PHP source 3. cd ext/sqlite ; phpize ; ./configure 4. back to php's root source dir, then ; buildconf --force ; ./configure --with-sqlite=shared 5. make, then PHP barfs steps 2 and 3 are made in my spec file, like this : bzip2 -dc $RPM_SOURCE_DIR/sqlite.tar.bz2 | tar -x -C ext/ -f - pushd ext/sqlite phpize ./configure popd If go directly in sqlite dir, and use phpize ; make ; make install, it works fine. However, I successfully build PHP with APC shared module, by using the same steps outlined above. There's something im missing here .. any help appreciated. --------------------------------------------------- Frederic Trudeau ----- Original Message ----- From: "Pierre-Alain Joye" <paj@pearfr.org> To: "Frederic Trudeau" <ftrudeau@zesolution.com> Cc: <pecl-dev@lists.php.net> Sent: Friday, January 23, 2004 12:04 PM Subject: Re: [PECL-DEV] SQLite 1.0.2 + php-4.3.5RC1 > On Fri, 23 Jan 2004 11:59:26 -0500 > "Frederic Trudeau" <ftrudeau@zesolution.com> wrote: > > > > > PHP compilation is failing when i try to make sqlite shared module. > > Im using latest (1.0.2) SQLite PECL package from > > http://pecl.php.net/package/SQLite and php 4.3.5RC1 > > It works like a charm here. Either with pear install sqlite or a manual > compilation. > > I use 1.0.2, unpack the archive in a custom folder then: > phpize > ./configure > make > make install > > In the case that still fails, which platform? > > pierre >

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