# sqlite and 'make -j'

- Thread: https://externals.io/message/3269
- Original archive: https://news-web.php.net/php.internals/3269
- Started by Jon Parise on 2003-07-05T21:39:04+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #3269 — Jon Parise — 2003-07-05T21:39:04+00:00

URL: https://externals.io/message/3269#3269

Just a note that the addition of sqlite to the PHP build has broken
'make -j' compiling:

In file included from /home/jon/src/php5/ext/sqlite/libsqlite/src/auth.c:19: /home/jon/src/php5/ext/sqlite/libsqlite/src/sqliteInt.h:17: sqlite.h: No such file or directory
*** Error code 1
/home/jon/src/php5/ext/sqlite/sess_sqlite.c:27: sqlite.h: No such file or directory

I've just glanced at the libsqlite/src/Makefile, and it looks like
sqlite.h is generated during the build.  However, this target's
dependency isn't being advertised correctly.

I don't know how to fix this in terms of the PHP build system, though.
Maybe someone else does?

-- 
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)

---

## #4105 — Jon Parise — 2003-08-20T07:49:19+00:00

URL: https://externals.io/message/3269#4105 · In reply to: #3269

> Just a note that the addition of sqlite to the PHP build has broken
> 'make -j' compiling:
> 
> In file included from /home/jon/src/php5/ext/sqlite/libsqlite/src/auth.c:19: /home/jon/src/php5/ext/sqlite/libsqlite/src/sqliteInt.h:17: sqlite.h: No such file or directory
> *** Error code 1
> /home/jon/src/php5/ext/sqlite/sess_sqlite.c:27: sqlite.h: No such file or directory
> 
> I've just glanced at the libsqlite/src/Makefile, and it looks like
> sqlite.h is generated during the build.  However, this target's
> dependency isn't being advertised correctly.
> 
> I don't know how to fix this in terms of the PHP build system, though.
> Maybe someone else does?
 
I've just committed a fix for this in ext/sqlite/Makefile.frag:1.7.

-- 
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)
