After one day of search, i found how using PT3 with Linux. Commands below are for fedora, easy to translate for any distribution. Hope this will helpful for you.
With user root:
1/ Install PostGreSql on your System
[b1gb] yum -y install postgresql postgresql-server pgadmin3[/b1gb]
[u1gb]2/ Configure the new service to start automatically[/u1gb]
[b1gb] /sbin/chkconfig postgresql on
service postgresql initdb
/sbin/service postgresql start[/b1gb]
[u1gb]3/ Start the postgresql interactive shell [/u1gb]
[b1gb]su - postgres [The dash is important!]
psql template1 [template1 is a database that is included by default with PostgreSQL.][/b1gb]
[u1gb]4/ Set a password for admin user:[/u1gb]
[b1gb]alter user postgres password[/b1gb]
[u1gb]5/ Edit the file "pg_hba.conf" [/u1gb]
use these commands to locate the file:
[b1gb] updatedb
locate pg_hba.conf
cd [i1gb]<Directory of the file>[/i1gb]
gedit pg_hba.conf[/b1gb]
At the end of the file, modify the local lines to use "trust" based authentication rather than "identity". You must have for instance:
[i1gb]local all all trust[/i1gb]
Restart the database service:
[b1gb] /sbin/service postgresql restart[/b1gb]
If all is OK, you should be able to connect with your password like this:
[b1gb]psql -h localhost -U postgres -W -d template1[/b1gb]
[u1gb]6/ Install "Wine", a windows emulator:[/u1gb]
[b1gb] yum -y install wine[/b1gb]
Set it up for Windows XP emulation.
[u1gb]7/ Install in Wine the ODBC Windows driver for PostGreSql[/u1gb]
- Download the latest version here: http://www.postgresql.org/ftp/odbc/versions/msi/
- Extract the files in a directory, and the commands
[b1gb] cd [i1gb]<Directory of extraction>[/i1gb]
msiexec psqlodbc.msi
[/b1gb]
[u1gb]8/ Download PT3 (without postgresql), and open the install file with wine (automatic when wine is installed)[/u1gb]
[u1gb]9/ PT3 asks you the port number for postgresql, default port is OK. Just change in this dialog box the password you set for user "postgres" (step 4)[/u1gb]
10/ [u1gb]PT3 creates and initialize the database[/u1gb].
You may have a database read error, never mind that will works if you quit and re-execute PT3. You can check database creation with the tool "pgadmin3" you have installed on step 1.
That's all folks, good luck.
