Re: Runing DBT2 on Postgresql - Mailing list pgsql-hackers

From Rohit Goyal
Subject Re: Runing DBT2 on Postgresql
Date
Msg-id CANqGtSu1oo4cJQB83uw+46YaGmsThg4MfJtzRfmG2tYetHVv6A@mail.gmail.com
Whole thread Raw
In response to Re: Runing DBT2 on Postgresql  (Peter Geoghegan <pg@heroku.com>)
Responses Re: Runing DBT2 on Postgresql
List pgsql-hackers
Hi Peter/All, 

Can you please elaborate a bit in details the steps? where are how to run these steps?

Regards,
Rohit Goyal


On Thu, Apr 24, 2014 at 6:57 AM, Peter Geoghegan <pg@heroku.com> wrote:
On Wed, Apr 23, 2014 at 2:33 AM, Rohit Goyal <rhtgyl.87@gmail.com> wrote:
> I am trying to install dbt2 on postgresql database.
>
> cmake(configure) command work fine and but make command(build) give an error
> given below. I have no idea about how to solve it

ld has become less tolerant of certain flag orderings over time in
certain distros. The following tweak may be used as a quick-and-dirty
work around:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a128e3..f6a796b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,7 @@ SET(DBT2_CLIENT bin/dbt2-client)
 SET(DBT2_DATAGEN bin/dbt2-datagen)
 SET(DBT2_DRIVER bin/dbt2-driver)
 SET(DBT2_TXN_TEST bin/dbt2-transaction-test)
+set(CMAKE_EXE_LINKER_FLAGS "-Wl,--no-as-needed")

 #
 # Check for large file support by using 'getconf'.


--
Peter Geoghegan



--
Regards,
Rohit Goyal

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: 9.4 Proposal: Initdb creates a single table
Next
From: Alvaro Herrera
Date:
Subject: Re: Review: ECPG FETCH readahead