* Problem in compiling libpq++ library (PostgreSQL 7.0.2, 4.0D)
@ 2000-09-26 5:02 Irene A. Shilikhina
0 siblings, 0 replies; only message in thread
From: Irene A. Shilikhina @ 2000-09-26 5:02 UTC (permalink / raw)
To: tru64-unix-managers
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. *
* *
*************************************************************************
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-09-26 5:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-26 5:02 Problem in compiling libpq++ library (PostgreSQL 7.0.2, 4.0D) Irene A. Shilikhina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox