From: julia.jacobson@arcor.de
To: erob@gthcfoundation.org
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5960: No rule to make target 'libpq.a', needed by 'all-static-lib'
Date: Wed, 30 Mar 2011 18:56:29 +0200 (CEST)
Message-ID: <1419997972.465046.1301504189555.JavaMail.ngmail@webmail11.arcor-online.net> (raw)
In-Reply-To: <4D9348D7.8020704@gthcfoundation.org>
References: <4D9348D7.8020704@gthcfoundation.org>
<201103301354.p2UDsO88038634@wwwmaster.postgresql.org>
Hello Etienne,
Thanks for your answer.
What do you mean by "you may have hitten yourself in the foot with the --disable-shared option"?
When I don't use this option, everything works fine.
Compiling PostgreSQL 8.4.7 doesn't work either.
The problem is that I need a static libpq. Leaving out the --disable-shared option doesn't results in some pseudo-static libpq and my application still requires a dynamic libpq apart from the static one.
Regards,
Julia
----- Original Nachricht ----
Von: Etienne Robillard <erob@gthcfoundation.org>
An: Julia Jacobson <julia.jacobson@arcor.de>
Datum: 30.03.2011 17:14
Betreff: Re: [BUGS] BUG #5960: No rule to make target 'libpq.a',
needed by 'all-static-lib'
> On 30/03/11 09:54 AM, Julia Jacobson wrote:
> > The following bug has been logged online:
> >
> > Bug reference: 5960
> > Logged by: Julia Jacobson
> > Email address: julia.jacobson@arcor.de
> > PostgreSQL version: 8.4.6
> > Operating system: Windows 7 with Msys/MinGW
> > Description: No rule to make target 'libpq.a', needed by
> > 'all-static-lib'
> > Details:
> >
> > Dear PostgreSQL developers,
> >
> > When trying to compile PostgreSQL 8.4.6 on Windows 7 using MSys (MinGW)
> in
> > order to build a static version of libpq by the commands
> > ./configure --without-zlib --disable-shared
> > make
> > the compilation process ends with the error message
> > "No rule to make target 'libpq.a', needed by 'all-static-lib'".
> > This issue was already discussed here on the mailing list more than 6
> years
> > ago and successfully fixed with a patch:
> > http://archives.postgresql.org/pgsql-hackers-win32/2004-10/msg00057.php
> > However, it seems to me like there is a similar problem in version 8.4.x.
> > Please corrected me if I'm wrong.
> >
> > Regards,
> > Julia
> >
> >
> hm, out of the blue, i believe you may have hitten yourself in the foot
> with the --disable-shared option. If that fails. then maybe you'll have
> different
> results with postgresql 8.4.7..
>
> Cheers,
>
> --
> Etienne Robillard
>
> Company: Green Tea Hackers Club
> Occupation: Software Developer (and CEO)
> E-mail: erob@gthcfoundation.org
> Work phone: 450-936-2123
> Website (Company): https://gthc.org/
> Website (Blog): https://gthc.org/blog/
> PGP public key fingerprint: F2A9 32EA 8E7C 460F 1728 A1A7 649C 7F17 A086
> DDEC
>
> During times of universal deceit, telling the truth becomes a revolutionary
> act. -- George Orwell
>
> If a free society cannot help the many who are poor, it cannot save the few
> who are rich. -- John F. Kennedy
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: julia.jacobson@arcor.de, erob@gthcfoundation.org
Subject: Re: BUG #5960: No rule to make target 'libpq.a', needed by 'all-static-lib'
In-Reply-To: <1419997972.465046.1301504189555.JavaMail.ngmail@webmail11.arcor-online.net>
References: <4D9348D7.8020704@gthcfoundation.org> <201103301354.p2UDsO88038634@wwwmaster.postgresql.org> <1419997972.465046.1301504189555.JavaMail.ngmail@webmail11.arcor-online.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox