I'm sorry for this, but I'm asking for help here. It seems not matter what I do, I can't get this to go away. So I would greatly appreciate being told how to resolve this. Thank you! Shingoshi -------------------------------------------------------------------------------------------------- checking whether to enable pcntl support... no checking whether to enable PDO support... yes checking for PDO_DBLIB support via FreeTDS... yes, shared checking for PDO includes... checking for PDO includes... /var/tmp/portage/dev-lang/php-5.2.6-r1/work/php-5.2.6/ext checking for dnet_addr in -ldnet_stub... (cached) no checking for Firebird support for PDO... no checking for MySQL support for PDO... yes, shared checking for mysql_config... /usr/bin/mysql_config checking for mysql_query in -lmysqlclient_r... no checking for mysql_query in -lmysqlclient_r... (cached) no configure: error: PDO_MYSQL configure failed. Please check config.log for more information. * * ERROR: dev-lang/php-5.2.6-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4500: Called src_compile_fastbuild * environment, line 4548: Called php5_2-sapi_src_compile * environment, line 3546: Called die * The specific snippet of code: * ./configure --prefix=${destdir} --host=${CHOST} --mandir=${destdir}/man --infodir=${destdir}/info --sysconfdir=/etc --cache-file=./config.cache ${my_conf} ${EXTRA_ECONF} || die "configure failed"; * The die message: * configure failed -------------------------------------------------------------------------------------------------- If this is something you're familiar with, and don't need more information then I won't need to post more. However, I'll immediately post whatever you need.
Created attachment 153085 [details] php-5.2.6-r1-x86_64-config_log Here's the config.log
And your emerge --info?
Created attachment 153087 [details] shingoshi_emergeinfo Here it is.
Well, I obviously hadn't tried everything. And this would have seemed to be the most obvious of all things to do. But I was under the impression that eliminating the pdo USE flag would hinder the operation of php, so I didn't want to unset it. However, now that I have, php compiles. But should the pdo flag be usable? I don't remember setting it to begin with, and it never complained before. So is this really a bug in the configuration of php? Shingoshi
Please post the output of `emerge -pv dev-lang/php` as well. Apparently php tries to link against sqlod (-lsqlod) which is not available. I'm not even sure what this is or where this is supposed to come from. It seems to be odbc-related, but unixODBC doesn't provide it.
(In reply to comment #5) > Please post the output of `emerge -pv dev-lang/php` as well. > > Apparently php tries to link against sqlod (-lsqlod) which is not available. > I'm not even sure what this is or where this is supposed to come from. It seems > to be odbc-related, but unixODBC doesn't provide it. > That doesn't work. All I get is this: These are the packages that would be merged, in reverse order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB Shingoshi
php-5.2.6-r1 is no more in the portage tree and not a current stable release. Besides, I can confirm building and running with USE=pdo at least since php-5.2.4 up to 5.2.8-r1. This bug is probably obsolete. Xavian, have you tried with an updated system and current ebuilds? Have you checked out the output of revdep-rebuild on your system?
Just hit the same problem when testing different USE flag combinations for php-5.3. Errors with sqlod linking problems start appearing when enabling sapdb (USE=sapdb) without having the necessary environment in place. Don't ask me what "the necessary environment" is, though. I guess some proprietary thingy. As such, this bug is INVALID. Either you should not be using sapdb at all, or you are using it in a wrong way. As stated in the ebuild, these external build dependencies cannot really be supported. At least I can't, as I neither know nor have them.