View Full Version : amanda-server on fedora core 9
errold32
July 26th, 2008, 06:55 PM
Has anyone gotten this (2.6.0p1-server) to install? I am getting all sorts of dependency errors (libcrypto etc). I installed 2.5.2p1 from the fedora repo, but it didn't let me set the password or create the user or anything like that when it installed, and maybe i need to follow some different instructions for that version.
amserverconfig command not found
i would like to use the newest version if possible.
Thanks
dustin
July 28th, 2008, 08:16 AM
We're still working on F9 RPMs. In the interim, you can build one yourself from the SPEC.
Dustin
David Antonacci
September 29th, 2008, 12:24 PM
Hi... I may not be the most savvy at this but when I build from source and try to create the build for FC9, I get the following from "rpmbuild -bb amanda.spec"
error: parse error in expression
error: /usr/src/redhat/SPECS/amanda.spec:113: parseExpressionBoolean returns -1
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
What am I missing here? Suggestions on a fix?
Thanks so much...
David
David Antonacci
September 29th, 2008, 07:47 PM
Ok... fixed it:
There was at least one "%endif" missing in the definitions for fedora and I copied the settings for Fedora Core 8 and changed 8's to 9's. Seems to have fixed it. At least now it is building and telling me if there are failed dependencies. Attached is my copy of the amanda.spec file.
Thanks to Dustin for the nudge.
David
David Antonacci
September 29th, 2008, 07:57 PM
I stand corrected... much further along but still not completing correclty. Errors pointed to the need to install "perl-ExtUtils-Embed". This seems to have done the trick. Using "rpmbuild -bb amanda.spec" now builds the FC9 rpm files. The RPMs were built by the default SPEC with the above modifications mentioned. Server is a Dell PowerEdge 2900 running FC9.
dwlocks
October 2nd, 2008, 04:47 PM
I stand corrected... much further along but still not completing correclty. Errors pointed to the need to install "perl-ExtUtils-Embed". This seems to have done the trick. Using "rpmbuild -bb amanda.spec" now builds the FC9 rpm files. The RPMs were built by the default SPEC with the above modifications mentioned. Server is a Dell PowerEdge 2900 running FC9.
Thanks for the patch. FC9 recognition was added to our trunk using something very similar a couple weeks ago. It will be included in the next release. I also added some code to exit more gracefully if the Distribution/Version is not detected.
Dan