Forum Linux.pl

Programowanie => PHP, *SQL => Wątek zaczęty przez: w 2012-04-04, 18:08:12

Tytuł: postgresql --with-pdo-pgsql \\
Wiadomość wysłana przez: w 2012-04-04, 18:08:12
próbuje zakablować php 5.4 z --with-pdo-pgsql \\  samo mi wychodzi  tak     --with-pgsql \\ ale jak dodam  pierwszą  regułę  to wskakuje  mi  


checking for PDO includes... checking for PDO includes... /usr/local/directadmin/custombuild/php-5.4.0/ext
checking Oracle OCI support for PDO... no
checking for ODBC v3 support for PDO... no
checking for PostgreSQL support for PDO... yes
checking for pg_config... /usr/bin/pg_config
checking for openssl dependencies... no
checking for PQparameterStatus in -lpq... no
Unable to build the PDO PostgreSQL driver: libpq 7.4+ is required

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

jak wpisze tak to
# dpkg -S  /usr/bin/pg_config
libpq-dev: /usr/bin/pg_config





jeszcze to
d# dpkg --get-selections | grep postgresql*
libapq-postgresql1-dev            install
libapq-postgresql3.0            install
libghc6-haskelldb-hdbc-postgresql-dev      install
libghc6-hdbc-postgresql-dev         install
libghc6-hsql-postgresql-dev         install
libpostgresql-ocaml            install
libpostgresql-ocaml-dev            install
postgresql               install
postgresql-8.3               install
postgresql-8.3-slony1            install
postgresql-8.4               install
postgresql-8.4-slony1            install
postgresql-client            install
postgresql-client-8.3            install
postgresql-client-8.4            install
postgresql-client-common         install
postgresql-common            install
postgresql-contrib            install
postgresql-contrib-8.3            install
postgresql-contrib-8.4            install
postgresql-server-dev-8.3         install
postgresql-server-dev-8.4         install
postgresql-server-dev-all         install
serwer:/usr/local/directadmin/custombuild#
Tytuł: postgresql --with-pdo-pgsql \\
Wiadomość wysłana przez: xavery w 2012-04-10, 11:38:34
Jak dla mnie to ewidentnie brak czegoś w stylu: libpq-devel w wymaganej wersji.
Zobacz co masz:
dpgk -l \\*libpq\\*

A jak nie masz to doinstaluj.