Bug #78384 [NEW]: Missing .c file. Compilation error

From: Date: Wed, 07 Aug 2019 17:19:08 +0000
Subject: Bug #78384 [NEW]: Missing .c file. Compilation error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222126@lists.php.net to get a copy of this message
From: lianobat at hotmail dot it Operating system: Linux Ubuntu 14 PHP version: 7.1.31 Package: PDO SQLite Bug Type: Bug Bug description:Missing .c file. Compilation error Description: ------------ Hello, I have downloaded the PDO Sqlite source from https://pecl.php.net/get/PDO_SQLITE-1.0.1.tgz When i run make, the gcc compiler gives an error saying it cannot find a .c source file referenced by the Makefile: make: *** No rule to make target `../sqlite/src/complete.c', needed by `complete.lo'. Stop. Indeed that file does not exists. These are the only files in the sqlite/src subfolder: alter.c hash.h os_unix.c shell.c util.c analyze.c insert.c os_unix.h sqlite.h.in vacuum.c attach.c keywordhash.h os_win.c sqliteInt.h vdbeapi.c auth.c legacy.c os_win.h table.c vdbeaux.c btree.c main.c pager.c tclsqlite.c vdbe.c btree.h md5.c pager.h test1.c vdbefifo.c build.c opcodes.c parse.c test2.c vdbe.h callback.c opcodes.h parse.h test3.c vdbeInt.h date.c os_common.h parse.y test4.c vdbemem.c delete.c os.h pragma.c test5.c where.c experimental.c os_mac.c prepare.c tokenize.c expr.c os_mac.h printf.c trigger.c func.c os_test.c random.c update.c hash.c os_test.h select.c utf.c Steps i've done: - extracted the tarball - created the build-sqlite subfolder and entered into it - i've run ../sqlite/configure - i've run make Expected result: ---------------- I intend to compile the .so library to be used by Apache's PHP module. Target PHP version: 7.1 I have tried installing it via the command sudo apt-get install php7.1-sqlite3 but it didn't work. It printed an error saying it could not locate the php7.1-sqlite3 package, so i have decided to compile it by myself manually. -- Edit bug report at https://bugs.php.net/bug.php?id=78384&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78384&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78384&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78384&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78384&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78384&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78384&r=support Expected behavior: https://bugs.php.net/fix.php?id=78384&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78384&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78384&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78384&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78384&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78384&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78384&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78384&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78384&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78384&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78384&r=mysqlcfg

« previous php.bugs (#222126) next »