Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46728 - PHP does not use postgresql use flag (although it exists)
Summary: PHP does not use postgresql use flag (although it exists)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 82899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-03 15:56 UTC by Carsten Otto
Modified: 2007-09-22 23:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Otto 2004-04-03 15:56:50 UTC
Hello!
I'd like to use PHP with support for postgresql. The use flag "postgresql" is set, but after a re-emerge I noticed PHP does not care. Please include support for that flag in the next ebuild.
Thanks, C-Otto

Reproducible: Always
Steps to Reproduce:
1. ufed -> search for postgresql
2. emerge -vp php
3. drink a beer
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-04 01:36:50 UTC
the flag is 'postgres' not 'postgresql' and I use it perfectly fine.
Comment 2 micron 2004-09-20 06:57:45 UTC
I've encountered the same error:
this is what emerge is going to do:

emerge -pv php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-php/php-4.3.8  +X +berkdb +crypt -curl -debug -debug -doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm -gmp -hardenedphp +imap -informix -ipv6 +java +jpeg -kerberos +ldap -mcal -memlimit -mssql -mysql +ncurses +nls -oci8 -odbc +pam +pdflib -png +postgres +qt +readline -snmp -spell +ssl -tiff +truetype +xml2 -yaz  16 kB

As you can see emerge will install php with postgresql support, but looking at the output of a php page like this:
<?
     phpinfo();
?>

I see that in the ./configure command there's a "--without-pgsql" flag...

This appens with dev-php/php-4.3.8, on x86 architecture
Comment 3 micron 2004-09-30 05:28:33 UTC
Switched to dev-php/php-4.3.9 with dev-php/mod_php-4.3.9 and all works fine ;)
Comment 4 Matt Schneider 2005-02-25 23:31:48 UTC
*** Bug 82899 has been marked as a duplicate of this bug. ***