Most likely you don't have postgresql installed correctly.  You must have both 
postgresql installed, and postgresql-devel.  Without the -devel rpm, there 
are no client libraries for Bacula to link against.

I just tested this on my system (FC4), and it works fine.  The only difference 
is I used ./configure --with-postgresql  rather than what you specified ...

On Tuesday 29 November 2005 17:49, Jason Baker wrote:
> I am installing the most current version of Bacula on a Fedora Core 4
> system. The box is a Dell Dimension 2350, 256 MB RAM, 30 gig HD.
> Operating system is functioning normal. I installed Postgres during the
> install of FC4 from the packages located on the installation CDs.
> Postgres is version 8.0.3.
> The problem I am having is this:
> When I run the command ./configure --with-postgres  I get the following
> error. (see output below)
>
> [EMAIL PROTECTED] bacula-1.38.2]# ./configure --with-postgresql
> checking for true... /bin/true
> checking for false... /bin/false
> configuring for bacula 1.38.2 (20 November 2005)
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking whether gcc needs -traditional... no
> checking for g++... /usr/bin/g++
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for ranlib... ranlib
> checking for mv... /bin/mv
> checking for rm... /bin/rm
> checking for cp... /bin/cp
> checking for sed... /bin/sed
> checking for echo... /bin/echo
> checking for cmp... /usr/bin/cmp
> checking for tbl... /usr/bin/tbl
> checking for ar... /usr/bin/ar
> checking for openssl... /usr/bin/openssl
> checking for mtx... /usr/local/sbin/mtx
> checking for dd... /bin/dd
> checking for mkisofs... /usr/bin/mkisofs
> checking for python... /usr/bin/python
> checking for growisofs... growisofs
> checking for dvd+rw-mediainfo... dvd+rw-mediainfo
> checking for dvd+rw-format... dvd+rw-format
> checking for pkg-config... /usr/bin/pkg-config
> checking for wx-config... wx-config
> checking for cdrecord... /usr/bin/cdrecord
> checking for pidof... /sbin/pidof
> checking for gawk... gawk
> checking for gawk... /bin/gawk
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for Operating System Distribution... done
> checking whether make sets $(MAKE)... yes
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking whether NLS is requested... yes
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking for msgfmt... (cached) /usr/bin/msgfmt
> checking termcap.h usability... yes
> checking termcap.h presence... yes
> checking for termcap.h... yes
> checking for tgetent in -ltermcap... yes
> checking whether stat file-mode macros are broken... no
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for strcasecmp... yes
> checking for select... yes
> checking for setenv... yes
> checking for putenv... yes
> checking for tcgetattr... yes
> checking for lstat... yes
> checking for lchown... yes
> checking for nanosleep... yes
> checking for nl_langinfo... yes
> checking varargs.h usability... no
> checking varargs.h presence... no
> checking for varargs.h... no
> checking for Python support... no
> checking for socket... yes
> using libc's socket
> checking for OpenSSL... no
> checking for PostgreSQL support... no
> configure: error: Unable to find libpq-fe.h in standard locations
> [EMAIL PROTECTED] bacula-1.38.2]#
>
> How do I fix this issue? I have found very limited information on this
> in the archives. I did find a patch for the Bacula configure file, but I
> have no idea how to apply a patch in linux.
>
> Jason Baker

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to