php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56537 Compile Failure with PHP 5.0.5
Submitted: 2005-09-12 08:10 UTC Modified: 2005-09-24 22:33 UTC
From: people05 at sopic dot com Assigned: wez (profile)
Status: Closed Package: PDO_SQLITE (PECL)
PHP Version: 5.0.3 OS: Debian GNU/Linux 3.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: people05 at sopic dot com
New email:
PHP Version: OS:

 

 [2005-09-12 08:10 UTC] people05 at sopic dot com
Description:
------------
Compile failure occurs when installing PDO_SQLITE with the 
PEAR installer (see error message below). 

Reproduce code:
---------------
# ./bin/php --version
PHP 5.0.5 (cli) (built: Sep 12 2005 13:41:32) (DEBUG)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
# ./bin/pear install pdo_sqlite-beta

Actual result:
--------------
gcc -I@ext_builddir@/sqlite/src -DPDO_SQLITE_BUNDLED=1 -
DSQLITE_OMIT_CURSOR -I/usr/local/php5-mod/include/php/ext -
I. -I/tmp/tmpHj10db/PDO_SQLITE-1.0RC1 -DPHP_ATOM_INC -I/var/
tmp/pear-build-root/PDO_SQLITE-1.0RC1/include -I/var/tmp/
pear-build-root/PDO_SQLITE-1.0RC1/main -I/tmp/tmpHj10db/
PDO_SQLITE-1.0RC1 -I/usr/local/php5-mod/include/php -I/usr/
local/php5-mod/include/php/main -I/usr/local/php5-mod/
include/php/TSRM -I/usr/local/php5-mod/include/php/Zend -
DHAVE_CONFIG_H -g -O2 -c /tmp/tmpHj10db/PDO_SQLITE-1.0RC1/
sqlite/src/tokenize.c  -fPIC -DPIC -o sqlite/src/tokenize.lo
/bin/sh /var/tmp/pear-build-root/PDO_SQLITE-1.0RC1/libtool 
--mode=compile gcc -I@ext_builddir@/sqlite/src -
DPDO_SQLITE_BUNDLED=1 -DSQLITE_OMIT_CURSOR -I/usr/local/
php5-mod/include/php/ext -I. -I/tmp/tmpHj10db/
PDO_SQLITE-1.0RC1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/
PDO_SQLITE-1.0RC1/include -I/var/tmp/pear-build-root/
PDO_SQLITE-1.0RC1/main -I/tmp/tmpHj10db/PDO_SQLITE-1.0RC1 -
I/usr/local/php5-mod/include/php -I/usr/local/php5-mod/
include/php/main -I/usr/local/php5-mod/include/php/TSRM -I/
usr/local/php5-mod/include/php/Zend  -DHAVE_CONFIG_H  -g -O2   
-c /tmp/tmpHj10db/PDO_SQLITE-1.0RC1/sqlite/src/analyze.c -o 
sqlite/src/analyze.lo
gcc -I@ext_builddir@/sqlite/src -DPDO_SQLITE_BUNDLED=1 -
DSQLITE_OMIT_CURSOR -I/usr/local/php5-mod/include/php/ext -
I. -I/tmp/tmpHj10db/PDO_SQLITE-1.0RC1 -DPHP_ATOM_INC -I/var/
tmp/pear-build-root/PDO_SQLITE-1.0RC1/include -I/var/tmp/
pear-build-root/PDO_SQLITE-1.0RC1/main -I/tmp/tmpHj10db/
PDO_SQLITE-1.0RC1 -I/usr/local/php5-mod/include/php -I/usr/
local/php5-mod/include/php/main -I/usr/local/php5-mod/
include/php/TSRM -I/usr/local/php5-mod/include/php/Zend -
DHAVE_CONFIG_H -g -O2 -c /tmp/tmpHj10db/PDO_SQLITE-1.0RC1/
sqlite/src/analyze.c  -fPIC -DPIC -o sqlite/src/analyze.lo
/tmp/tmpHj10db/PDO_SQLITE-1.0RC1/sqlite/src/analyze.c: In 
function `analyzeOneTable':
/tmp/tmpHj10db/PDO_SQLITE-1.0RC1/sqlite/src/analyze.c:97: 
error: `SQLITE_ANALYZE' undeclared (first use in this 
function)
/tmp/tmpHj10db/PDO_SQLITE-1.0RC1/sqlite/src/analyze.c:97: 
error: (Each undeclared identifier is reported only once
/tmp/tmpHj10db/PDO_SQLITE-1.0RC1/sqlite/src/analyze.c:97: 
error: for each function it appears in.)
make: *** [sqlite/src/analyze.lo] Fehler 1
`make' failed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-24 22:33 UTC] wez@php.net
Fixed in CVS; the next PECL release should work for you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC