Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2012 15:51:51 GMT
From:      Erich Prinz <erich.freebsd@bpisys.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/167582: Compile of MySQL NDB Cluster Fails 8.2 AMD64
Message-ID:  <201205041551.q44FppLM034238@red.freebsd.org>
Resent-Message-ID: <201205041600.q44G0O0k043815@freefall.freebsd.org>

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

>Number:         167582
>Category:       amd64
>Synopsis:       Compile of MySQL NDB Cluster Fails 8.2 AMD64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 04 16:00:23 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Erich Prinz
>Release:        8.2
>Organization:
BPI Systems
>Environment:
FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
>Description:
Compilation fails with the following output:

/usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: In member function 'void Qmgr::execAPI_VERSION_REQ(Signal*)':
/usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:3694: error: 'class ApiVersionConf' has no member named '__inet_addr'
/usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:3700: error: 'class ApiVersionConf' has no member named '__inet_addr'


Following the instructions from a post on building NDB Cluster 7.2, cmake finishes happily but the compile fails here. An earlier post in MySQL bug back in March came back with "likely an OS issue" so posting the bug report here.

This occurs every machine I've tested (all identical and now the 5th machine.)
>How-To-Repeat:
1. Install cmake from ports.
2. DL and unpack mysql-cluster-gpl-7.2.5
3. cmake -DBUILD_CONFIG=mysql_release -DMYSQL_DATADIR=/usr/db/mysql -DINSTALL_MANDIR=/usr/local/man -DINSTALL_SBINDIR=/usr/local/libexec -DINSTALL_MYSQLSHAREDIR=/usr/local/share/mysql -DINSTALL_SCRIPTDIR=/usr/local/bin -DINSTALL_LIBDIR=/usr/local/lib/mysql -DINSTALL_INCLUDEDIR=/usr/local/include/mysql -DINSTALL_BINDIR=/usr/local/bin .
4. make install

It will fail at:  [ 55%] Building CXX object storage/ndb/src/kernel/blocks/CMakeFiles/ndbblocks.dir/qmgr/QmgrMain.cpp.o

>Fix:


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



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