Page 1 of 1

rpmbuild issue (during the installation of asl)

Posted: Mon Apr 28, 2014 3:38 pm
by copernic2006
Hello,
I try to install ASL on a new server, I receive the following error:
Setting up Install Process
No package rpmbuild available.
Error: Nothing to do
ERROR: rpmbuild could not be installed. Contact your OS vendor for further assistance

How I can solve this problem?
Thank you for your help


Configuration:
OS: CLOUDLINUX 6.5 x86_64 standard
Panel: WHM 11.42.1 (build 12)

Re: rpmbuild issue (during the installation of asl)

Posted: Mon Apr 28, 2014 3:56 pm
by prupert
That is weird, ASL does not install, nor requires, rpmbuild.

Note: should you need the package, it is called 'rpm-build' (NOT 'rpmbuild'!) and is published in the base repositories of any EL distro.

Re: rpmbuild issue (during the installation of asl)

Posted: Mon Apr 28, 2014 4:00 pm
by copernic2006
Hello,
Thank you for your response
In principle if ASL does not need this package, why he checks his presence during installation (interrupted due to the error message)?

Re: rpmbuild issue (during the installation of asl)

Posted: Mon Apr 28, 2014 6:40 pm
by prupert
Hmmm, apparently ASL does need the 'rpm-build' package in some cases (DirectAdmin, cPanel). It just looks like a bug in the ASL installer. Let's hope they pick this up from this thread and fix it soon for you!

The bug is here:

Code: Select all

	if [ ! -f /usr/bin/rpmbuild ]; then
		yum -y --disableexcludes=all --skip-broken install rpmbuild  |tee -a $LOG 

Re: rpmbuild issue (during the installation of asl)

Posted: Mon Apr 28, 2014 6:49 pm
by copernic2006
Prupert, thank you for the information.
I will open a support ticket so that the bug is corrected.

Re: rpmbuild issue (during the installation of asl)

Posted: Tue Apr 29, 2014 12:28 pm
by mikeshinn
Because cpanel compiles apache from source, and therefore modsecurity has to be compiled from source. So on those platforms, and others where apache is compiled from source this is a required package.

Re: rpmbuild issue (during the installation of asl)

Posted: Tue Apr 29, 2014 6:53 pm
by copernic2006
Hello,
Just an update of this topic
The technical service modify the installation script and I installed asl successfully.
A big thank you to their availability.