Re: PQsetdb - Mailing list pgsql-general

From Mohsen Pahlevanzadeh
Subject Re: PQsetdb
Date
Msg-id 32785.81.91.153.7.1109197080.squirrel@81.91.153.7
Whole thread Raw
In response to Re: PQsetdb  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: PQsetdb
List pgsql-general
My Makefile is :
mysql_INCS=-I/usr/include/mysql
pgsql_INCS=-I/usr/include
pgsql_LIBS=-L/usr/lib
mysql_LIBS=-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
CXX=g++
sql2sql : sql2sql.o
        $(CXX) $(mysql_LIBS) $(pgsql_LIBS) -o sql2sql sql2sql.o ;
        rm -rf sql2sql.o ;
sql2sql.o : sql2sql.cpp
        $(CXX) -c $(mysql_INCS) $(pgsql_INCS) sql2sql.cpp;
clean :
        rm -rf sql2sql.o
        rm -rf sql2sql
~

> sszabo@bigpanda.com
>
> On Wed, 23 Feb 2005, Mohsen Pahlevanzadeh wrote:
>
>> If you see my orginal email,I mentioned to link to inc & lib for
>> pgsql.Even when i use PQsetdb,I didn't recieve error message for using
>> PQsetdb.
>
>
> The fragment of execution of make you gave had no mention of them in the
> commandlines shown.  What does your Makefile look like?
>
>
>


pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: Re: Emacs and postgres
Next
From: Shelby Cain
Date:
Subject: Re: stats collector appears to be dying