I put the following at the bottom of /msys/1.0/etc/profile:

POSTGRESHOME=/usr/local/pgsql
export MANPATH=$MANPATH:$POSTGRESHOME/man
export PATH=$PATH:$POSTGRESHOME/bin::$POSTGRESHOME/lib
export LD_LIBRARY_PATH=$POSTGRESHOME/lib
export PGDATA=$POSTGRESHOME/data
export PGLIB=$POSTGRESHOME/lib

And everything is peachy-creamy now.

An echo at the end of the make install might be a nice touch for mingw.
But then again, it might be a hassle for other operating systems.

> -----Original Message-----
> From: Dann Corbit 
> Sent: Wednesday, September 01, 2004 1:55 PM
> To: PostgreSQL-development
> Subject: Installation question under MINGW
> 
> 
> Is it normally necessary to manually export the paths:
> /usr/local/pgsql/bin
> /usr/local/pgsql/lib
> 
> After installation of PostgreSQL under MINGW?
> 
> Usually, after:
> make install
> 
> I can run an application, but PostgreSQL's installation does 
> not seem to have exported the paths for me.
> 

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to