Mailing Lists wrote: > > I also have to tell you that i need to run this stuff on a OpenBSD 3.1 > box. >
another OpenBSD user :-) > > 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. set your POSTGRES_INCLUDE and POSTGRES_LIB to the directory where the header and the lib can be found: setenv POSTGRES_INCLUDE /usr/local/include/postgresql setenv POSTGRES_LIB /usr/local/lib and try again. you might need different shell syntax but i am sure you can figure that part out :-) david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]