Skip to content

FIX: FreeBSD 9.0 mysql-cluster-gpl-7.2.5 QmgrMain.cpp:3694: error: ‘class ApiVersionConf’ has no member named ‘__inet_addr’

March 30, 2012

.. continue from HOWTO: FreeBSD ZFS on root partition (zroot) (freebsd-zfs)

db1# cd ../mysql-cluster-gpl-7.2.5/

db1# cmake -DBUILD_CONFIG=mysql_release -DMYSQL_DATADIR=/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 .

— MySQL 5.5.20-ndb-7.2.5
— Packaging as: mysql-cluster-7.2.5-FreeBSD9.0-x86_64
— Using cmake version 2.8.6
— This is MySQL Cluster 7.2.5
— Building NDB 64-bit
— Checking variable ZLIB_LIBRARY required by NDB
— Checking variable ZLIB_INCLUDE_DIR required by NDB
— Using extra FLAGS for ndb: ” ”
— Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE)
— Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
— Could not find Java
— Could not find JDK
— Using MYSQLCLUSTERDIR: ‘/usr/local/mysql/mysql-cluster’
— Building NDB Memcache using /usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/memcache/extra/memcached
— Using gcc atomic builtins
Warning: Bison executable not found in PATH
— Configuring done

— Generating done
— Build files have been written to: /usr/local/mysql-cluster-gpl-7.2.5

db1#make install

[ 43%] Building CXX object storage/ndb/src/kernel/blocks/CMakeFiles/ndbblocks.dir/qmgr/QmgrMain.cpp.o
In file included from /usr/local/mysql-cluster-gpl-7.2.5/include/my_global.h:351,
from /usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/include/kernel/kernel_types.h:22,
from /usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/vm/Emulator.hpp:28,
from /usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/vm/pc.hpp:23,
from /usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:22,
from /usr/local/mysql-cluster-gpl-7.2.5/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:20:
/usr/include/sys/timeb.h:42:2: warning: #warning “this file includes <sys/timeb.h> which is deprecated”
/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’
*** Error code 1

FIX:

Howto Install mysql-cluster-gpl-7.2.4  on FreeBSD 9 with zfs: 

HOW TO: Install Mysql Cluster 7.2.4 on FreeBSD 9 with ZFS

:):):):)

Advertisements

From → databases, FreeBSD

3 Comments
  1. ulbabrab permalink

    Hi,
    I don’t understand if you managed to fix the compiler error or not…? If yes, can you please share how you did ti? thanks!

  2. NOT, I did not managed to fix the compiler , cuz it’s only lab setups, so just walk on to the other version mysql-cluster-gpl-7.2.4 , which is cleanly copliled

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: