> Then you need to download the source for postgres 9.4 and compile from source
it's a really bad idea
# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.7 (Final) Release: 6.7 Codename: Final
# yum install http://yum.postgresql.org/9.4/redhat/rhel-6Server-x86_64/pgdg-centos94-9.4-2.noarch.rpm
# yum install postgresql94-devel.x86_64 postgresql94.x86_64 postgresql94-server.x86_64
# rpm -ql postgresql94-devel | grep libpq-fe.h /usr/pgsql-9.4/include/libpq-fe.h
# ./configure --prefix=/opt/bacula-7.4.0 --with-postgresql=/usr/pgsql-9.4/ ... checking for PostgreSQL support... yes ... Database backends: PostgreSQL
# make install # ldd /opt/bacula-7.4.0/sbin/bacula-dir | grep pgsql libpq.so.5 => /usr/pgsql-9.4//lib/libpq.so.5 (0x00007f06792d5000)
That's all you need to do.
P.S.
during configuring I saw the following warning
config.status: WARNING: 'src/qt-console/bat.pro.in' seems to ignore the --datarootdir setting
Working directory: /opt/bacula/working PID directory: /var/run Subsys directory: /var/lock/subsys Man directory: ${datarootdir}/man Data directory: /usr/share Plugin directory: /usr/lib64 C Compiler: gcc 4.4.7
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|