Hi,

I added some stuff to the build system that might help you: Later
versions of postgres have an information-supplying executable called
pg_config. This program can tell other programs where they can find
everything of that particular build of pg.

Information about how you can use it are in the README and the
Makefile, and I'll also quote it here:

See the Makefile for further information on building this module.

Note additions to build system (made in 2007):

  make POSTGRES=SEPARATELY PGINC=... PGLIB=...
  make POSTGRES=PG_CONFIG
  make POSTGRES=PG_CONFIG PG_CONFIG=/path/to/pg_config

NOTE NOTE NOTE!! As of aolserver-4.5.x, the variable INST is used for
a different purpose than it used to be, so DO NOT set it to the installation
dir!! (Also you shouldn't change it unless you discover its new purpose,
which I don't remember at this moment)

Cesáreo,

Looking at the last invocation of make you tried, you should try this:

make AOLSERVER=/usr/local/aolserver ACS=1 POSTGRES=PG_CONFIG
PG_CONFIG=/usr/local/pgsql/bin/pg_config

-Jim

On 11/16/12, Cesáreo García Rodicio <cesa...@cesareox.com> wrote:
> Hi
>
> I'm trying to build nspostgres from github repositories in Mac OS X
> Mountain Lion.
>
> I do:
>
>   > make AOLSERVER=/usr/local/aolserver ACS=1 POSTGRES=/usr/local/pgsql
>
> But I had some errors:
> "
>   Undefined symbols for architecture x86_64:
>    "_Ns_Db0or1Row", referenced from:
>        _PgBindCmd in nspostgres.o
>    "_Ns_Db1Row", referenced from:
>        _PgBindCmd in nspostgres.o
>   ....
>
> "
>
> I did some googling and I found this
> (http://stackoverflow.com/questions/1757509/precompiled-headers-and-compiling-universal-objects-on-osx)
>
> but I'm not sure if it is related.
>
> Any clue?
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> aolserver-talk mailing list
> aolserver-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/aolserver-talk
>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

Reply via email to