"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=1470&alloc_id=3638&op=click _______________________________________________ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info