Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2009 19:17:03 GMT
From:      Dan Caescu <daniel@freebsd.ro>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/130308: mysql-connector-odbc not compiling
Message-ID:  <200901081917.n08JH31g078526@www.freebsd.org>
Resent-Message-ID: <200901081920.n08JK10B068789@freefall.freebsd.org>

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

>Number:         130308
>Category:       ports
>Synopsis:       mysql-connector-odbc not compiling
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 08 19:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dan Caescu
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD vps.freebsd.ro 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
mysql-connector-odbc not compiling due to (probably) wrong patching (have not payed too much attention at it)
>How-To-Repeat:
cd /usr/ports/databases/mysql-connector-odbc ; make install
>Fix:
when your compilation fails ( :P ) , just cd to work/mysql-connector-odbc-3.51.26r1127/  and edit the following three files:

driver/results.c
driver/myutil.h
driver/myodbc3.h

Change wherever you see a reference to "bool" to "my_bool" and it should work.

I'm too lazy to write a patch :)

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



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