Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222019 - dev-lang/php-5.2.6-r1 configure fails
Summary: dev-lang/php-5.2.6-r1 configure fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 02:12 UTC by Xavian-Anderson Macpherson
Modified: 2009-12-14 21:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
php-5.2.6-r1-x86_64-config_log (php-5.2.6-r1-x86_64-config_log-2008.05.13_19:11:38,364.96 KB, text/plain)
2008-05-14 02:13 UTC, Xavian-Anderson Macpherson
Details
shingoshi_emergeinfo (shingoshi_emergeinfo-20080513_20:16:51,19.01 KB, text/plain)
2008-05-14 03:22 UTC, Xavian-Anderson Macpherson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavian-Anderson Macpherson 2008-05-14 02:12:13 UTC
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.
Comment 1 Xavian-Anderson Macpherson 2008-05-14 02:13:33 UTC
Created attachment 153085 [details]
php-5.2.6-r1-x86_64-config_log

Here's the config.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-14 02:57:14 UTC
And your emerge --info?
Comment 3 Xavian-Anderson Macpherson 2008-05-14 03:22:37 UTC
Created attachment 153087 [details]
shingoshi_emergeinfo

Here it is.
Comment 4 Xavian-Anderson Macpherson 2008-05-14 06:13:20 UTC
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
Comment 5 Christian Hoffmann (RETIRED) gentoo-dev 2008-05-15 12:34:43 UTC
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.
Comment 6 Xavian-Anderson Macpherson 2008-05-16 10:50:01 UTC
(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
Comment 7 Luca Lesinigo 2009-04-06 21:08:07 UTC
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?
Comment 8 Christian Hoffmann (RETIRED) gentoo-dev 2009-12-14 21:19:14 UTC
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.