Mailing lists wrote:

Dear sirs
i need to drive a postgres database using a perl script.

I also have to tell you that i need to run this stuff on a OpenBSD 3.1 box.

First of all, i need to ask you which module should i use.

Honestly, i tried to install the pgsql_perl5-1.9.0.tar.gz but it didn't pass the "make" step - it says:

cc -c -I/usr/local/include/postgresql/libpq-fe.h -fno-strict-aliasing -I/usr/local/include -O2 -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -DPIC -fPIC -I/usr/libdata/perl5/i386-openbsd/5.6.1/CORE Pg.c
Pg.xs:16: libpq-fe.h: No such file or directory
*** Error code 1

and i set the environment variables POSTGRES_INCLUDE and
POSTGRES_LIB, to /usr/local/include/postgresql/libpq-fe.h and /usr/local/lib/libpq.so.2.1, respectively.

Can anyone help me solving this little trouble???
Thanx in advance.

Gabriele
You could build both postgresql and the p5-DBD-Pg module from openbsd's ports.





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to