From owner-freebsd-questions@FreeBSD.ORG Tue Apr 7 14:54:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C9001065672 for ; Tue, 7 Apr 2009 14:54:43 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 2135C8FC16 for ; Tue, 7 Apr 2009 14:54:43 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id C86A04718F2 for ; Tue, 7 Apr 2009 16:21:32 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 5C7733865D0 for ; Tue, 7 Apr 2009 16:21:29 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Tue, 7 Apr 2009 16:05:53 +0200 Message-Id: <200904071605.AA870842786@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: SQLgrey not happy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 14:54:45 -0000 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