migracija postgres 7.1.3 -> 7.2

Branko F. Graèner branko at edico.si
Sat Mar 9 11:47:41 CET 2002


pozdravljeni

odločil sem se, da bom svoj postgres 7.1.3 migriral na 7.2. zadeva se je
prevedla brez problema, zaplete pa se, ko poženem 'make install'.

napaka je naslednja:

gmake -C po install
gmake[3]: Entering directory `/usr/src/postgresql-7.2/src/backend/po'
/bin/sh ../../../config/mkinstalldirs
for lang in ; do \
  /bin/sh ../../../config/install-sh -c -m 644 $lang.mo
/opt/pgsql/share/locale/$lang/LC_MESSAGES/postgres.mo || exit 1; \
done
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `for lang in ; do  /bin/sh
../../../config/install-sh -c -m 644 $lang.mo
/opt/pgsql/share/locale/$lang/LC_MESSAGES/postgres.mo || exit 1;  done'
gmake[3]: *** [install-po] Error 2
gmake[3]: Leaving directory `/usr/src/postgresql-7.2/src/backend/po'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/usr/src/postgresql-7.2/src/backend'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/usr/src/postgresql-7.2/src'
gmake: *** [install] Error 2


torej, preprost sh skript crkne. napaka je seveda v for  zanki, kjer ni
naštetih nobenih argumentov, zato zadeva umre. je kdo že nameščal 7.2 in
naletel na podobne probleme?

in nobenih *.mo datotek ni v source distribuciji...

kakorkoli že, skopiral sem binarne datoteke in upgradal bazo na 7.2, stvar
deluje, samo nisem prepričan, da je stvar res to.

brane






More information about the lugos-list mailing list