Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Install sysbench on debian 64-bit?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
adi003
Posts: 4
Joined: 2009-11-19 11:55

[SOLVED] Install sysbench on debian 64-bit?

#1 Post by adi003 »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Install sysbench on debian 64-bit?

#2 Post by stevepusser »

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:

http://forums.debian.net/viewtopic.php?f=16&t=38976
MX Linux packager and developer

adi003
Posts: 4
Joined: 2009-11-19 11:55

Re: Install sysbench on debian 64-bit?

#3 Post by adi003 »

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?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Install sysbench on debian 64-bit?

#4 Post by stevepusser »

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?
MX Linux packager and developer

adi003
Posts: 4
Joined: 2009-11-19 11:55

Re: Install sysbench on debian 64-bit?

#5 Post by adi003 »

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 ... le&u=29489

Post Reply