Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Apr 2009 16:05:53 +0200
From:      "Len Conrad" <lconrad@Go2France.com>
To:        <freebsd-questions@freebsd.org>
Subject:   SQLgrey not happy
Message-ID:  <200904071605.AA870842786@mail.Go2France.com>

next in thread | raw e-mail | index | archive | help
Trying to install everything via pkgs, but it messed up.

fbsd 7.1

SQLgrey 1.7.6 installed as pkg_add

p5-DBD-mysql installed as:

pkg_add -r ftp://ftp4.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/All/p5-DBD-mysql-4.010.tbz

starting sqlgrey:

Apr  7 08:25:22 mx1 sqlgrey: Process Backgrounded 
Apr  7 08:25:22 mx1 sqlgrey: 2009/04/07-08:25:22 sqlgrey (type Net::Server::Multiplex) starting! pid(73878) 
Apr  7 08:25:22 mx1 sqlgrey: Binding to TCP port 2501 on host localhost  
Apr  7 08:25:22 mx1 sqlgrey: Setting gid to "1001 1001" 

Apr  7 08:25:22 mx1 sqlgrey: Setting uid to "1003" 

Apr  7 08:25:22 mx1 sqlgrey: fatal: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 11) line 3 

Apr  7 08:25:22 mx1 sqlgrey: fatal: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 11) line 3 Compilation failed in require at (eval 11) line 3. 

Apr  7 08:25:22 mx1 sqlgrey: fatal: install_driver(MySQL) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 11) line 3 Compilation failed in require at (eval 11) line 3. Perhaps a module that DBD::MySQL requires hasn't been fully installed  at /usr/local/sbin/sqlgrey line 814 

pkg_info shows perl-5.8.8_1. 


What usually works when the pkg installs fail is to install via make install in the ports tree.  After deleting the sqlgrey and p5-DBD-mysql-4.010 pkgs, I make'd both them in the ports tree, then get this:

Apr  7 08:43:43 mx1 sqlgrey: Process Backgrounded 

Apr  7 08:43:43 mx1 sqlgrey: 2009/04/07-08:43:43 sqlgrey (type Net::Server::Multiplex) starting! pid(80696) 

Apr  7 08:43:43 mx1 sqlgrey: Binding to TCP port 2501 on host localhost  

Apr  7 08:43:43 mx1 sqlgrey: Setting gid to "1001 1001" 

Apr  7 08:43:43 mx1 sqlgrey: Setting uid to "1003" 

Apr  7 08:43:43 mx1 sqlgrey: fatal: Can't locate object method "driver" via package "DBD::MySQL" at /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm line 787. 

Apr  7 08:43:43 mx1 sqlgrey: fatal: DBD::MySQL initialisation failed: Can't locate object method "driver" via package "DBD::MySQL" at /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm line 787.  Perhaps the capitalization of DBD 'MySQL' isn't right. at /usr/local/sbin/sqlgrey line 814 

Suggestions?

Thanks
Len





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904071605.AA870842786>