Skip site navigation (1) Skip section navigation (2)

Re: Static build of libpq fails

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>,"PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Static build of libpq fails
Date: 2004-10-12 11:49:33
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4306B08@ratbert.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-hackers-win32pgsql-patches
 

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


Responses

pgsql-cygwin by date

Next:From: Reini UrbanDate: 2004-10-12 16:34:43
Subject: Re: open item: tablespace handing in pg_dump/pg_restore
Previous:From: Jason TishlerDate: 2004-10-12 11:30:00
Subject: Re: [HACKERS] Need for DLLINIT in Makefile.shlib

pgsql-patches by date

Next:From: Andrew DunstanDate: 2004-10-12 12:20:40
Subject: Re: Casting INT4 to BOOL...
Previous:From: Sean ChittendenDate: 2004-10-12 07:58:29
Subject: Re: Casting INT4 to BOOL...

pgsql-hackers-win32 by date

Next:From: Reini UrbanDate: 2004-10-12 16:34:43
Subject: Re: open item: tablespace handing in pg_dump/pg_restore
Previous:From: Jason TishlerDate: 2004-10-12 11:30:00
Subject: Re: [HACKERS] Need for DLLINIT in Makefile.shlib

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group