> 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?
Yes,I know.
> 2. Are you linking to other databases at the moment?
yes.
> 3. Do you know how/where you installed PostgreSQL?
I don't know,Becuase RH9 has it default.
> 4. Have you read the documentation on libpq in the manuals?
yes,But i haven't found any on Makefile.
> 5. Did you download/read and documentation from the libpqxx/pp links I
> provided yesterday?
no,Because i think it no related to my topic.
>
> --
> Richard Huxton
> Archonet Ltd
>