4 messages in com.mysql.lists.clusterRe: Error compiling mysql-5.1.24-ndb-...
FromSent OnAttachments
Anatoly Pidruchny16 Jul 2008 07:55 
Jon Stephens21 Jul 2008 00:59 
Anatoly Pidruchny21 Jul 2008 09:11 
Jon Stephens21 Jul 2008 21:42 
Subject:Re: Error compiling mysql-5.1.24-ndb-6.3.16 on HP-UX 11.11
From:Jon Stephens (jo@mysql.com)
Date:07/21/2008 09:42:05 PM
List:com.mysql.lists.cluster

Anatoly Pidruchny wrote:

Jon,

I just submitted the bug report: http://bugs.mysql.com/bug.php?id=38263.

So noted, thanks.

I saw that there are no more binaries for HP-UX 11.11 on the MySQL Cluster download page: http://dev.mysql.com/downloads/cluster/. I was wondering if MySQL Cluster 6.2.x/6.3.x is supported on HP-UX.

According to http://www.mysql.com/support/supportedplatforms/cluster.html it is supported.

cheers

jon.

Thanks,

Anatoly.

Hi Anatoly,

This looks like a bug - please file a bug report at http://bugs.mysql.com/ if you e not done so already.

Anatoly Pidruchny wrote:

Hi all,

I am not sure where to ask about this problem. I tried to compile the sources from the file mysql-5.1.24-ndb-6.3.16-telco.tar.gz downloaded from ftp://ftp.mysql.com/pub/mysql/download/cluster_telco/ on HP-UX 11.11 and I got the following error:

aCC +O2 +O2 +DA2.0N +Z +ESnolit -Aa -DHPUX11 -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -D_INCLUDE_LONGLONG -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -o mysql mysql.o readline.o sql_string.o completion_hash.o ../cmd-line-utils/readline/libreadline.a -lcurses -lpthread ../libmysql/.libs/libmysqlclient.a -lpthread -lpthread -lrt -lpthread -lpthread ../zlib/.libs/libzlt.a -lnsl -lm /usr/ccs/bin/ld: Unsatisfied symbols: _my_thread_var (first referenced in ../libmysql/.libs/libmysqlclient.a(strtoll.o)) (code)

This is the configure line that I used (it is the same one that I used for compiling the 5.1.x sources and had no problems):

./configure '--prefix=/usr/local/mysql' '--localstatedir=/usr/local/mysql/data' '--libexecdir=/usr/local/mysql/bin' '--with-comment=MySQL Community Server (GPL)' '--with-server-suffix=' '--enable-thread-safe-client' '--enable-local-infile' '--with-pic' '--disable-shared' '--with-client-ldflags=-static' '--with-mysqld-ldflags=-static' '--with-zlib-dir=bundled' '--with-big-tables' '--with-readline' '--with-embedded-server' '--with-archive-storage-engine' '--with-blackhole-storage-engine' '--with-ndbcluster' '--with-csv-storage-engine' '--with-example-storage-engine' '--with-federated-storage-engine' '--with-partition' '--with-innodb' '--with-extra-charsets=all' 'CC=cc' 'CFLAGS=+O2 +DA2.0N +Z +ESnolit' 'CPPFLAGS=-DDEFAULT_THREAD_STACK=262144' 'CXXFLAGS=+O2 +DA2.0N +Z +ESnolit -Aa' 'CXX=aCC'

Am I doing something wrong or nobody tried to compile it on HP-UX 11.11?

Thanks,

Anatoly.