In file included from
/root/kamesh/work/php-src/ext/pdo_sqlite/pdo_sqlite.c:31:
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:24:21:
sqlite3.h: No such file or directory
In file included from
/root/kamesh/work/php-src/ext/pdo_sqlite/pdo_sqlite.c:31:
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:50: syntax
error before "sqlite3"
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:53: syntax
error before '}' token
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:56: syntax
error before "pdo_sqlite_db_handle"
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:58: syntax
error before ':' token
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:59: syntax
error before ':' token
With regards
Kamesh Jayachandran
--
http://www.fastmail.fm - The way an email service should be
In file included from
/root/kamesh/work/php-src/ext/pdo_sqlite/pdo_sqlite.c:31:
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:24:21:
sqlite3.h: No such file or directory
Same here with VPATH builds, this seems to fix it:
Index: ext/pdo_sqlite/config.m4
RCS file: /repository/php-src/ext/pdo_sqlite/config.m4,v
retrieving revision 1.24
diff -u -r1.24 config.m4
--- ext/pdo_sqlite/config.m4 27 Jul 2005 11:53:00 -0000 1.24
+++ ext/pdo_sqlite/config.m4 29 Jul 2005 08:18:43 -0000
@@ -90,7 +90,7 @@
AC_DEFINE(SQLITE_PTR_SZ, SIZEOF_CHAR_P, [Size of a pointer])
PDO_SQLITE_VERSION=cat $ext_srcdir/sqlite/VERSION
PDO_SQLITE_VERSION_NUMBER=echo $PDO_SQLITE_VERSION | $AWK -F. '{printf("%d%03d%03d", $1, $2, $3)}'
-
sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $abs_srcdir/sqlite/src/sqlite.h.in > $abs_srcdir/sqlite/src/sqlite3.h
-
sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $ext_srcdir/sqlite/src/sqlite.h.in > $ext_builddir/sqlite/src/sqlite3.h touch $ext_srcdir/sqlite/src/parse.c $ext_srcdir/sqlite/src/parse.h
Hi Joe,
It fixes it.
Thanks.
With regards
Kamesh Jayachandran
On Fri, 29 Jul 2005 09:20:04 +0100, "Joe Orton" jorton@redhat.com
said:
In file included from
/root/kamesh/work/php-src/ext/pdo_sqlite/pdo_sqlite.c:31:
/root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:24:21:
sqlite3.h: No such file or directorySame here with VPATH builds, this seems to fix it:
Index: ext/pdo_sqlite/config.m4
RCS file: /repository/php-src/ext/pdo_sqlite/config.m4,v
retrieving revision 1.24
diff -u -r1.24 config.m4
--- ext/pdo_sqlite/config.m4 27 Jul 2005 11:53:00 -0000 1.24
+++ ext/pdo_sqlite/config.m4 29 Jul 2005 08:18:43 -0000
@@ -90,7 +90,7 @@
AC_DEFINE(SQLITE_PTR_SZ, SIZEOF_CHAR_P, [Size of a pointer])
PDO_SQLITE_VERSION=cat $ext_srcdir/sqlite/VERSION
PDO_SQLITE_VERSION_NUMBER=echo $PDO_SQLITE_VERSION | $AWK -F. '{printf("%d%03d%03d", $1, $2, $3)}'
sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e
s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/
$abs_srcdir/sqlite/src/sqlite.h.in > $abs_srcdir/sqlite/src/sqlite3.h
sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e
s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/
$ext_srcdir/sqlite/src/sqlite.h.in > $ext_builddir/sqlite/src/sqlite3.htouch $ext_srcdir/sqlite/src/parse.c $ext_srcdir/sqlite/src/parse.h
--
--
http://www.fastmail.fm - Same, same, but different