Bacula-users

Re: [Bacula-users] building on CentOS 5

2008-09-27 18:09:02
Subject: Re: [Bacula-users] building on CentOS 5
From: Craig White <craigwhite AT azapple DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 27 Sep 2008 14:39:48 -0700
On Fri, 2008-09-26 at 22:03 -0700, Craig White wrote:
> rpmbuild -bb \
>   --define 'build_centos5 1' \
>   --define 'build_mysql5 1' \
>   --define 'build_wxconsole 0' \
>   --define 'build_gconsole 0' \
>   --define 'build_bat 1' \
>   bacula.spec
> 
> I get an error...
> 
> + chmod 755 /var/tmp/bacula-root/usr/sbin/bacula-tray-monitor
> chmod: cannot access
> `/var/tmp/bacula-root/usr/sbin/bacula-tray-monitor': No such file or
> directory
> error: Bad exit status from /var/tmp/rpm-tmp.71068 (%install)
> 
> which is correct, there is no bacula-tray-monitor there.
> 
> of course, further up the build process, there was an error building
> this but it doesn't give me enough information about what the build
> error was.
> 
> Can anyone toss me a bone here?
----
seems that all of the problems revolve around building png's for the
console because I am getting errors like:

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcairo.so: undefined
reference to `png_read_info@PNG12_0'

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libwx_gtk2u_core-2.8.so:
undefined reference to `png_create_write_struct@PNG12_0'

and it fails to create
the /var/tmp/bacula-root/usr/bin/bacula-tray-monitor in all cases,
whether trying to build wx-console, gconsole or bat.

I'm virtually certain that I've got all the requisite packages installed
but simply cannot build bacula-2.4.2-2 from the source rpm

What am I missing?

Craig


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>