Re: [GENERAL] I'm newbie

2005-02-19 Thread Daniel Verite
Mohsen Pahlevanzadeh wrote: > 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. You can call pg_config in your makefile. See http://www.postgresql.org/docs/7.4/static/app-pgconfig.html or man pg_config -- Dani

Re: [GENERAL] I'm newbie

2005-02-19 Thread Mohsen Pahlevanzadeh
> 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 i

Re: [GENERAL] I'm newbie

2005-02-19 Thread Richard Huxton
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

Re: [GENERAL] I'm newbie

2005-02-18 Thread Mohsen Pahlevanzadeh
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. Please guide me on writting a Makefile for a client packege with pgsql. Yours,Mohsen > Mohsen Pahlevanzadeh wrote: >> I know about Makefil

Re: [GENERAL] I'm newbie

2005-02-18 Thread Richard Huxton
Mohsen Pahlevanzadeh wrote: I know about Makefile,But i need to write a Makefile that i can communicate with pgsql & its library & header file from C++. I'm afraid I still don't understand what you mean. If you are looking for C++ libraries so you can access a PostgreSQL database, then you probab

Re: [GENERAL] I'm newbie

2005-02-18 Thread Mohsen Pahlevanzadeh
I know about Makefile,But i need to write a Makefile that i can communicate with pgsql & its library & header file from C++. > Mohsen Pahlevanzadeh wrote: >> Dears, >> I'm writting a package which is pgsql-base under RH9. >> I need to a small Makefile for compiling my package. >> Please guide me..

Re: [GENERAL] I'm newbie

2005-02-18 Thread Richard Huxton
Mohsen Pahlevanzadeh wrote: Dears, I'm writting a package which is pgsql-base under RH9. I need to a small Makefile for compiling my package. Please guide me Can you give more information about what you're trying to do? Do you need general Makefile help, or are you having problems linking to P