[SOLVED] Install sysbench on debian 64-bit?

New to Debian (Or Linux in general)? Ask your questions here!

[SOLVED] Install sysbench on debian 64-bit?

Postby adi003 » 2010-01-26 17:22

Hello
How do I install sysbench on debian 503 64-bit?

when I run
adi003@a003deb:~/sysbench-0.4.12$ ./configure
checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized
configure: error: /bin/sh config/config.sub x86_64-unknown-linux- failed

* If you're running on 64bit CPU make sure to compile 64bit binary for good
results.
Ok.... but how?
Last edited by adi003 on 2010-01-30 17:17, edited 1 time in total.
adi003
 
Posts: 4
Joined: 2009-11-19 11:55

Re: Install sysbench on debian 64-bit?

Postby stevepusser » 2010-01-27 04:00

I can see in the Squeeze package for 4.10 that the build requirements are:

debhelper (>= 7), dpatch, docbook-xsl, xsltproc, autotools-dev, libmysqlclient15-dev | libmysqlclient-dev

The last two are necessary for building from source, the tools listed before that are for various requirement for patching the source, plus bundling it and the documents into deb files.

Would 4.10 be recent enough? It looks like Lenny has the required packages for that to be backportable to Lenny...and building deb files is a much better way to go than the ./configure/make/make install routine. Take a look at the following link:

viewtopic.php?f=16&t=38976
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Cinnamon 3.8, Midori 6.0
User avatar
stevepusser
 
Posts: 10135
Joined: 2009-10-06 05:53

Re: Install sysbench on debian 64-bit?

Postby adi003 » 2010-01-27 06:29

thanks stevepusser but I am new to the hole linux thing. I don't understand half of the things in that post. Can someone give me a better answer on how can I run sysbench on debian 64 bit?
adi003
 
Posts: 4
Joined: 2009-11-19 11:55

Re: Install sysbench on debian 64-bit?

Postby stevepusser » 2010-01-27 07:35

Well, I can build a 64-bit backport from the Squeeze repository for Debian 5.0.3 Lenny in a minute, far less then it would be to explain everything in that guide....so try this .deb:

http://sites.google.com/site/stevosfile ... _amd64.deb

Now I should say it's not a good security idea to just accept and install debs from Joe who-the heck-are-you on the Internet. Right now in the Linux world we are sort of in an Age of Innocence, without the invasion of evil hackers; to be really safe, it would be better to build from the source code, as in the post. Right now, you'll have to trust that I'm not Evil...

I trust you know how to install a deb with the dpkg -i command as root?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Cinnamon 3.8, Midori 6.0
User avatar
stevepusser
 
Posts: 10135
Joined: 2009-10-06 05:53

Re: Install sysbench on debian 64-bit?

Postby adi003 » 2010-01-27 09:10

THANKS A LOT!
http://fc02.deviantart.net/fs51/f/2009/ ... rabaev.jpg
:)

worked like a charm

PS. I dont hate trojans or any kind of virus btw :)

LE.

a003deb:/home/adi003# sysbench --test=oltp --mysql-user=root --mysql-password=316367 --mysql-host=localhost --debug=off prepare
sysbench 0.4.10: multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
FATAL: unable to connect to MySQL server, aborting...
FATAL: error 1049: Unknown database 'sbtest'
FATAL: failed to connect to database server!

whats the problem?

LE2

mysql -u root -p
create database sbtest;
use sbtest

Solved :D

Thanks http://forums.debian.net/memberlist.php?mode=viewprofile&u=29489
adi003
 
Posts: 4
Joined: 2009-11-19 11:55


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable