Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466426 - dev-lang/php-5.4.14 doesn't install pdo_pgsql
Summary: dev-lang/php-5.4.14 doesn't install pdo_pgsql
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 04:15 UTC by Leeman Strout
Modified: 2013-04-25 14:27 UTC (History)
0 users

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


Attachments
equery f dev-lang/php (list.txt,15.69 KB, text/plain)
2013-04-19 04:16 UTC, Leeman Strout
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leeman Strout 2013-04-19 04:15:15 UTC
I am attempting to get PHP w/ pdo and psotgresql support compiled in.  It appears that while all that is being compiled it never gets installed.  None of the ext or ext-active directories get populated.  There are no files with pgsql or post in the name, and only 2 header files related to pdo in the entire install.



Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.8.7-gentoo x86_64)
=================================================================
System uname: Linux-3.8.7-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.2
KiB Mem:      954328 total,     48112 free
KiB Swap:     524284 total,    309596 free
Timestamp of tree: Thu, 18 Apr 2013 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise x-local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl acpi amd64 bash-completion bzip2 cli cracklib cxx dbus fam hal hvm iconv ithreads libnotify logrotate mmx multilib ncurses nls nptl nptlonly ntp pam pcf pcre perl pmu python readline session sse sse2 ssl ssse3 startup-notification svg tcpd udev unicode xvmc zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authz_host cgi dir include log_config mime vhost_alias authn_file authz_groupfile authz_user" APACHE2_MPMS="prefork" ELIBC="glibc" KERNEL="linux" LINGUAS="en_US en" PYTHON_SINGLE_TARGET="python3_2" PYTHON_TARGETS="python2_7 python3_2" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



=================================================================
                        Package Settings
=================================================================

dev-lang/php-5.4.14 was built with the following:
USE="bzip2 calendar cgi cli crypt curl exif fileinfo fpm gd iconv imap json nls pdo postgres readline session sockets ssl unicode xml zlib -apache2 -bcmath -berkdb -cdb -cjk -ctype -curlwrappers -debug -embed -enchant -filter -firebird -flatfile (-frontbase) -ftp -gdbm -gmp -hash -inifile -intl -iodbc -ipv6 -kerberos -ldap -ldap-sasl -libedit -mhash -mssql -mysql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -phar -posix -qdbm -recode (-selinux) -sharedmem -simplexml -snmp -soap -spell -sqlite (-sybase-ct) -sysvipc -threads -tidy -tokenizer -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip"
Comment 1 Leeman Strout 2013-04-19 04:16:48 UTC
Created attachment 345970 [details]
equery f dev-lang/php
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2013-04-25 14:02:56 UTC
It is linked statically into the php binary.

The correct way of checking if an extension is available is using php -m

olemarkus@hermes ~ % /usr/lib/php5.4/bin/php -m | grep pdo
pdo_mysql
pdo_pgsql
pdo_sqlite
Comment 3 Leeman Strout 2013-04-25 14:26:46 UTC
Thanks for that info, it is indeed there.  Turns out the app I was attempting to use has poor error reporting and picked on the driver not being present rather than the connection string being mangled...

Sorry about that.