From: | "Mohsen Pahlevanzadeh" <mohsen(at)pahlevanzadeh(dot)org> |
---|---|
To: | "Stephan Szabo" <sszabo(at)megazone(dot)bigpanda(dot)com> |
Cc: | "Mohsen Pahlevanzadeh" <mohsen(at)pahlevanzadeh(dot)org>, "Richard Huxton" <dev(at)archonet(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: PQsetdb |
Date: | 2005-02-23 22:17:38 |
Message-ID: | 32785.81.91.153.7.1109197080.squirrel@81.91.153.7 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)bigpanda(dot)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?
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Shelby Cain | 2005-02-23 22:28:23 | Re: stats collector appears to be dying |
Previous Message | Vivek Khera | 2005-02-23 22:05:22 | Re: Ways to speed up dump&reload |