21 messages in com.mysql.lists.clusterRe: Cluster installation on Solaris 9
FromSent OnAttachments
Qi Chen11 Aug 2004 23:46 
Magnus Svensson12 Aug 2004 01:49 
Alexander Haubold13 Aug 2004 12:56 
Qi Chen13 Aug 2004 13:08 
Qi Chen13 Aug 2004 16:28 
Alexander Haubold13 Aug 2004 18:46 
Qi Chen13 Aug 2004 22:37 
Qi Chen14 Aug 2004 15:34 
Jonas Oreland14 Aug 2004 16:01 
Qi Chen14 Aug 2004 16:23 
Qi Chen14 Aug 2004 16:29 
Alexander Haubold14 Aug 2004 17:12 
Jonas Oreland15 Aug 2004 00:15 
Alexander Haubold15 Aug 2004 02:32 
Qi Chen16 Aug 2004 09:43 
Qi Chen16 Aug 2004 10:35 
Jonas Oreland16 Aug 2004 11:56 
Jonas Oreland16 Aug 2004 11:57 
Martin Skold16 Aug 2004 12:48 
Jonas Oreland17 Aug 2004 16:12 
Alexander Haubold18 Aug 2004 15:18 
Subject:Re: Cluster installation on Solaris 9
From:Alexander Haubold (ah2@columbia.edu)
Date:08/18/2004 03:18:06 PM
List:com.mysql.lists.cluster

Hi Jonas and Qi,

I have downloaded the new tree from bk today (8/18). On the Sparc/Solaris 9 box, the compilation is successful, and I am able to start the management server and ndbd without the Bus Error. I have not yet examined any detail other than starting the database. Thanks for the fix!

One item that may not be crucial to the functioning of the database is the following query executed under ndb_mgmd: show config _mgmtSrvr.getConfigInfo()->print; show parameters _mgmtSrvr.getConfigFile()->print;

"show" by itself does work and prints the Cluster Configuration.

Under Solaris x86, the compilation works for ndb/src/mgmsrv by itself, i.e. the errors in main.cpp no longer show up. However, a new error appeared in ndb/src/ndbapi:

Making all in ndbapi gmake[4]: Entering directory `/usr/local/compiled/mysql-4.1/ndb/src/ndbapi' if /bin/bash ../../../libtool --preserve-dup-deps --mode=compile g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../.. -I../../../ndb/src/mgmapi -I. -I../../../include -I../../../ndb/include -I../../../ndb/include/kernel -I../../../ndb/include/transporter -I../../../ndb/include/debugger -I../../../ndb/include/mgmapi -I../../../ndb/include/mgmcommon -I../../../ndb/include/ndbapi -I../../../ndb/include/util -I../../../ndb/include/portlib -I../../../ndb/include/logger -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -fimplicit-templates -MT NdbOperationInt.lo -MD -MP -MF ".deps/NdbOperationInt.Tpo" -c -o NdbOperationInt.lo NdbOperationInt.cpp; \ then mv -f ".deps/NdbOperationInt.Tpo" ".deps/NdbOperationInt.Plo"; else rm -f ".deps/NdbOperationInt.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../.. -I../../../ndb/src/mgmapi -I. -I../../../include -I../../../ndb/include -I../../../ndb/include/kernel -I../../../ndb/include/transporter -I../../../ndb/include/debugger -I../../../ndb/include/mgmapi -I../../../ndb/include/mgmcommon -I../../../ndb/include/ndbapi -I../../../ndb/include/util -I../../../ndb/include/portlib -I../../../ndb/include/logger -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -fimplicit-templates -MT NdbOperationInt.lo -MD -MP -MF .deps/NdbOperationInt.Tpo -c NdbOperationInt.cpp -fPIC -DPIC -o .libs/NdbOperationInt.o In file included from NdbOperationInt.cpp:35: ../../../ndb/include/kernel/Interpreter.hpp:86: error: parse error before numeric constant ../../../ndb/include/kernel/Interpreter.hpp:187: error: parse error before numeric constant ../../../ndb/include/kernel/Interpreter.hpp: In static member function `static Uint32 Interpreter::Branch(...)': ../../../ndb/include/kernel/Interpreter.hpp:188: error: `R2' undeclared (first use this function) ../../../ndb/include/kernel/Interpreter.hpp:188: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../ndb/include/kernel/Interpreter.hpp:188: error: `Inst' undeclared (first use this function) gmake[4]: *** [NdbOperationInt.lo] Error 1 gmake[4]: Leaving directory `/usr/local/compiled/mysql-4.1/ndb/src/ndbapi' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/local/compiled/mysql-4.1/ndb/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/local/compiled/mysql-4.1/ndb' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/compiled/mysql-4.1' gmake: *** [all] Error 2

Thanks, Jonas.

- Alex

At 07:13 PM 8/17/2004, Jonas Oreland wrote:

Hi Alex & Qi,

I've now pushed fixes so that I can compile and run mysql-test-run on a Solaris9/sparc.

It take some hours before the fixes will be available on the public bk-trees.

I would appreciate it you tried them.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Alexander Haubold Columbia University - SEAS 2001, 2003

362 Riverside Dr. #5B3 New York, NY 10025

Phone: +212-853-8239 Email: ah297 [at] columbia [dot] edu WWW: http://www.aquaphoenix.com