Is it a permissions problem? The TSL default umask is 0077 which gives files permissions of -rw------- .
I install all perl modules after changing my umask to 0022, then doing my "perl -MCPAN -e shell" followed by the "install ..." I ask because if you run sqlgrey as user and group sqlgrey and you installed the DBD::mysql while as root, then the mysql.pm may be there, bur unreadable by the sqlgrey user. What happens when you do an: ls -l of /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/DBD/mysql.pm Regards, Oscar Nelson wrote: > The recent discussion on sqlgrey made me interested in trying it out > but I'm having trouble getting it setup. I'm attempting to configure > it with myslq(it's defaulted to sqlite). Below is the result of > "service sqlgrey start". > > [EMAIL PROTECTED] ~# service sqlgrey start > Starting SQLgrey: [ OK ] > [EMAIL PROTECTED] ~# install_driver(mysql) failed: Can't locate loadable > object for modul > e DBD::mysql in @INC (@INC contains: > /usr/lib/perl5/5.8.5/i586-linux-thread-mult > i /usr/lib/perl5/5.8.5 > /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi /u > sr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.3 > /usr/lib/perl5/site_ > perl /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi > /usr/lib/perl5/ven > dor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at (eval 7) line 3 > Compilation failed in require at (eval 7) line 3. > Perhaps a module that DBD::mysql requires hasn't been fully installed > at /usr/sbin/sqlgrey line 775 > > DBD::mysql is installed(I manually installed it after downloading it > through CPAN). I got the same error when using the perl-dbd-mysql from > contrib. > > cpan> m DBD::mysql > CPAN: Storable loaded ok > Going to read /root/.cpan/Metadata > Database was generated on Sat, 06 Aug 2005 05:58:42 GMT > Module id = DBD::mysql > DESCRIPTION MySQL driver for DBI > CPAN_USERID RUDY (Rudy Lippan <[EMAIL PROTECTED]>) > CPAN_VERSION 3.0002 > CPAN_FILE C/CA/CAPTTOFU/DBD-mysql-3.0002.tar.gz > DSLI_STATUS RmcO (released,mailing-list,C,object-oriented) > MANPAGE DBD::mysql - MySQL driver for the Perl5 Database > Interface (DBI) > INST_FILE > /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/DBD/mysql.pm > INST_VERSION 3.0002 > > Anyone have any suggestions or is this a bug? > > Thanks, > Oscar > > _______________________________________________ > tsl-discuss mailing list > [email protected] > http://lists.trustix.org/mailman/listinfo/tsl-discuss _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
