[Openvas-distro] Problems with building beta2 packages
Stephan Kleine
bitdealer at gmail.com
Fri Nov 21 17:23:30 CET 2008
> I was able to reproduce your error (although it took me some time ...),
> it seems to be related to the way configure handles the --disable-static
> flag. While I investigate this further, could you try a build without
> the --disable-static flag on your system and let me know if it succeeds?
Thanks for the hint, without --disable-static it worked.
Now the good news is that it builds for Mandriva 2007 too but sadly
openvas-libraries fails to build on openSUSE Factory - see
http://rafb.net/p/RDB8Fz11.html for the build log.
My list of things what should be improved / corrected is now the following:
openvas-client:
1. stuff in "nessus" should append "-g" to compile flags like the
makefile in "libnessus" does (same for stuff bellow "src" & "ssl") so
valid debuging information can be retrieved.
2. shouldn't the localization files within "po" get build
automatically - as in without requiring "cd po && make"?
openvas-libraries:
1. it is necessary to run "libtoolize --force" to get correctly named .so files
2. it doesn't build on openSUSE Factory - see
http://rafb.net/p/RDB8Fz11.html for the build log.
openvas-libnasl:
1. it is necessary to run %configure without "--disable-static"
Regarding how to reproduce this: It is actually very easy to do so if
you use osc. The following is a short how to do this:
1. Go to http://build.opensuse.org/ and create an account (no worries
you wont receive a single unwanted mail).
2. Go to http://download.opensuse.org/repositories/openSUSE:/Tools/
and add the subdirectory suiting your distribution / version as a
repository and install "osc".
3. Check out a package: "osc co <project> <package>" - e.g. to get
openvas-libraries from my unstable repo you do "osc co
home:bitshuffler:openvas:unstable openvas-libraries". If needed it
should prompt you for username & password of the account you created
at 1..
4. To build the package for a certain distribution / version &
architecture run "osc build <distribution> <architecture> <file.spec>"
- e.g. "osc build openSUSE_Factory i586 openvas-libraries.spec" -
within the directory that contains the source & .spec files. This will
retrieve all needed build dependencies, setup a minimal chroot
environment (for which it will ask you for the root password) and then
build the package within that chroot environment so your normal system
will remain absolutely untouched.
As you see it is very easy to do, so give it a try :)
best regards
Stephan
More information about the Openvas-distro
mailing list