#38451 [Asn->Csd]: PDO_MYSQL breaks compilation
| From: | tony2001@php.net | Date: | Mon, 14 Aug 2006 20:12:00 +0000 |
| Subject: | #38451 [Asn->Csd]: PDO_MYSQL breaks compilation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100789@lists.php.net to get a copy of this message | ||
ID: 38451
Updated by: tony2001@php.net
Reported By: terry dot cullen at uq dot edu dot au
-Status: Assigned
+Status: Closed
Bug Type: PDO related
Operating System: Solaris 10 x86
PHP Version: 5.1.4
Assigned To: tony2001
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-08-14 15:29:39] tony2001@php.net
Ok, I see.
Give me some time, I'll try to figure out what's wrong there (building
PHP on Solaris takes hours, *sigh*..)
------------------------------------------------------------------------
[2006-08-14 15:08:27] terry dot cullen at uq dot edu dot au
Here is the relevant output from the configure script;
Configuring libtool
checking build system type... i386-pc-solaris2.10
checking for ld used by gcc... (cached)
/usr/sfw/i386-sun-solaris2.10/bin/ld
checking if the linker (/usr/sfw/i386-sun-solaris2.10/bin/ld) is GNU
ld... (cached) yes
checking for /usr/sfw/i386-sun-solaris2.10/bin/ld option to reload
object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking the maximum length of command line arguments... (cached)
262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object...
(cached) ok
checking for objdir... (cached) .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/sfw/i386-sun-solaris2.10/bin/ld)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
I will put it in the path and have another go.
Terry
------------------------------------------------------------------------
[2006-08-14 15:04:09] tony2001@php.net
Are you sure the ld binary used for the build is GNU ?
------------------------------------------------------------------------
[2006-08-14 14:57:21] terry dot cullen at uq dot edu dot au
Sadly, make failed again.
PATH='/opt/local/gcc/bin:/opt/local/php5/bin:/opt/local/perl/bin:/opt/local/mysql/mysql/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/local/bin:/usr/bin/nsr:/usr/sbin/nsr:/usr/openwin/bin:/opt/csw/bin:/usr/sfw/bin:/usr/bin'
CFLAGS='-O3 -fPIC -L/opt/csw/lib' \
CPPFLAGS='-I/opt/csw/include -I/usr/include' \
LDFLAGS='-Wl,-rpath-link=/lib:/usr/lib:/opt/csw/lib:/opt/local/mysql/mysql/lib:/opt/local/mysql/mysql:/usr/sfw/lib:/opt/local/oracle/10103_client:/opt/local/oracle/10103_client/lib'
export CFLAGS CPPFLAGS LDFLAGS PATH
'./configure' \
'--prefix=/opt/local/php5' \
'--with-apxs2=/opt/local/apache/bin/apxs' \
'--enable-safe-mode' \
'--with-exec-dir=/opt/local/php5/bin' \
'--enable-bcmath' \
'--enable-gd-native-ttf' \
'--enable-soap' \
'--enable-sockets' \
'--disable-rpath' \
'--enable-ftp' \
'--with-gd' \
'--with-gettext' \
'--with-imap=/src/Web/IMap/imap-2004g' \
'--with-imap-ssl=/src/Web/IMap/imap-2004g' \
'--with-jpeg-dir=/usr/lib/amd64/' \
'--with-ldap=/usr' \
'--with-mcrypt=/opt/local' \
'--with-png-dir=/usr/lib/amd64/' \
'--with-pspell=/usr' \
'--with-openssl=/opt/csw' \
'--with-zlib' \
'--with-libxml-dir=/opt/csw' \
'--with-mysql=/opt/local/mysql/mysql' \
'--with-oci8=/opt/local/oracle/10103_client' \
'--with-xpm-dir=/usr/lib' \
'--enable-memory-limit' \
'--with-gdbm=/opt/csw' \
'--with-db4=/opt/csw/bdb4' \
'--with-mhash=/opt/local/mhash' \
'--with-curl=/opt/local/curl' \
'--with-pear=/opt/local/php5' \
'--enable-pdo=shared' \
'--with-pdo-sqlite=shared' \
'--with-sqlite=shared' \
'--with-mbstring' \
'--with-mysqli=/opt/local/mysql/mysql/bin/mysql_config' \
'--with-pdo-mysql=shared,/opt/local/mysql/mysql' \
'--with-gnu-ld' \
'--with-ld=/usr/sfw/i386-sun-solaris2.10/bin/ld'
with;
gcc: ext/pdo_mysql/.libs/pdo_mysql.o: No such file or directory
gcc: ext/pdo_mysql/.libs/mysql_driver.o: No such file or directory
gcc: ext/pdo_mysql/.libs/mysql_statement.o: No such file or directory
gmake: *** [ext/pdo_mysql/pdo_mysql.la] Error 1
------------------------------------------------------------------------
[2006-08-14 14:36:06] tony2001@php.net
Please install and use GNU ld.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38451
--
Edit this bug report at http://bugs.php.net/?id=38451&edit=1