Bug #61051 [Opn->Csd]: Unable to compile pdo-mysql
| From: | php at martins-creations dot co dot uk | Date: | Fri, 10 Feb 2012 21:55:46 +0000 |
| Subject: | Bug #61051 [Opn->Csd]: Unable to compile pdo-mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167407@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61051&edit=1
ID: 61051
User updated by: php at martins-creations dot co dot uk
Reported by: php at martins-creations dot co dot uk
Summary: Unable to compile pdo-mysql
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Debian
PHP Version: 5.4.0RC7
Block user comment: N
Private report: N
New Comment:
make clean :<
Previous Comments:
------------------------------------------------------------------------
[2012-02-10 21:04:11] php at martins-creations dot co dot uk
Description:
------------
Compilation error. I get this if I omit --with-pdo-mysql too, I think --with-pdo-
sqlite is default. In such case I get a different error:
...
Zend/zend_default_classes.lo Zend/zend_execute.lo main/internal_functions_cli.lo
sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo -
lcrypt -lresolv -lcrypt -lrt -lrt -lm -ldl -lnsl -lrt -lxml2 -lxml2 -lxml2 -
lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -o sapi/cli/php
ext/pdo_sqlite/.libs/pdo_sqlite.o: In function `get_module':
/usr/local/src/php-5.4.0RC7/ext/pdo_sqlite/pdo_sqlite.c:74: multiple definition
of `get_module'
ext/pdo/.libs/pdo.o:/usr/local/src/php-5.4.0RC7/ext/pdo/pdo.c:171: first defined
here
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Test script:
---------------
$ ./configure --enable-fpm --enable-cli --enable-mbstring --enable-inline-optimization
--with-pdo-mysql
$ make && make install
Expected result:
----------------
Generating files
configure: creating ./config.status
,,,,,,
Actual result:
--------------
.....
Zend/zend_default_classes.lo Zend/zend_execute.lo main/internal_functions_cli.lo
sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_server.lo -
lcrypt -lresolv -lcrypt -lrt -lrt -lm -ldl -lnsl -lrt -lxml2 -lxml2 -lxml2 -
lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -o sapi/cli/php
ext/pdo_sqlite/.libs/pdo_sqlite.o: In function `get_module':
/usr/local/src/php-5.4.0RC7/ext/pdo_sqlite/pdo_sqlite.c:74: multiple definition
of `get_module'
ext/pdo/.libs/pdo.o:/usr/local/src/php-5.4.0RC7/ext/pdo/pdo.c:171: first defined
here
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61051&edit=1