(RADIATOR) Version 3.3 install

Mike McCauley mikem at open.com.au
Thu Aug 29 05:56:04 CDT 2002


Hi Karl,

On Thu, 29 Aug 2002 18:53, Karl Gaissmaier wrote:
> 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.

Thanks for the feedback. Looks like it depends heavily on the verison of perl 
installed.


>
> 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:

The main reason is to allow testing from within a distribution: you always run 
with the library files that come with the distribution. Otherwise you can get 
hard to trace effects due to libraries being loaded from previously installed 
version etc.

>
> # 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

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X etc etc

===
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