Re: Static build of libpq fails

"Noreen Jaster" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.patches
Message-ID <[email protected]>
PLEASE DO NOT SEND ME ANY MORE MAIL I DON'T KNOW WHO YOU ARE OR WHAT YOU ARE
TALKING ABOUT> THANK YOU

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Dave Page
Sent: Tuesday, October 12, 2004 4:50 AM
To: Bruce Momjian
Cc: [email protected]; PostgreSQL-patches
Subject: Re: [pgsql-hackers-win32] Static build of libpq fails




> -----Original Message-----
> From: Bruce Momjian [mailto:[email protected]]
> Sent: 12 October 2004 02:08
> To: Dave Page
> Cc: [email protected]; PostgreSQL-patches
> Subject: Re: [pgsql-hackers-win32] Static build of libpq fails
>
> Dave Page wrote:
> > Hi,
> >
> > I tried building a static libpq with Mingw, which it seems doesn't
> > work any more:
> >
> > make[3]: *** No rule to make target `libpq.a', needed by
> > `all-static-lib'.  Stop.
> > make[3]: Leaving directory `/cvs/pgsql/src/interfaces/libpq'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/cvs/pgsql/src/interfaces'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/cvs/pgsql/src'
> > make: *** [all] Error 2
> >
> > I can work around this easily enough, however it should
> obviously get
> > fixed at some point.
>
> I got it working easily by doing 'gmake all-static-lib' from
> the src/interfaces/libpq directory.  Is it supposed to work
> somewhere else?

$ ./configure --disable-shared; make all

Will fail (and still does with cvs tip). I normally use that on Linux -
I assume it should also work on Mingw.

Regards, Dave


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.