Re: Problems with php5-pdo_pgsql, libpq etc. after upgrading postgresql

2011-10-25 Thread Matthias Fechner

Dear list,

Am 24.10.11 07:20, schrieb Jon Theil Nielsen:

databases/php5-pdo_pgsql, I got this error:
...
checking for gawk... gawk
checking for PostgreSQL support for PDO... yes, shared
checking for pg_config... /usr/local/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
===   Script configure failed unexpectedly.


I have exactly the same problem.
Is there already a solution for this available?

Bye
Matthias

--
Programming today is a race between software engineers striving to 
build bigger and better idiot-proof programs, and the universe trying to 
produce bigger and better idiots. So far, the universe is winning. -- 
Rich Cook

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems with php5-pdo_pgsql, libpq etc. after upgrading postgresql

2011-10-25 Thread Matthias Fechner
Dear list,

Am 25.10.2011 11:20, schrieb Matthias Fechner:
 Am 24.10.11 07:20, schrieb Jon Theil Nielsen:
 databases/php5-pdo_pgsql, I got this error:
 ...
 checking for gawk... gawk
 checking for PostgreSQL support for PDO... yes, shared
 checking for pg_config... /usr/local/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
 ===   Script configure failed unexpectedly.
 
 I have exactly the same problem.
 Is there already a solution for this available?

I was able to solve the problem.
I disabled the GSSAPI option in the postgres port and reinstalled the
client and server. After this php5-pdo_pgsql compiles fine.

Bye
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems with php5-pdo_pgsql, libpq etc. after upgrading postgresql

2011-10-23 Thread Jon Theil Nielsen
Hi list,

Last week, I ran portupgrade as usual (after reading UPDATING). At lot of
ports were upgraded, one of them the postgresql database.
In the first place, I had to change the user name to start and access the
database (I placed postgresql_class=postgres in /etc/rc.conf).
Secondly, I could not use davical (caldav calendar server) anymore. I
cannot connect to the database and when I try to access the web interface,
I get an error:
Fatal error: PDO connection error 'pgsql:dbname=davical user=davical_app':
could not find driver in /usr/local/share/awl/inc/AwlDBDialect.php on line
78.*
*I checked my php configuration through phpinfo and I could confirm that
there was no pdo driver for postgresql. There were only drivers for sqlite
and mysql.
When I try to rebuild databases/php5-pdo_pgsql with portupgrade -fRv
databases/php5-pdo_pgsql, I got this error:
...
checking for gawk... gawk
checking for PostgreSQL support for PDO... yes, shared
checking for pg_config... /usr/local/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
===  Script configure failed unexpectedly.

My configuration:
uname -a:
FreeBSD servername 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Oct 16 04:26:18
CEST 2011 root@servername:/usr/obj/usr/src/sys/servername  i386
Some of the relevant ports:
postgresql-client-8.4.9
postgresql-server-8.4.9_2
php5-pdo-5.3.8
php5-pdo_mysql-5.3.8
php5-pdo_pgsql-5.3.8
php5-pdo_sqlite-5.3.8

I will appreciate any help, since I really need this calendar server.
-- 
*Jon Theil Nielsen*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org