[GRASS5] 57 with postgres on OSX

Glynn Clements glynn.clements at virgin.net
Mon Dec 15 15:19:38 EST 2003


Kirk R. Wythers wrote:

> Here is a compile error that I occurs when trying to build 57 (latest  
> snapshot) with postgresql on OSX (the build finished with no errors if  
> I simply remove the lines:
>     --with-postgres-includes=/sw/include/postgresql \
>     --with-postgres-libs=/sw/lib \
> 
> and add the line:
>     --without-postgres \
> 
> to the config script.
> 
> I would very much like to be able to post 57 binaries with postgres  
> support, but I could use some feedback from more experienced builders  
> as to how to resolve this issue. In an earlier email Markus wrote:
> "Your problem looks like a configure issue.
> 
> In ./db/drivers/postgres/Makefile
> CRYPTLIB = -lcrypt
> is hardcoded. Maybe this should go elsewhere into Platform.make
> ?
> 
> Markus"
> 
> Markus, Can you (or anyone else) expand on this idea? I just don't  
> follow.

Just remove that line, or change it to an empty definition, i.e.:

	CRYPTLIB =

If you get any "undefined symbol" errors as a result, tell us what
they are.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list