Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 13:07:58 GMT
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/163244: little correction for benchmarks/sysbench
Message-ID:  <201112131307.pBDD7wLt040318@red.freebsd.org>
Resent-Message-ID: <201112131310.pBDDAAxU020560@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163244
>Category:       misc
>Synopsis:       little correction for benchmarks/sysbench
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 13:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Timofeev
>Release:        FreeBSD 9.0-RC3 amd64
>Organization:
>Environment:
FreeBSD timp 9.0-RC3 FreeBSD 9.0-RC3 #0: Sun Dec  4 20:19:06 MSK 2011     mox@timp:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
There is no PostgreSQL 8.0 in ports and we don't have 7.x branch anymore.

[root@timp /usr/ports/benchmarks/sysbench]# make showconfig
===> The following configuration options are available for sysbench-0.4.12_1:
     LARGEFILE=on "Enable Largefile support"
     MYSQL=on "Enable MySQL support"
     POSTGRESQL=on "Enable PostgreSQL support"
===> Use 'make config' to modify these settings


[root@timp /usr/ports/benchmarks/sysbench]# make install
===>  sysbench-0.4.12_1 cannot install: unknown PostgreSQL version: 80.
*** Error code 1

Stop in /usr/ports/benchmarks/sysbench.

>How-To-Repeat:
try to install benchmarks/sysbench with PostgreSQL support.
>Fix:

[root@timp /usr/ports/benchmarks/sysbench]# diff -u Makefile.orig Makefile
--- Makefile.orig       2011-12-13 17:06:31.000000000 +0400
+++ Makefile    2011-12-13 17:06:56.000000000 +0400
@@ -37,8 +37,6 @@

 .if defined(WITH_POSTGRESQL)
 USE_PGSQL=     yes
-DEFAULT_PGSQL_VER?=    80
-IGNORE_WITH_PGSQL=     73 74
 CONFIGURE_ARGS+=       --with-pgsql
 .else
 CONFIGURE_ARGS+=       --with-pgsql=no

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112131307.pBDD7wLt040318>