Bacula-users

[Bacula-users] [Fwd: Re: Fedora 8 RPM build cannot find Gnome 2]

2008-09-11 12:35:26
Subject: [Bacula-users] [Fwd: Re: Fedora 8 RPM build cannot find Gnome 2]
From: Jack Lauman <jlauman AT nwcascades DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 11 Sep 2008 09:41:10 -0700

-------- Original Message --------
Subject: Re: [Bacula-users] Fedora 8 RPM build cannot find Gnome 2
Date: Thu, 11 Sep 2008 09:09:30 -0700
From: Jack Lauman <jlauman AT nwcascades DOT com>
Organization: nwcascades.com
To: Gregg A. Discenza <gdiscenza AT carana DOT com>
References: <48C92FDA.1040204 AT nwcascades DOT com> 
<003801c9141e$97880ce0$c69826a0$@com>

Didn't work... If I run configure as follows, it will build without
errors. However 'make install' will not create the bacula user or create
the mysql database and tables.

It would be nice to build the RPM's with the gconsole but there's
something in the .spec file that is preventing it from finding the Gnome
2 installation.

Jack

./configure --build=x86_64-redhat-linux-gnu \
--host=x86_64-redhat-linux-gnu \
--target=x86_64-redhat-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib64 \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--prefix=/usr \
--sbindir=/usr/sbin \
--sysconfdir=/etc/bacula \
--with-scriptdir=/usr/lib64/bacula \
--with-working-dir=/var/lib/bacula \
--with-pid-dir=/var/run \
--enable-smartalloc \
--enable-gnome \
--enable-tray-monitor \
--with-mysql \
--enable-bat \
--with-qwt=/usr/src/redhat/BUILD/bacula-2.4.2/../depkgs/qwt \
--with-python \
--mandir=/usr/share/man \
--with-subsys-dir=/var/lock/subsys \
--with-dir-user=bacula \
--with-dir-group=bacula \
--with-sd-user=bacula \
--with-sd-group=disk \
--with-fd-user=root \
--with-fd-group=bacula \
--with-dir-password=XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX \
--with-fd-password=XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX \
--with-sd-password=XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX \
--with-mon-dir-password=XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX \
--with-mon-fd-password=XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX \
--with-mon-sd-password=XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX \
--with-openssl



Gregg A. Discenza wrote:
> I suspect the problem is that you're trying to "build_bat 1" which is a
> gnome front end to the bacula console.
> 
> My guess is that if you change the "build_bat 1" to "build_bat 0" the build
> would succeed.
> 
> -Gregg
> 
> -----Original Message-----
> From: bacula-users-bounces AT lists.sourceforge DOT net
> [mailto:bacula-users-bounces AT lists.sourceforge DOT net] On Behalf Of Jack 
> Lauman
> Sent: Thursday, September 11, 2008 10:49 AM
> To: bacula-users AT lists.sourceforge DOT net
> Subject: [Bacula-users] Fedora 8 RPM build cannot find Gnome 2
> 
> I'm trying to build Bacula 2.4.2 from the source rpm on a dual opteron
> machine running Fedora 8 using the following command:
> 
> rpmbuild -bb --define="build_fc8 1" \
> --define="build_x86_64 1" \
> --define="build_mysql5 1" \
> --define="build_mysql 1" \
> --define="build_bat 1" \
> --define="build_mtx 1" \
> --define="build_python 1" \
> --define="build_gconsole 0" bacula.spec
> 
> I get the following error:
> 
> configure error: Unable to find Gnome 2 installation
> 
> I've tried disabling the gconsole build with --define="gconsole 0" but
> it tries to build anyway.
> 
> Any help here would be appreciated.
> 
> Thanks,
> 
> Jack
> 
> -------------------------------------------------------------------------
> 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
> 
> 
> -------------------------------------------------------------------------
> 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
> 


-------------------------------------------------------------------------
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>
  • [Bacula-users] [Fwd: Re: Fedora 8 RPM build cannot find Gnome 2], Jack Lauman <=