RE: [Unattended] Adding perl DBI module

2004-03-25 Thread Jeff Black

 Our entire Perl installation lives on the network under
 Z:\linuxaux\opt\perl.  So in theory you just need to get the modules
 installed under there.

confused

As I understand it, the z:\linuxaux directory would only be used if booted to the 
Linux Boot Disk
(doable) during the 1st phase of the install BEFORE windows 2K/XP/2K3 is up and 
running. 

I suppose if the aim is only to get the database information at this early stage and 
write
everything to text files on the local machine, as we do now, then doing it this way 
would work. It
seems to me that a more comprehensive solution would be to also get the DBI module to 
function
within windows (harder?) so that no, or almost no, configuration information has to be 
written to
flat files. That and application installation without a full re-install, think 
upgrades to
applications or rollouts of new apps, becomes a lot easier aswell.

/confused




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Adding perl DBI module

2004-03-24 Thread Patrick J. LoPresti
Teresa Jeremy [EMAIL PROTECTED] writes:

 How does one go about adding the DBI perl module to unattended Linux
 version?
 
 My plan is to read configuration info from a mysql database.

Our entire Perl installation lives on the network under
Z:\linuxaux\opt\perl.  So in theory you just need to get the modules
installed under there.

Actually arranging for this to happen might be tricky; I haven't
really thought about it until now...

OK, the easiest thing is to use another Linux box which is already
running Perl 5.8.3.  (Compile it if you have to, or copy the
.../linuxaux/opt/perl tree to /opt/perl, or whatever.)  Then you can
build and install the DBI module like this:

cd DBI-1.42
perl Makefile.PL DESTDIR=/path/to/install/linuxaux/ PREFIX=/opt/perl
make
make install

(Note the trailing slash on DESTDIR.)

If you are running Perl 5.8.1 or 5.8.2, then the second line gets more
complicated:

  perl Makefile.PL DESTDIR=/path/to/install/linuxaux/ PREFIX=/opt/perl 
INSTALLSITELIB=/opt/perl/lib/site_perl/5.8.3

And if you are running 5.8.0 or earlier (before MakeMaker supported
DESTDIR), it gets more complicated still:

  perl Makefile.PL PREFIX=/path/to/install/linuxaux/opt/perl 
INSTALLSITELIB=/path/to/install/linuxaux/opt/perl/lib/site_perl/5.8.3

The same approach should work for any Perl module.  And you might even
be able to use the CPAN module by setting its makepl_arg option...

In theory.

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info