Re: postgres.h
От | Nupur Pande |
---|---|
Тема | Re: postgres.h |
Дата | |
Msg-id | 014f01c3a484$4208b0d0$6500a8c0@RANIKHET обсуждение исходный текст |
Ответ на | Re: postgres.h (Jason Tishler <jason@tishler.net>) |
Ответы |
Re: postgres.h
|
Список | pgsql-cygwin |
I did exactly that, but it still doesn't work. I don't think -lpostgres is not working even though my /usr/lib contains libpostgres.a now. I have also changed libpostgres.a's permission to reflect those of other .a files. The only difference is the + at the end of the permissions of libpostgres.a which I'm not sure how to change.. $ ls -Al /usr/lib/libp* -rwxr-xr-- 1 Nupur Users 2445312 Nov 6 00:06 /usr/lib/libpostgres.a -rwxr-x---+ 1 Nupur Users 111176 Aug 5 09:31 /usr/lib/libpq.a -rwxr-x---+ 1 Nupur Users 56086 Sep 20 16:32 /usr/lib/libpthread.a My makefile looks like this: RuleFinder.so: RuleFinder.o gcc -shared -lpostgres -L /usr/lib -o RuleFinder.so RuleFinder.o RuleFinder.o: <files> gcc -I /usr/include/postgresql/server -c RuleFinder.c Thanks for the help! Nupur ----- Original Message ----- From: "Jason Tishler" <jason@tishler.net> To: "Nupur Pande" <npande@vt.edu> Cc: <pgsql-cygwin@postgresql.org> Sent: Wednesday, November 05, 2003 10:24 PM Subject: Re: [CYGWIN] postgres.h > Nupur, > > On Wed, Nov 05, 2003 at 05:12:04PM -0500, Nupur Pande wrote: > > Could you please give me precise directions? > > Use the following (after installing all necessary Cygwin packages): > > $ wget -P /tmp http://mirrors.rcn.net/pub/sourceware/cygwin/release/postgresql/postgresql-7.3.4-2-src.tar.bz2 > $ tar -xjf /tmp/postgresql-7.3.4-2-src.tar.bz2 > $ cd postgresql-7.3.4-2 > $ configure --enable-multibyte --prefix=/usr > $ make > $ cp src/backend/libpostgres.a /usr/lib > > Now you can just add -lpostgres to your link command line. > > Jason
В списке pgsql-cygwin по дате отправления: