hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : can't install DBD::mysql
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

can't install DBD::mysql

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-08-2004, 08:13 PM
BIGstreets BIGstreets is offline
Junior Guru Wannabe
 
Join Date: Jan 2004
Posts: 50
*

can't install DBD::mysql


I need some help...

I have tried and tried to install DBD::mysql on 2 of my servers and am receiving the same errors...

Code:
Writing Makefile for DBD::mysql
Makefile:89: *** missing separator.  Stop.
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
any help would be appreciated!!!

Reply With Quote


Sponsored Links
  #2  
Old 04-08-2004, 09:06 PM
m-b m-b is offline
Junior Guru
 
Join Date: May 2003
Location: Bayreuth, Bavaria, Germany
Posts: 175
it would be quite useful, if you would provide information about the installed OS of each server ...

If I had to guess, I would say :"install make"

If you use Debian Linux run tasksel and choose "C/C++ Development" and you get everything you need ...


Michael

Reply With Quote
  #3  
Old 04-08-2004, 09:16 PM
BIGstreets BIGstreets is offline
Junior Guru Wannabe
 
Join Date: Jan 2004
Posts: 50
Sorry my bad...here is more detail.

I am running rh9 on server 1 and rhel3 on the other

I am attempting to install it via CPAN with the following command:

Code:
perl -MCPAN -e 'install DBD::mysql'

Reply With Quote
Sponsored Links
  #4  
Old 04-08-2004, 10:51 PM
ericabiz ericabiz is offline
Web Hosting Master
 
Join Date: May 2002
Location: Sunny California
Posts: 1,679
I've had this problem before. Here's the bug from Red Hat's bugzilla: http://bugzilla.redhat.com/bugzilla/...g.cgi?id=87682

To fix it, just type the following on the command line before you drop into CPAN:

Code:
export LANG=en_US
Then run

Code:
perl -MCPAN -e 'install DBD::mysql'
...and that should fix the problem.

__________________
Erica Douglass, Founder, Simpli Hosting, Inc.
»»» I founded Simpli Hosting, and sold it in 2007 to Silicon Valley Web Hosting after over 6 years in the business.
Now I'm blogging at erica.biz!

Reply With Quote
  #5  
Old 04-08-2004, 11:01 PM
BIGstreets BIGstreets is offline
Junior Guru Wannabe
 
Join Date: Jan 2004
Posts: 50
Ya, I already tried that...thanks though! I saw that bug as I googled around for answers, but it did not fix it for me...

Any other ideas?

Thanks!

Reply With Quote
  #6  
Old 04-09-2004, 09:55 AM
FeBox FeBox is offline
Junior Guru
 
Join Date: Jun 2002
Posts: 198
Run the following commands, I just had to fix this issue as well, this worked:

cd /root
wget http://www.cpan.org/authors/id/R/RU/...-2.9003.tar.gz
tar xzf DBD-mysql-2.9003.tar.gz
cd DBD-mysql-2.9003
unset LANG; perl Makefile.PL; make test; make install

And your done.

__________________
www.FeBox.com

Reply With Quote
  #7  
Old 04-14-2004, 05:03 AM
Brightadmin Brightadmin is offline
Web Hosting Master
 
Join Date: Feb 2004
Posts: 772
Hi,

mysql_config tell the perl build module how to link with the driver. The easiest way to fix this is make sure the bin directory of MySQL is in your path. If you can type 'mysql_config' at the command line and get an answer like:

Usage: /usr/local/bin/mysql_config [OPTIONS]
Options: etc .....

The perl DBD module should be able to find and use this program to configure itself.

If you get a command not found error add the mysql bin directory to the path.

Regards,

Bright

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host Rackspace Launches Private Beta for MySQL Cloud Database Web Hosting News 2011-12-01 21:09:51
Softaculous Adds 17 New Apps to Auto Installer Library Web Hosting News 2011-09-12 17:51:10
Web Host A2 Hosting Launches QuickInstaller Tool for VPS Plans Web Hosting News 2011-08-19 20:00:53
Web Host FireHost Partners with Cloud Security Firm Gazzang for Data Encryption Web Hosting News 2011-08-16 20:33:43
Attracta Offers Single-Click Web App Installation to Customers Web Hosting News 2011-08-11 16:57:09


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?