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 
<mich...@highpoweredhelp.com<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

Reply via email to