pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedC++ Question
4+ messages / 4 participants
[nested] [flat]
* C++ Question
@ 2001-02-21 05:11 root <Lonnie_Cumberland@yahoo.com>
2001-02-21 15:20 ` Re: C++ Question J. T. Vermeulen <jtv@cistron-office.nl>
2001-02-21 23:53 ` Re: C++ Question Justin Clift <aa2@bigpond.net.au>
0 siblings, 2 replies; 4+ messages in thread
From: root @ 2001-02-21 05:11 UTC (permalink / raw)
To: pgsql-interfaces
Hello All,
I have just finally gotten PostgreSQL 7.0 installed on my Mandrake Linux
box by using the RPM's in the distribution and seem to be having a small
problem.
I am getting some errors when I try to compile up the examples in the
libpg++ directory.
Could someone please shoe me a SIMPLE make file for a C++ program to
compile outside of this directory structure.
For example I am making a directory called "test" and want to compile an
example.cc program from there.
So far I have had not luck in getting any these programs to completely
compile.
Cheers,
Lonnie
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: C++ Question
2001-02-21 05:11 C++ Question root <Lonnie_Cumberland@yahoo.com>
@ 2001-02-21 15:20 ` J. T. Vermeulen <jtv@cistron-office.nl>
1 sibling, 0 replies; 4+ messages in thread
From: J. T. Vermeulen @ 2001-02-21 15:20 UTC (permalink / raw)
To: root <Lonnie_Cumberland@yahoo.com>; +Cc: pgsql-interfaces
On Wed, 21 Feb 2001, root wrote:
> I am getting some errors when I try to compile up the examples in the
> libpg++ directory.
These files are somewhat out of date. For starters, edit the Makefile to
change
HEADERDIR= /usr/local/pgsql/include
to
HEADERDIR=/usr/include/postgresql
HTH,
Jeroen
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: C++ Question
2001-02-21 05:11 C++ Question root <Lonnie_Cumberland@yahoo.com>
@ 2001-02-21 23:53 ` Justin Clift <aa2@bigpond.net.au>
2001-02-22 00:58 ` Re: Re: C++ Question Thomas Lockhart <lockhart@alumni.caltech.edu>
1 sibling, 1 reply; 4+ messages in thread
From: Justin Clift @ 2001-02-21 23:53 UTC (permalink / raw)
To: Lonnie_Cumberland@yahoo.com; +Cc: pgsql-interfaces
Hi Lonnie,
The RPM's that come with the Mandrake Linux 7.2 distribution are
DANGEROUS. Don't use them. See http://techdocs.postgresql.org
For development I'd honestly recommend you install from the source code.
Regards and best wishes,
Justin Clift
Database Administrator
root wrote:
>
> Hello All,
>
> I have just finally gotten PostgreSQL 7.0 installed on my Mandrake Linux
> box by using the RPM's in the distribution and seem to be having a small
> problem.
>
> I am getting some errors when I try to compile up the examples in the
> libpg++ directory.
>
> Could someone please shoe me a SIMPLE make file for a C++ program to
> compile outside of this directory structure.
>
> For example I am making a directory called "test" and want to compile an
> example.cc program from there.
>
> So far I have had not luck in getting any these programs to completely
> compile.
>
> Cheers,
> Lonnie
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Re: C++ Question
2001-02-21 05:11 C++ Question root <Lonnie_Cumberland@yahoo.com>
2001-02-21 23:53 ` Re: C++ Question Justin Clift <aa2@bigpond.net.au>
@ 2001-02-22 00:58 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Lockhart @ 2001-02-22 00:58 UTC (permalink / raw)
To: Justin Clift <aa2@bigpond.net.au>; Lonnie_Cumberland@yahoo.com; +Cc: pgsql-interfaces
> The RPM's that come with the Mandrake Linux 7.2 distribution are
> DANGEROUS. Don't use them. See http://techdocs.postgresql.org
> For development I'd honestly recommend you install from the source code.
Hmm. I'm not certain why we would characterize them as DANGEROUS, since
we itemize the two known issues and then just to CYA someone added "...
and other problems." even though afaik there are none. The date/time
rounding problem is only for output, and, for example, upgrading from
the default Mandrake RPM set to the one at ftp.postgresql.org should be
sufficient to fix the problem (the database contents will be undamaged).
There are 7.0.2 RPMs with both of these particular issues fixed
available at ftp.postgresql.org. I *haven't* tried to do development
with them (at least for more than a minute or two) and I'm not certain
that there is a complete set of header files available for development.
That would be an issue for all other RPM distros too, so perhaps there
is more info on those.
btw, I have had trouble building the 7.0.3 RPM due to a really annoying
disappearing file in the postgresql perl installation process.
- Thomas
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2001-02-22 00:58 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-21 05:11 C++ Question root <Lonnie_Cumberland@yahoo.com>
2001-02-21 15:20 ` J. T. Vermeulen <jtv@cistron-office.nl>
2001-02-21 23:53 ` Justin Clift <aa2@bigpond.net.au>
2001-02-22 00:58 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
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