[ic] Help with IC setup and CPAN

Joachim Leidinger interchange-users@interchange.redhat.com
Fri Feb 1 03:08:00 2002


Ron Phipps wrote:
[...]
> > Jason Kohles wrote:
[...]> > OK! You are right! I've rebuild my old perl once more and I've
a new
> > perl beside of my old perl. The old perl is in /usr/bin and the new
> perl
> > is in /usr/local/bin.
> >
> > Question:
> > How can I IC tell to use /usr/local/bin/perl instead of /usr/bin/perl
> > and how can i tell IC setup to use the cpan from perl 5.6.1 instead of
> > cpan from perl 5.005.x? Should I use "/usr/local/bin/perl Makefile.PL"
> > and that is all?
> > We have a lot of old script for the old perl.
> 
> Hey Joachim,
> 
> Take a look here (Thanks to Cameron!):
> 
> http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq19%2e00
> 
> This lays it out step by step on how to run IC with a Perl that is not
> the Perl used by the rest of the system.  I used the FAQ and
> successfully have IC 4.8.3 running with it's own perl while the rest of
> the system uses the older perl.

Thanks! But That is not 100% right for me. I use FreeBSD and FreeBSD can
handle two different Perl.

/usr/bin/perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
...
Characteristics of this binary (from libperl): 
  Built under freebsd
  Compiled at Jan  1 2002 21:45:03
  @INC:
    /usr/libdata/perl/5.00503/mach
    /usr/libdata/perl/5.00503
    /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.005

/usr/local/bin/perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
...
Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under freebsd
  Compiled at Dec  2 2001 23:16:02
  @INC:
    /usr/local/lib/perl5/5.6.1/i386-freebsd
    /usr/local/lib/perl5/5.6.1
    /usr/local/lib/perl5/site_perl/5.6.1/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.005
    /usr/local/lib/perl5/site_perl

And there are some users like "Bob", who are using MV *and* IC as the
same user "Bob". Are there another methode to tell IC to use
/usr/local/lib/perl or are there special prefix setting in IC to replace
all "#!/usr/bin/perl" to "#!/usr/local/bin/perl" at the first
installation time? Or did I not see the right way and solution? Any
idea?

Thanks!

Joachim


--  

Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de