libnspr4-dev\
libole-storage-lite-perl\
libparent-perl \
- libpq-dev\
libreadline5-dev\
libspreadsheet-writeexcel-perl\
libssh2-1-dev\
fedora16: install_fedora_rpms install_cpan_fedora install_cpan_marc install
debian-squeeze: squeeze generic_debian
-squeeze: install_pgsql_client_debs_91 install_extra_debs_squeeze
+squeeze: install_pgsql_client_backport_debs_91 install_extra_debs_squeeze
generic_debian: install_debs install_yaz test_for_libdbi_pkg install debian_sys_config install_libdbi
# Needs for Ubuntu Lucid Lynx (10.04 LTS):
$(APT_TOOL) install $(DEBS)
install_pgsql_client_debs_90:
- @if [ `$(APT_TOOL) versions libpq-dev | grep ^i|sed 's/^i[ \t]*//'|cut -d. -f1` -eq 8 ]; \
+ @if [ `$(APT_TOOL) versions libpq5 | grep ^i|sed 's/^i[ \t]*//'|cut -d. -f1` -eq 8 ]; \
then \
echo -e "libpq5 / libpq-dev are installed as part of OpenSRF (a dependency" \
"of apache2-prefork-dev), but these are the 8.4 versions and they" \
install_pgsql_server_debs_90:
$(APT_BACKPORT_TOOL) install $(PGSQL_SERVER_DEBS_90)
+install_pgsql_client_backport_debs_91:
+ @if [ `$(APT_TOOL) versions libpq5 | grep ^i|sed 's/^i[ \t]*//'|cut -d. -f1` -eq 8 ]; \
+ then \
+ echo -e "libpq5 / libpq-dev are installed as part of OpenSRF (a dependency" \
+ "of apache2-prefork-dev), but these are the 8.4 versions and they" \
+ "conflict with the 9.0 versions - so remove them, install the pinned" \
+ "backports of 9.0, then reinstall the apache2-prefork-dev package.\n\n" \
+ "**WARNING**: Saying 'Yes' to this step will _remove_ any PostgreSQL" \
+ "databases that might currently exist on this machine." && \
+ $(APT_SAFE_TOOL) remove libpq5 libpq-dev ; \
+ fi
+ $(APT_BACKPORT_TOOL) install $(PGSQL_CLIENT_DEBS_91)
+ $(APT_TOOL) install apache2-prefork-dev
+
install_pgsql_client_debs_91:
$(APT_TOOL) install $(PGSQL_CLIENT_DEBS_91)