Hello,

Well, I want to use pgaccess with PostgreSQL. But, when I want to, it lakes the 
libpgtcl.dylib.

So Ihave search why and how to build these library. Here is the answer (found on the 
pgaccess site : www.pgaccess.org) : 

"Mac OS X 10.2.1

To run PgAccess on MacOSX? 10.2.1 the libpgtcl needs to be compiled as a dynamic 
library. This can be done manually by:


cd <path to>/postgresql-7.2.2/src/interfaces/libpgtcl

make -C ../../../src/interfaces/libpq all

gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-I../../../src/interfaces/libpq -I../../../src/include -c -o pgtcl.o pgtcl.c

gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-I../../../src/interfaces/libpq -I../../../src/include -c -o pgtclCmds.o pgtclCmds.c

gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-I../../../src/interfaces/libpq -I../../../src/include -c -o pgtclId.o pgtclId.c

ar cr libpgtcl.a `lorder pgtcl.o pgtclCmds.o pgtclId.o | tsort`
ranlib libpgtcl.a

gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations 
-flat_namespace -dynamiclib -undefined suppress pgtcl.o pgtclCmds.o pgtclId.o 
-L../../../src/interfaces/libpq -lpq -o libpgtcl.2.2.dylib


(Note, the last line is the only thing changed from the normal procedure. This could 
probably be modified in the makefile, but I don't know how to do it!)

Then:


ln -s libpgtcl.2.2.dylib libpgtcl.dylib

then move the libpgtcl.dylib into your postgresql library path

Everything else for PgAccess is installed as for other Unix."

Could you please update your patches to make these app usable.

I very thank you.

best regards.


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to