From: "Irene A. Shilikhina" <irene () alpha ! iae ! nsk ! su>
To: tru64-unix-managers
Subject: Problem in compiling libpq++ library (PostgreSQL 7.0.2, 4.0D)
Date: Tue, 26 Sep 2000 05:02:39 +0000 [thread overview]
Message-ID: <96994452631662.tru64-unix-managers.marc@archive.invalid> (raw)
Hello All,
since this question is platform-dependent, I dare to ask THIS list.
Before sending this e-mail, I read postgres FAQ for this platform and all
requests to this list about postgres but still did not find what I need.
It was not until I came to trying C++ interface that I saw that libpq++
library had not been installed. When I tried to install it with makefile in
the appropriate directory, I found out the cause of the problem:
GNU c++ version 2.10.0, which I am using, does not allow -c and -o flags
together whereas make (I mean GNU make) produces strings like this:
c++ -D__alpha__ -DNOFIXADE -O4 -Olimit 2000 -I../../backend
-I../../include -I../../interfaces/libpq -c -o pgconnection.o
pgconnection.cc
And it looks really strange because it's implied to use GNU compilers.
When I am trying to bypass the problem and use the native cxx, which allows
using of -o option regardless of the type of file, I have to execute these
strings by hand, in order to lower the level of optimization from -O4, but
again, I run into a heaps of errors like "Invalid declaration", "not
declared" and so on.
So, my question is: is there anyone who has installed libpq++ in PostgreSQL
7.0.2 ? I am extrimely disappointed because C interface is working fine,
but my intention was using exactly C++ interface.
Thanks,
Irene
*************************************************************************
* *
* Irene A. Shilikhina e-mail: irene@alpha.iae.nsk.su *
* System administrator, *
* Institute of Automation & Electrometry, *
* Siberian Branch of Russian Academy of Sciences, *
* Novosibirsk, Russia *
* http://www.iae.nsk.su/~irene *
*************************************************************************
* *
* The road to hell is paved with good intentions. *
* *
*************************************************************************
reply other threads:[~2000-09-26 5:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox