Operating System - HP-UX
1835836 Members
2335 Online
110085 Solutions
New Discussion

Problem Installing Bastille

 
Andrew Kaplan
Super Advisor

Problem Installing Bastille

Hi there --

I am running HP-UX 11.11 with Perl 5.8.7, but am having problems installing Bastille. When I run swinstall, I get an error indicating that the prerequisiste Perl 5.8.3E version could not be resolved.

According to the documentation with Bastille, as long as I have Perl version 5.8.3E or later installed, I should not have any problems.

What do I need to do to correct this problem? Thanks.
A Journey In The Quest Of Knowledge
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Problem Installing Bastille

Shalom,

swlist -l product | grep -i perl

SD/UX the system installer for HP-UX checks only its own database for the pre-requisite perl. Though I'm sure perl from other sources would work, the installer will either have to be overridden, which risks you Bastille Results or you will need to get the pre-requisite from http://software.hp.com

Search for PERL5

Its common though somewhat annoying to have several versions of perl on HP-UX systems.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew Kaplan
Super Advisor

Re: Problem Installing Bastille

Hi there --

I ran the command in question and it came back with two versions of Perl. The two versions were the following:

Perl5 B.5.6.1C Perl for HP-UX
perl 5.8.7 perl

Can I safely remove the older version without adversely affecting the functionality of the system, or is there another approach that I should take? Thanks.
A Journey In The Quest Of Knowledge
Bill Hassell
Honored Contributor

Re: Problem Installing Bastille

I would start by seeing where the perl installations are located. Then see what is in your default PATH using the type command:

type perl

If the wrong version shows up first, just rename the perl executable in the wrong directory to perl.old. Also check which version was installed with swinstall:

swlist | grep -i perl

Removing the old version is recommended but if the old package was not installed with swinstall, there may be "perl-droppings" all in several directories. With swinstall packages, you just use swremove.


Bill Hassell, sysadmin
Robert Fritz
Regular Advisor

Re: Problem Installing Bastille

Note also that bastille relies on some Perl modules that come with the HP-distribulted version of Perl, but not some others (For instance Tk for the user interface).

Specifically, the minimum supported perl (on the current web-released Bastille) is the HP-delivered B.5.6.1.E

I'd strongly recommend making sure your installed perl came from HP, either via AR, OEUR, or software.hp.com (all free).

Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin