Paul - 

Thanks for getting back. By 'tweaking the path', presumably you are suggesting 
I tweak the PATH variable itself - which I haven't yet tried. Will do so and 
report back. I have not been able to pass any path option to the --with-pgsql 
directive. Should I be able to? If so, to what exactly should it point? 


I believe, in one of my earlier tests, that I simply moved the pg_config for 
our desired link target into the path .configure searches; this also did not 
work. 


Yes, we do maintain several PostgreSQL environments; some production, others 
related to our testing of PostgreSQL 8.5-alpha releases. 


Will post findings to the list. Lou 

----- Original Message ----- 
From: "Paul J Stevens" <[email protected]> 
To: "DBMail mailinglist" <[email protected]> 
Sent: Tuesday, February 23, 2010 9:41:41 AM GMT -05:00 US/Canada Eastern 
Subject: Re: [Dbmail] dbmail 2.2.15 - want to compile against diferent 
PostgreSQL libraries 

Lou, 

Apparently you already have a postgres development environment 
installed. Dbmail's autoconfigure will locate and use pg_config as 
available in the PATH. If you want to use an other pg_config located 
elsewhere you may need to tweak the path, move the default pg_config 
elsewhere, or use a combination. 


Lou Picciano wrote: 
> Hello dbmailers! 
> 
> Has anyone had luck compiling dbmail against PostgreSQL /not/ located in 
> /usr/? We've tried various options to the ./configure script, but 
> config always reports: 
> 
> checking PostgreSQL headers... -I/usr/include/pgsql 
> checking PostgreSQL libraries... -L/usr/lib -lpq 
> 
> Have tried a CPPFLAGS approach; this hasn't worked. 
> 
> Also tried directing the --with-pgsql option directly to pg_config, or 
> to the libraries... 
> 
> Have even tried fiddling with the Makefiles directly, so far with no joy. 
> 
> Is there a direct way to do this? We keep PostgreSQL in any of several 
> other locations... 
> 
> Platform: Solaris 10 SPARC 
> 
> Thanks, Lou 
> 
> 
> ------------------------------------------------------------------------ 
> 
> _______________________________________________ 
> DBmail mailing list 
> [email protected] 
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail 


-- 
________________________________________________________________ 
Paul Stevens paul at nfg.nl 
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 
The Netherlands________________________________http://www.nfg.nl 
_______________________________________________ 
DBmail mailing list 
[email protected] 
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail 
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to