So, there are some results:
installing PostgreSQL normally:
Code: Select all
wine runas /trustlevel:0x20000 postgresql-10.5-2-windows.exe
It passes successfully the permission issue (as you said DarkShadow44) except I still get the message error at the end of the process, same error as before:
Code: Select all
problem running post-install step. Installation may not complete correctly. The database cluster initialization failed.
I tried start it manually with:
Code: Select all
wine runas /trustlevel:0x20000 postgres.exe
postgres does not know where to find the server configuration file.
You must specify the --config-file or -D invocation option or set the PGDATA environment variable.
I created a config file from a sample:
Code: Select all
wine runas /trustlevel:0x20000 "postgresql-10.5-1-windows-binaries/pgsql/bin/postgres.exe --config-file=postgresql-10.5-1-windows-binaries/pgsql/share/postgresql.conf"
However every time I rerun the command it asks me for new information in the conf file, I tried to fill them until it asks for the database path where it says me that this folder is not a data folder.
I guess I need to run another executable in order to configure PostgreSQL automatically.
Start PostgreSQL with copying Postgres 10.5.1 Binaries:
Code: Select all
wine runas /trustlevel:0x20000 postgresql-10.5-1-windows-binaries/pgsql/bin/postgres.exe
It works directly, no window installer, however I directly get the same message that I need to precise a config file as before.
Do I have to run a script in order to do all the configuration?
Install PostgreSQL on linux with odbc drivers:
I installed mdac27 to get all the odbc part, I have the cliconfg.exe and odbcad32.exe files.
I installed psqlodbc on wine, no problem. But then I don't know what to do.
Thanks for your time.