Re: I'm newbie

From: Richard Huxton <dev(at)archonet(dot)com>
To: mohsen(at)pahlevanzadeh(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: I'm newbie
Date: 2005-02-19 10:17:51
Message-ID: 4217124F.2070804@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mohsen Pahlevanzadeh wrote:
> Dear Richard:
> 1.Thank you for reply
> 2.Dear Richard,I must write a Makefile for my client packge.But i don't
> know on pgsql's library & path of its include-files.

Depends on how you installed PostgreSQL. If it's via RPM then you can
see what files are installed with "rpm -ql"
rpm -ql postgresql
rpm -ql postgresql-libs
If you installed via source, the files you want are probably somewhere
like /usr/local/pgsql/...

> Please guide me on writting a Makefile for a client packege with pgsql.

Well, if you want a guide to developing software, you might start with:
http://www.tldp.org/HOWTO/Software-Building-HOWTO.html

Some questions for you:
1. Do you know how to write a Makefile for your C++ application without
PostgreSQL?
2. Are you linking to other databases at the moment?
3. Do you know how/where you installed PostgreSQL?
4. Have you read the documentation on libpq in the manuals?
5. Did you download/read and documentation from the libpqxx/pp links I
provided yesterday?

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Browne 2005-02-19 12:46:40 Re: PostgreSQL scaleability question
Previous Message Tatsuo Ishii 2005-02-19 02:15:01 Re: Newbie: PG8 and text file parsing