Re: [pgsql-hackers-win32] Static build of libpq fails - Mailing list pgsql-patches

From Dave Page
Subject Re: [pgsql-hackers-win32] Static build of libpq fails
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4306B08@ratbert.vale-housing.co.uk
Whole thread Raw
Responses Re: [pgsql-hackers-win32] Static build of libpq fails
List pgsql-patches

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
> Sent: 12 October 2004 02:08
> To: Dave Page
> Cc: pgsql-hackers-win32@postgresql.org; 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


pgsql-patches by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: Casting INT4 to BOOL...
Next
From: "Andrew Dunstan"
Date:
Subject: Re: Casting INT4 to BOOL...