rpmbuild issue (during the installation of asl)

Customer support forums for Atomic Protector (formerly Atomic Secured Linux). There is no such thing as a bad question here as long as it pertains to using Atomic Protector. Newbies feel free to get help getting started or asking questions that may be obvious. Regular users are asked to be gentle. :-)
copernic2006
Forum User
Forum User
Posts: 86
Joined: Wed Oct 03, 2012 2:51 pm
Location: Algiers

rpmbuild issue (during the installation of asl)

Unread post 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)
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: rpmbuild issue (during the installation of asl)

Unread post 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.
Lemonbit Internet Dedicated Server Management
copernic2006
Forum User
Forum User
Posts: 86
Joined: Wed Oct 03, 2012 2:51 pm
Location: Algiers

Re: rpmbuild issue (during the installation of asl)

Unread post 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)?
prupert
Forum Regular
Forum Regular
Posts: 573
Joined: Tue Aug 01, 2006 2:45 pm
Location: Netherlands

Re: rpmbuild issue (during the installation of asl)

Unread post 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 
Lemonbit Internet Dedicated Server Management
copernic2006
Forum User
Forum User
Posts: 86
Joined: Wed Oct 03, 2012 2:51 pm
Location: Algiers

Re: rpmbuild issue (during the installation of asl)

Unread post by copernic2006 »

Prupert, thank you for the information.
I will open a support ticket so that the bug is corrected.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: rpmbuild issue (during the installation of asl)

Unread post 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.
copernic2006
Forum User
Forum User
Posts: 86
Joined: Wed Oct 03, 2012 2:51 pm
Location: Algiers

Re: rpmbuild issue (during the installation of asl)

Unread post 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.
Post Reply