Need help in setting up DBT2 for PostgreSQL

From: Rohan Pethkar <rohanpethkar(at)gmail(dot)com>
To: markwkm(at)gmail(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Need help in setting up DBT2 for PostgreSQL
Date: 2009-01-28 09:14:55
Message-ID: 4062380c0901280114j6970904dhe2d1ac70349a66e1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi Mark,

I Rohan Pethkar wants to run some of the DBT2 tests on PostgreSQL. I have
downloaded latest DBT2 tarball from http://git.postgresql.org .
I tried steps from which are there in INSTALL file. cmake CMakeLists.txt
command runs fine.I tried to install DBT2 but getting following exception
while running make command :

Output of make command is as follows:

[rohan(at)gem1 dbt2]$ make
[ 3%] Building C object CMakeFiles/bin/dbt2-client.dir/src/db_threadpool.o
In file included from
/home/rohan/NEW_DBT2/Installer/DBT2/dbt2/src/db_threadpool.c:28:
src/include/db.h:35: warning: âstruct db_context_tâ declared inside
parameter list
src/include/db.h:35: warning: its scope is only this definition or
declaration, which is probably not what you want
src/include/db.h:48: warning: âstruct db_context_tâ declared inside
parameter list
src/include/db.h:50: warning: âstruct db_context_tâ declared inside
parameter list
/home/rohan/NEW_DBT2/Installer/DBT2/dbt2/src/db_threadpool.c: In function
âdb_workerâ:
/home/rohan/NEW_DBT2/Installer/DBT2/dbt2/src/db_threadpool.c:70: error:
storage size of âdbcâ isnât known
/home/rohan/NEW_DBT2/Installer/DBT2/dbt2/src/db_threadpool.c:70: warning:
unused variable âdbcâ
make[2]: *** [CMakeFiles/bin/dbt2-client.dir/src/db_threadpool.o] Error 1
make[1]: *** [CMakeFiles/bin/dbt2-client.dir/all] Error 2
make: *** [all] Error 2

Any help on this will be appreciated. Please provide me your valuable inputs
or document (How to setup DBT2? and How to conduct the tests?)so that so
that I can proceed further.

Thanks,
Rohan

Browse pgsql-performance by date

  From Date Subject
Next Message Marcin Stępnicki 2009-01-28 09:27:18 Re: LIKE Query performance
Previous Message Oleg Bartunov 2009-01-28 06:26:54 Re: LIKE Query performance