PostGreSQL with dports build failure.

John Marino dragonflybsd at marino.st
Mon May 20 06:56:49 PDT 2013


On 5/20/2013 14:44, Loïc BLOT wrote:
> Hi all,
> today i would like to test postgresql with dports. Unfortunately, It's
> impossible to compile postgresqlXX-server (all versions).
> The port compile says:
> pq.5 not found
>
> By searching where is the problem, i have noticed that the library comes
> with postgresqlXX-client and the client must be compiled alone. But
> there is another problem, when you compile postgresqlXX-client with NLS
> (default config), NLS failed to configure because gettext dependancy is
> missing. Then cd /usr/dports/devel/gettext && make install clean and
> it's compilable. Dependancy must be fixed :)
>
> After installing this port, we can make & install postgresqlXX-server.
>
> Please note you must test this with a fresh DFlyBSD install, because
> gettext may be installed in some other configurations.


I've seen none of the problems you describe.

1. Did you forget to move /usr/pkg away before compiling?

2. Do you have a specific reason to build from source instead of using 
prebuilt binaries (recommended)?

John



More information about the Users mailing list