amd64/167582: Compile of MySQL NDB Cluster Fails 8.2 AMD64

Erich Prinz erich.freebsd at bpisys.com
Fri May 4 16:00:24 UTC 2012


>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:


More information about the freebsd-amd64 mailing list