pkgsrc-Users archive

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

Re: HEADS-UP: PostgreSQL update




If you encounter any problems, please let me know.

Under Solaris the locales are not installed at the proper places.

For example, installing databases/postgresql84-client gives

=> Running POST-INSTALL script actions
postgresql84-client-8.4.6: copying /opt/pkg/share/postgresql/pg_service.conf.sample to /opt/pkg/etc/postgresql/pg_service.conf postgresql84-client-8.4.6: copying /opt/pkg/share/postgresql/psqlrc.sample to /opt/pkg/etc/postgresql/psqlrc
pkg_create: can't stat `/opt/pkg/lib/locale/cs/LC_MESSAGES/initdb-8.4.mo'
pkg_create: can't stat `/opt/pkg/lib/locale/cs/LC_MESSAGES/libpq5-8.4.mo'
pkg_create: can't stat `/opt/pkg/lib/locale/cs/LC_MESSAGES/pgscripts-8.4.mo'
pkg_create: can't stat `/opt/pkg/lib/locale/cs/LC_MESSAGES/psql-8.4.mo'

Instead the locales are found in /opt/pkg/share/locale/cs/LC_MESSAGES/.


mk/platform/SunOS.mk defines PKGLOCALEDIR?=  lib

The old Makefile.common contained
PG_LOCALE_DIR=          ${PG_PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+=        --localedir=${PG_LOCALE_DIR}

Best regards,
Uwe


Home | Main Index | Thread Index | Old Index