gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] bootstrap error on Mandriva 2010 - not really solved


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] bootstrap error on Mandriva 2010 - not really solved
Date: Sun, 26 Sep 2010 11:40:58 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Just to make sure people reading this thread get the full scoop:

On Sun, Sep 19, 2010 at 08:32:21PM +0200, Michael Schütt wrote:

> > in other words you did uncomment the line in bootstrap_latest.sh
> > but it still gives the error ?
> 
> Yes.
> 
> /usr/lib/gnumed-server/server/bootstrap/bootstrap-latest.sh
> 
> #!/bin/bash
> 
> # - should be run as root
> # - command line options:
> #   - "quiet"
> 
> VER="14"
> PREV_VER="13"
> VERSIONS_TO_DROP="2 3 4 5 6 7 8 9 10 11 12"
> QUIET="$1"
> 
> 
> if test ! -n "${GM_LOG_BASE}" ; then
>       GM_LOG_BASE="."
> fi ;
> 
> 
> # if you need to adjust the port you want to use to
> # connect to PostgreSQL you can use the environment
> # variable below (this may be necessary if your PostgreSQL
> # server is running on a port different from the default 5432)
> export GM_DB_PORT="5433"

This is the place inside the bootstrap-latest.sh which needs
to be updated with PGPORT:

> # tell libpq-based tools about the non-default port, if any
> if test -n "${GM_DB_PORT}" ; then
>       PORT_DEF="-p ${GM_DB_PORT}"
        export PGPORT="${GM_DB_PORT}"

> else
>       PORT_DEF=""
> fi ;

Versions later than 0.8 will not need this fix anymore.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]