Re: BUG #5960: No rule to make target 'libpq.a', needed by 'all-static-lib'

From: Julia Jacobson <julia(dot)jacobson(at)arcor(dot)de>
To: erob(at)gthcfoundation(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5960: No rule to make target 'libpq.a', needed by 'all-static-lib'
Date: 2011-03-30 21:44:12
Message-ID: 4D93A42C.6070406@arcor.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 30/03/2011 19:49, Etienne Robillard wrote:
> On 30/03/11 12:56 PM, julia(dot)jacobson(at)arcor(dot)de wrote:
>> 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
>>
>>
>
> have you tried with "--enable-static=libpq" ? I'm not sure but this
> issue could also be related
> to the Mingw environment.
>
> Cheers,
>
> Etienne

Well, the "--enable-static=libpq" option isn't very effective, since it
results in the following message:
configure: WARNING: option ignored: --enable-static
Therefore, I would be happy about the compilation with the
--disable-shared option finishing without errors.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2011-03-31 07:58:55 Re: backend for database 'A' crashes/is killed -> corrupt index in database 'B'
Previous Message Lawrence Cohan 2011-03-30 20:49:48 Re: Postgres not using indexes