Installation not working on every systems

Bug #449620 reported by Olivier Doucet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona BenchWork
New
Undecided
Aleksandr Kuzminsky

Bug Description

Hi,

I tried to install your benchwork but ran into several problems:

1/ DBT2
- DBT2 requires aclocal, but the aclocal version is hard encoded in configure script. ('am__api_version' var in configure)
- configure line is not working. I needed to modify --with-mysql-includes / --with-mysql-lib and remove /mysql
This modifications needed to be done on others scripts, so finally I made a "patch" to add a symlink in include dir / lib dir.

2/ TPC-E
This version does not work with gcc 4.4
I needed to add #include <string.h> on top of every .cpp files (it was a pain :) ).

3/ SysBench
Couldn't find mysqlclient_r, I had to deal with LDFLAGS

4/ TPC-W
Couldn't find mysqlclient_r, I had to deal with LDFLAGS

I think all these issues can be fixed with proper patch to source and modifications to install.sh

With everything fixed, benchwork is OK:
MySQL mysql-5.0.86 is installed
Sysbench is installed
TPC-E is installed
TPC-C is installed
TPC-W is installed

Revision history for this message
Olivier Doucet (odoucet) wrote :

here is diff patch for EGen source to work with GCC 4.4.1

Changed in percona-benchwork:
assignee: nobody → Aleksandr Kuzminsky (akuzminsky)
Revision history for this message
Olivier Doucet (odoucet) wrote :

latest TPC-E (1.9, added in revision 19) is having the same problem with GCC 4.4 (headers missing).

You should add #include <cstring> on top of several .h

Olivier

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.