Re: Postgres problem when compiling C++ in Red Hat 6.2

From: teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
To: "Mike S(dot) Nowostawsky" <mikenowo(at)sympatico(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres problem when compiling C++ in Red Hat 6.2
Date: 2001-05-18 16:18:20
Message-ID: xuy66eyskab.fsf@halden.devel.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Mike S. Nowostawsky" <mikenowo(at)sympatico(dot)ca> writes:

> I'm taking a course in C++ and have problems compiling for Postgres at home
> with Red hat 6.2 (have 7.1 at school). I tried upgrading to 7.1 but
> can't get x-win to work.

What's the problem?

> I also tried to get the upgrades to Postgres for 6.2, but they won't install successfully.
>
> As it stands I can't get C++ to work with Postgres.
>
> The compile script the teacher gave us for 7.1 is:
>
> c++ -o sql_test -I/usr/include/pgsql -lpq++ using_sql.c++
>
> but when I run it it gives me this error:
>
> sql_test.c++:7: pgsql/libpq++.h: No such file or directory

Do you have postgresql-devel installed?

--
Trond Eivind Glomsrød
Red Hat, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2001-05-18 16:23:08 Re: Disadvantage to RPMs?
Previous Message Marc SCHAEFER 2001-05-18 16:12:03 Re: debian packages for Postgresql 7.1 or higher ?