Re: [Bacula-users] Building from source on Fedora 12
2010-01-15 09:32:40
Bacula RPM Packaging instructions are at the Bacula
RPM Packaging FAQ.
I found I had to tweak the spec file a bit. The .spec included
in the source tarball has the following issues:
- Source file bacula-docs is now bz2 not gz
- Logwatch location wrong for newer distros
- Logwatch applybaculadate script not installed
- Sqlite database not created with correct permissions
- Passwords not set up correctly in conf files
The bacula-3.0.3-1.src.rpm from the downloads page fixes the
first two; if you need a patch to address the others I can send you one.
Apparently a new release is due soon which I hope will fix them
permanently.
Moray.
"To err is human. To purr, feline"
A: Because it breaks the thread of the conversation.
Q: Why is top-posting bad?
From: Bill Damage [mailto:bill.damage AT yahoo DOT com]
Sent: 15 January 2010 12:49
To: Robert Hartzell; bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Building from source on Fedora 12
I've
just upgraded to FC12 and m facing exactly this issue. and would be happy to
install from RPM's if someone could point to a guide please. I have been
building bacula from source for years now as thats how I first did it, and
guess its time now to break the habit. I'm not even sure what the RPM way is,
I'd definitely prefer to use "yum install bacula" and be done with it
but the last time I looked bacula wasn't in any repos I knew of.
From: Robert Hartzell
<bear AT rwhartzell DOT net>
To: bacula-users AT lists.sourceforge DOT net
Sent: Thu, 14 January, 2010 0:36:44
Subject: Re: [Bacula-users] Building from source on Fedora 12
On 01/12/10 03:02 PM, Thomas Bennett wrote:
> you might want to try
>
> yum update openssl
>
>
> yum is the package manager for Fedora and will resolve dependencies.
You can
> also run
>
> yum deplist openssl |grep crypto
>
> which will probably show libcrypto.so.8 or newer and libk5crypto.so.3 or
> newer. It shows these on my Fedora 11 installation 64bit.
>
> Also,
>
> man yum
>
> to see all of the options, like how to force a reinstall of a package.
>
>
> you might want to reinstall of openssl with yum
>
> yum reinstall openssl
>
> This might take care of any missing or messed up dependencies.
>
> Thomas
>
>
>
>
> On Tuesday 12 January 2010 12:35:14 Robert Hartzell wrote:
>> I've been asked by a friend to help setup bacula on a fedora 12
system.
>> Now I admit that I know next to nothing about linux... the last time I
>> installed a Linux system the distro was distributed a big stack of
>> floppys ;-)
>>
>> Note: bacula builds and runs fine when disabling openssl.
>>
>> The problem I having is related to openssl and crypto.c. The specific
>> error is:
>>
>> crypto.c: In function ‘ASN1_OCTET_STRING* openssl_cert_keyid(X509*)’:
>> crypto.c:333: error: invalid conversion from ‘const
X509V3_EXT_METHOD*’
>> to ‘X509V3_EXT_METHOD*’
>>
>> and:
>>
>> "make[1]: *** No rule to make target `../lib/libbacpy.la', needed
by
>> `bacula-sd'. Stop."
>>
>> I'm pretty sure all the needed openssl and zlib pkgs are installed:
>>
>> libpathfinder-openssl.x86_64
>> libpathfinder-openssl-devel.x86_64
>> nss_compat_ossl.x86_64
>> openssl.x86_64 1.0.0-0.13.beta4.fc12
>> openssl-devel.x86_64
>> openssl-perl.x86_64
>> openssl-static.x86_64
>>
>> zlib.x86_64 1.2.3-23.fc12
>> @anaconda-InstallationRepo-200911081904.x86_64
>> zlib-devel.x86_64 1.2.3-23.fc12
>> @anaconda-InstallationRepo-200911081904.x86_64
>> zlib-static.x86_64 1.2.3-23.fc12 @fedora
>>
>> google has turned up a few related posts but no solutions that I have
>> found.
>>
>> So can any of you Linux/fedora guru's out there point me towards a
>> solution?
>>
>> TIA, Robert
>>
>> P.S. I know someone will probably say just install rpm's but I would
>> rather build from source if possible since I'm not at all familiar
with
>> the rpm way of life.
>>
>
Thanks for the pointers... Will try them out this weekend and see what
happens.
--
Robert W Hartzell
bear at rwhartzell.net
RwHartzell.Net
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|