(RADIATOR) Version 3.3 install

Karl Gaissmaier karl.gaissmaier at rz.uni-ulm.de
Thu Aug 29 03:53:46 CDT 2002


Hi Mike,

Mike McCauley schrieb:
> 
> Hi Chris,
> 
> thanks for reporting this.
> 
> Looks like 5.005 does not look in any version independent site files. Looks
> like we will have to work on this again.
> 
> In the meantime, I have uploaded a new Makefile.PL to the patches area that
> removes the use of PREFIX etc, and it now works the same as in earlier
> versions:
> http://www.open.com.au/radiator/downloads/patches-3.3/Makefile.PL

for me (Solaris 5.9, perl 5.6.1) it's working with this new/old
Makefile.PL as usual with older releases.

Anyway, I think now it's time to rethink the possibility to have
parallel radiator installations simultan for easy upgrade.
(For a lot of us, radiusd is a mission critical application,
upgrades are always a pain if you get running installations
overwritten)

Why do you use the following in your scripts:

# Make sure we get the local libs for preference
BEGIN
{
    unshift(@INC, '.');
    # You will probably have to uncomment the next line if you want to 
    # run this script SUID
    #$ENV{PATH} = '/sbin:/bin:/usr/sbin:/usr/bin';
}

this helps nothing if you use PREFIX=/new/version/test.

unshift(@INC, '.') is normally wrong. This '.' in @INC is
the CWD of the running process not the installdir of the script.

I think you should do this similar like:

use FindBin;
use lib "$FindBin::Bin/../lib/site_perl";

then your PREFIX get's automagically proper handelt.

Perhaps I'm wrong, so please enligth me.

Best regards and thanks again and again and ... for this
wonderful fast and competent support!

	Charly

-- 
Karl Gaissmaier          Computing Center,University of Ulm,Germany
Email:karl.gaissmaier at rz.uni-ulm.de          Network Administration
Tel.: ++49 731 50-22499
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list