views:

128

answers:

1

Granted... this is a dumb question, but it's still a mystery to someone like me, whose never done it before... I'm trying to install pgloader, but I can't seem to find any documentation.... I'm running MAMP on MAC OS X. I've already installed the tcllib, and am about to do:

wget http://pgfoundry.org/frs/download.php/233/pgloader-1.0.tar.gz tar zxvf pgloader-1.0.tar.gz

I'm wondering what directory I need to actually untar pgloader into? Is there anything else that I need to do to get it to work?

A: 

From what I could gather (YMMV):

You can always do

tar xzvf pgloader-1.0.tar.gz 

(for any tar archives) to see what's in.

If python is setup you should be able to use from the created folder.

If you intend to import or run from anywhere then make sure its on pythons path.

Unreason
Hi, thanks for trying to help me out... I'm stuck again... Apparently, I need to have Pgtcl installed.... So, I installed macports and then I installed Pgtcl, and I wound up untarring pgloader into /usr/local/src.... But, when I try to run it, I just get this:Cannot load PostgreSQL DB support: can't find package PgtclMake sure the shared libpgtcl is installed properlyI thought that by using MacPorts, this was all handled? Do I need to do someting in postgres to get it to work?
KittyYoung
sorry I am not on mac, but are you sure about pgtcl? i never saw any dependencies on tcl in install instructions... You do need to have python database driver for postgres (psycopg2), but that was it for me.
Unreason