Re: libpq++ build problems

From: jtv <jtv(at)xs4all(dot)nl>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq++ build problems
Date: 2002-07-03 15:28:34
Message-ID: 20020703152834.GD86191@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 03, 2002 at 02:25:46PM +0800, Christopher Kings-Lynne wrote:
> OK, this is what I'm seeing on FreeBSD/Alpha for libpq++.

[cut]
[paste]

> cc1plus: warning:
> ***
> *** The -O2 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM
> ***

Doesn't say it doesn't work though... Have you tried running the
resulting code?

> I haven't figured out how to build libpqxx yet.:

Basically, ./configure; make; make check; make install. You may have to
use configure options --with-postgres=/your/postgres/dir or its cousins.
Plus, you'll also run into the same gcc warning so you may have to set
the environment variable CXXFLAGS to something like -O before running
configure. The same will probably help with libpq++ as well BTW.

Jeroen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-07-03 15:28:56 Re: (A) native Windows port
Previous Message Hannu Krosing 2002-07-03 15:20:47 Re: listen/notify argument (old topic revisited)