>> But, make test had errors (I did set up the DBDPG_TEST_xx vars and
>> postgres
>> was running ok). Saw a post on OS X Perl list with the same errors and
>> the
>> person said he recompiled PostgreSQL without SSL support and the tests
>> succeeded.
> 
> Well, DBDPG_TEST_xx aren't the right environment variables as of
> DBD::Pg 1.20. It's DBI_DSN, DBI_USER, and DBI_PASS. But yes, PostgreSQL
> with SSL isn't supported by DBD::Pg at this time.


Well, I discovered that if I compile and install DBD::PG (or Pg) with
non-ssl PostgreSQL installed, make and make tests go ok. Then if I install
PostgreSQL  with SSL support the modules still work.

But, discovered an easier way. Thanks to Mark Liyanage for this tip:

You have to change that environment variable used
> during the build process from
>
>
> setenv POSTGRES_LIB     "/usr/local/pgsql/lib"
>
> to
>
> setenv POSTGRES_LIB     "/usr/local/pgsql/lib -lssl'
>
> so the trick is to include the flag -lssl during the dbd build.






-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/


Reply via email to