LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2010, 04:08 AM   #1
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Rep: Reputation: 30
sysbench with centos


how to install sysbench on centos 64-bit?

in sysbench docs it says
./configure
make
make install

but when i run sysbench i get this error:
-bash: sysbench: command not found
 
Old 01-10-2010, 04:12 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Did you do what was indicated in the documentation? Run the three commands one after another when there are no errors? If you ran them are you sure that one of them didn't exit with an error? Maybe it's just that the command hasn't been added to the path. Run:
Code:
which sysbench
or
Code:
whereis sysbench
to find out the location, then CD to that directory and try executing the command from there.

Kind regards,

Eric
 
Old 01-10-2010, 07:10 AM   #3
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
that's right. I'd errors... for some reason the script searches for mysql files in /usr/lib64/mysql/ my located in /usr/lib64/
how can i change it?
 
Old 01-10-2010, 08:42 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Either reinstall mysql or create symlinks to it in /usr/lib64. Looks to me that you'll have to redo the whole process. But first run a
Code:
make clean
Then take it one step at the time. Run
Code:
./configure
and take care of errors if any. After running the configure command without errors, then you run
Code:
make
and if that one runs without errors, then
Code:
make install
Kind regards,

Eric
 
Old 01-10-2010, 11:42 AM   #5
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
thanks. I won't reinstall mysql just to install this software. symlinks didn't work, still the same error.
 
Old 01-10-2010, 11:47 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

When you say still the same error are you referring to the error you had before concerning MySQL? Or to the error you get trying to run the software?

Kind regards,

Eric
 
Old 01-10-2010, 04:10 PM   #7
Stephan_Craft
Member
 
Registered: Jul 2008
Posts: 184

Original Poster
Rep: Reputation: 30
concerning MySQL while configuring
 
Old 01-11-2010, 12:26 AM   #8
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Can you check if you have the possibility to point to another MySQL installation when running the configure command? Type one of the following to check:
Code:
./configure -h 
./configure --help
See if there's an option like:
Code:
--with-mysql-server
or something like that.

Maybe that'll work.

Kind regards,

Eric
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unifying permissions between two servers (CentOS + Webmin/CentOs +Cpanel) and rsync d60eba Linux - Server 1 01-01-2010 12:55 PM
LXer: PV-Grub on CentOS 5.2 PV DomU at Xen 3.3 CentOS 5.2 Dom0 (all 64-bit) LXer Syndicated Linux News 0 10-05-2008 10:12 PM
printer setup from Centos 5 to Vista home prem. on a headless centos pc ncsuapex Red Hat 6 03-10-2008 11:40 AM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 03:41 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration