From: | "Mike S(dot) Nowostawsky" <mikenowo(at)sympatico(dot)ca> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Postgres problem when compiling C++ in Red Hat 6.2 |
Date: | 2001-05-18 04:51:09 |
Message-ID: | 3B04AA04.2253930C@sympatico.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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.
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
Any idea what the correct syntax is for the compile statement for Red Hat 6.2 compared
to the 7.1 syntax above?
Thx.
--
===============================================
Mike Nowostawsky:
Email: mikenowo(at)sympatico(dot)ca, mikenowo(at)yahoo(dot)ca
Home Page: http://www3.sympatico.ca/mikenowo/
Lachine (Montreal), Quebec, Canada
From | Date | Subject | |
---|---|---|---|
Next Message | Vikaas BV | 2001-05-18 07:15:14 | Size of Postgres Transaction Logs |
Previous Message | Dr. Evil | 2001-05-18 02:39:06 | Various locking questions |