Re: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9
Configure cannot find libpq-fe.h. On your system, execute the following (as root): 1. updatedb 2. locate libpq-fe.h This should show you where the devel files are installed on your system. Once you have that, you can make a symlink that points a “standard” location to where your files actually are. Suppose locate show you that libpq-fe.h is in /usr/something/random/pgsql, then you would execute: ln -s /usr/something/random/pgsql /usr/include/pgsql Thereby allowing configure to find libpq-fe.h in /usr/include/pgsql as /usr/include/pgsql/libpq-fe.h In the alternative, you can use: --with-postgresql=/usr/something/random/pgsql Michael Munger, dCAP, MCPS, MCNPS, MBSS High Powered Help, Inc. Microsoft Certified Professional Microsoft Certified Small Business Specialist Digium Certified Asterisk Professional mich...@highpoweredhelp.com From: Hector Javier Agudelo Corredor [mailto:hej...@gmail.com] Sent: Wednesday, January 27, 2016 3:41 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9 Install postgres but when compiling Bacula 9.3.10 7.4 to install it with the command ./configure --with-postgresql. ihave this error checking for PostgreSQL support... no configure: error: Unable to find libpq-fe.h in standard locations [root@bacula74web bacula-7.4.0]# This error is resolved by installing the postgresql-devel but 8.4 yum install postgresql-devel By making the default CentOS version 8.4 but I install PostgreSQL 9.4 is already installed and postgresql-devel version 9.3. But if I do not install this default is the 8.4 does not compile me to install. see bacula1.jpg What should I do to let me run with libraries of version 9.3 of PostgreSQL? i saw the file configuration y the library libpq-fe.h its not there. thanks for your help -- HECTOR -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9
Then you need to download the source for postgres 9.4 and compile from source, making sure that it installs the headers in the appropriate place. Michael Munger, dCAP, MCPS, MCNPS, MBSS High Powered Help, Inc. Microsoft Certified Professional Microsoft Certified Small Business Specialist Digium Certified Asterisk Professional mich...@highpoweredhelp.com<mailto:mich...@highpoweredhelp.com> From: Hector Javier Agudelo Corredor [mailto:hej...@gmail.com] Sent: Wednesday, January 27, 2016 4:18 PM To: Michael Munger Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9 Hi michael I look for this file, but not actually appears if I install the postgresql-devel 8.4. [root@bacula74web bacula-7.4.0]# find / -iname libpq-fe.h [root@bacula74web bacula-7.4.0]# but when i install postgresql-devel 8.4 de psql is 8.4 with database 9.4 i need psql 9.4 2016-01-27 15:53 GMT-05:00 Michael Munger mailto:mich...@highpoweredhelp.com>>: Configure cannot find libpq-fe.h. On your system, execute the following (as root): 1. updatedb 2. locate libpq-fe.h This should show you where the devel files are installed on your system. Once you have that, you can make a symlink that points a “standard” location to where your files actually are. Suppose locate show you that libpq-fe.h is in /usr/something/random/pgsql, then you would execute: ln -s /usr/something/random/pgsql /usr/include/pgsql Thereby allowing configure to find libpq-fe.h in /usr/include/pgsql as /usr/include/pgsql/libpq-fe.h In the alternative, you can use: --with-postgresql=/usr/something/random/pgsql Michael Munger, dCAP, MCPS, MCNPS, MBSS High Powered Help, Inc. Microsoft Certified Professional Microsoft Certified Small Business Specialist Digium Certified Asterisk Professional mich...@highpoweredhelp.com<mailto:mich...@highpoweredhelp.com> From: Hector Javier Agudelo Corredor [mailto:hej...@gmail.com<mailto:hej...@gmail.com>] Sent: Wednesday, January 27, 2016 3:41 PM To: bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net> Subject: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9 Install postgres but when compiling Bacula 9.3.10 7.4 to install it with the command ./configure --with-postgresql. ihave this error checking for PostgreSQL support... no configure: error: Unable to find libpq-fe.h in standard locations [root@bacula74web bacula-7.4.0]# This error is resolved by installing the postgresql-devel but 8.4 yum install postgresql-devel By making the default CentOS version 8.4 but I install PostgreSQL 9.4 is already installed and postgresql-devel version 9.3. But if I do not install this default is the 8.4 does not compile me to install. see bacula1.jpg What should I do to let me run with libraries of version 9.3 of PostgreSQL? i saw the file configuration y the library libpq-fe.h its not there. thanks for your help -- HECTOR -- HECTOR -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9
There's PostgreSQL version 9.2 in the Software Collection. Both RHEL/CentOS 6 have it, so if that is enough for you, the easiest thing would be to change the spec file of the 7.4 backport a bit and rebuild it against the SCL packages. Regards, --Simone On Wed, Jan 27, 2016 at 10:24 PM, Michael Munger < mich...@highpoweredhelp.com> wrote: > Then you need to download the source for postgres 9.4 and compile from > source, making sure that it installs the headers in the appropriate place. > > > > > > Michael Munger, dCAP, MCPS, MCNPS, MBSS > High Powered Help, Inc. > Microsoft Certified Professional > Microsoft Certified Small Business Specialist > Digium Certified Asterisk Professional > mich...@highpoweredhelp.com > > > > *From:* Hector Javier Agudelo Corredor [mailto:hej...@gmail.com] > *Sent:* Wednesday, January 27, 2016 4:18 PM > *To:* Michael Munger > *Cc:* bacula-users@lists.sourceforge.net > *Subject:* Re: [Bacula-users] error compilation bacula 7.4 with > postgresql version 9.3.9 > > > > Hi michael > > > > I look for this file, but not actually appears if I install the > postgresql-devel 8.4. > > > > > > [root@bacula74web bacula-7.4.0]# find / -iname libpq-fe.h > > [root@bacula74web bacula-7.4.0]# > > > > but when i install postgresql-devel 8.4 de psql is 8.4 with database 9.4 > > > > i need psql 9.4 > > > > > > > > > > > > 2016-01-27 15:53 GMT-05:00 Michael Munger : > > Configure cannot find libpq-fe.h. > > On your system, execute the following (as root): > > 1. updatedb > 2. locate libpq-fe.h > > This should show you where the devel files are installed on your system. > Once you have that, you can make a symlink that points a “standard” > location to where your files actually are. > > Suppose locate show you that libpq-fe.h is in /usr/something/random/pgsql, > then you would execute: > > ln -s /usr/something/random/pgsql /usr/include/pgsql > > Thereby allowing configure to find libpq-fe.h in /usr/include/pgsql as > /usr/include/pgsql/libpq-fe.h > > In the alternative, you can use: > > --with-postgresql=/usr/something/random/pgsql > > Michael Munger, dCAP, MCPS, MCNPS, MBSS > High Powered Help, Inc. > Microsoft Certified Professional > Microsoft Certified Small Business Specialist > Digium Certified Asterisk Professional > mich...@highpoweredhelp.com > > From: Hector Javier Agudelo Corredor [mailto:hej...@gmail.com] > Sent: Wednesday, January 27, 2016 3:41 PM > To: bacula-users@lists.sourceforge.net > Subject: [Bacula-users] error compilation bacula 7.4 with postgresql > version 9.3.9 > > > > > Install postgres but when compiling Bacula 9.3.10 7.4 to install it with > the command ./configure --with-postgresql. ihave this error > > checking for PostgreSQL support... no > configure: error: Unable to find libpq-fe.h in standard locations > [root@bacula74web bacula-7.4.0]# > > This error is resolved by installing the postgresql-devel but 8.4 > > > yum install postgresql-devel > > > By making the default CentOS version 8.4 but I install PostgreSQL 9.4 is > already installed and postgresql-devel version 9.3. But if I do not install > this default is the 8.4 does not compile me to install. > > see bacula1.jpg > > What should I do to let me run with libraries of version 9.3 of PostgreSQL? > > i saw the file configuration y the library libpq-fe.h its not there. > > thanks for your help > > -- > HECTOR > > > > > > -- > > HECTOR > > > -- > 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson). http://xkcd.com/229/ http://negativo17.org/ -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] error compilation bacula 7.4 with postgresql version 9.3.9
> 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 (0x7f06792d5000) 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 On Thu, Jan 28, 2016 at 10:54 AM, Simone Caronni wrote: > There's PostgreSQL version 9.2 in the Software Collection. > Both RHEL/CentOS 6 have it, so if that is enough for you, the easiest > thing would be to change the spec file of the 7.4 backport a bit and > rebuild it against the SCL packages. > > Regards, > --Simone > > On Wed, Jan 27, 2016 at 10:24 PM, Michael Munger < > mich...@highpoweredhelp.com> wrote: > >> Then you need to download the source for postgres 9.4 and compile from >> source, making sure that it installs the headers in the appropriate place. >> >> >> >> >> >> Michael Munger, dCAP, MCPS, MCNPS, MBSS >> High Powered Help, Inc. >> Microsoft Certified Professional >> Microsoft Certified Small Business Specialist >> Digium Certified Asterisk Professional >> mich...@highpoweredhelp.com >> >> >> >> *From:* Hector Javier Agudelo Corredor [mailto:hej...@gmail.com] >> *Sent:* Wednesday, January 27, 2016 4:18 PM >> *To:* Michael Munger >> *Cc:* bacula-users@lists.sourceforge.net >> *Subject:* Re: [Bacula-users] error compilation bacula 7.4 with >> postgresql version 9.3.9 >> >> >> >> Hi michael >> >> >> >> I look for this file, but not actually appears if I install the >> postgresql-devel 8.4. >> >> >> >> >> >> [root@bacula74web bacula-7.4.0]# find / -iname libpq-fe.h >> >> [root@bacula74web bacula-7.4.0]# >> >> >> >> but when i install postgresql-devel 8.4 de psql is 8.4 with database 9.4 >> >> >> >> i need psql 9.4 >> >> >> >> >> >> >> >> >> >> >> >> 2016-01-27 15:53 GMT-05:00 Michael Munger : >> >> Configure cannot find libpq-fe.h. >> >> On your system, execute the following (as root): >> >> 1. updatedb >> 2. locate libpq-fe.h >> >> This should show you where the devel files are installed on your system. >> Once you have that, you can make a symlink that points a “standard” >> location to where your files actually are. >> >> Suppose locate show you that libpq-fe.h is in >> /usr/something/random/pgsql, then you would execute: >> >> ln -s /usr/something/random/pgsql /usr/include/pgsql >> >> Thereby allowing configure to find libpq-fe.h in /usr/include/pgsql as >> /usr/include/pgsql/libpq-fe.h >> >> In the alternative, you can use: >> >> --with-postgresql=/usr/something/random/pgsql >> >> Michael Munger, dCAP, MCPS, MCNPS, MBSS >> High Powered Help, Inc. >> Microsoft Certified Professional >> Microsoft Certified Small Business Specialist >> Digium Certified Asterisk Professional >> mich...@highpoweredhelp.com >> >> From: Hector Javier Agudelo Corredor [mailto:hej...@gmail.com] >> Sent: Wednesday, January 27, 2016 3:41 PM >> To: bacula-users@lists.sourceforge.net >> Subject: [Bacula-users] error compilation bacula 7.4 with postgresql >> version 9.3.9 >> >> >> >> >> Install postgres but when compiling Bacula 9.3.10 7.4 to install it with >> the command ./configure --with-postgresql. ihave this error >> >> checking for PostgreSQL support... no >>