Hello (again),
Second day:
Free the root access (thanks Scott Ribe)
[localhost:/usr/local] rraph% su
make install KO first try (?)
make install OK
Launch "Utilisateurs" of System Preferences, "Users" panel in french
Create user postgres (not X admin but not unprivileged account) because
adduser do not work
...
[localhost:~] postgres% /usr/local/pgsql/bin/postmaster -D
/usr/local/pgsql/data
DEBUG: database system was shut down at 2001-08-08 20:20:04 CEST
DEBUG: CheckPoint record at (0, 1522064)
DEBUG: Redo record at (0, 1522064); Undo record at (0, 0); Shutdown TRUE
DEBUG: NextTransactionId: 615; NextOid: 18720
DEBUG: database system is in production state
OK It's works now! psql works !
So, now, may i use this like on FreeBSD in file /etc/rc.local ?
if [ -x /usr/local/pgsql/bin/pg_ctl -a -x
/usr/local/pgsql/bin/postmaster ]; then
su - -c '/usr/local/pgsql/bin/pg_ctl start -l /var/postgresql/log
-s' postgres
echo -n ' postgresql'
fi
Did someone try pgSQL + apache + PHP 4.0 ?
At the end of the INSTALL file, i see:
MacOS X PPC 7.1 2000-12-11,
Peter Bierman Darwin (only) (<bierman@apple.com>), 2000-12-11,
Beta-2 or higher
Daniel Luke (<dluke@geeklair.net>)
So I do not understand why there is Mac OS X distribution of pgSQL !