Re: Static build of libpq fails

From: "Noreen Jaster" <njaster909(at)charter(dot)net>
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, "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 23:50:59
Message-ID: AFEFJFMKIPGNBLFCIPIJKEACFBAA.njaster909@charter.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers-win32 pgsql-patches

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: pgsql-hackers-win32-owner(at)postgresql(dot)org
[mailto:pgsql-hackers-win32-owner(at)postgresql(dot)org]On Behalf Of Dave Page
Sent: Tuesday, October 12, 2004 4:50 AM
To: Bruce Momjian
Cc: pgsql-hackers-win32(at)postgresql(dot)org; PostgreSQL-patches
Subject: Re: [pgsql-hackers-win32] Static build of libpq fails

> -----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

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

http://archives.postgresql.org

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Leeuw van der, Tim 2004-10-13 06:32:22 Re: [HACKERS] open item: tablespace handing in pg_dump/pg_restore
Previous Message Bruce Momjian 2004-10-12 22:19:03 Re: [HACKERS] Need for DLLINIT in Makefile.shlib

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Jean-Marc EBER 2004-10-13 08:40:21 building and linking C user defined functions for the native win32 PG8.0 beta 3
Previous Message Bruce Momjian 2004-10-12 22:19:03 Re: [HACKERS] Need for DLLINIT in Makefile.shlib

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-10-13 00:42:42 Re: pg_restore - added documentation
Previous Message Tom Lane 2004-10-12 19:42:14 Re: libpq.dll on win32