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/13/2004 12:56:37 PM
List:com.mysql.lists.cluster

Hi Qi,

With Magnus' suggestions, were you able to get MySQL Cluster working? Are you running on a SPARC processor? I have posted a number of messages some time ago about how I was unable to get ndbd started, even after a seemingly successful compile. Executing the command ndbd produces a Bus Error on the SPARC Ultra 10 with Solaris 9 that I am using.

I would appreciate if you could report any success story back to this board. I am curious to find out.

Thanks.

- Alex

At 04:50 AM 8/12/2004, Magnus Svensson wrote:

On Thu, 2004-08-12 at 08:47, Qi Chen wrote:

I have problem to install MySQL Cluster 4.1.3 on Solaris 9. I need help.

My first question is: can I install the cluster from downloaded source code rather than run "bk clone bk://mysql.bkbits.net/mysql-4.1" and "BUILD/compile-solaris-sparc"?

Yes.

I downloaded MySQL 4.1.3. I enabled "--with-ndbcluster -with-ndb-shm". Configure, make and make install were all ok. However, I cannot find the ndb command such as mgmtsrvr, ndb, etc. in the installed directories.

They have been renamed to ndbd and ndb_mgmd respectively. Sorry about the confusion.

If I compile and install 4.1.3 with ndb-cluster enabled, does it mean ndb-cluster will be installed?

Yes, the binaries for starting a cluster is installed.

What is the difference between running compile-solaris-sparc script and compiling the downloaded package from scratch?

There should be none. But it's easier to use the scripts in BUILD, as you see there are a number of steps to remember otherwise.

I also tried BUILD/compile-solaris-sparc script. I have ncurses (5.4) gmake(3.8) gawk(3.12), autoconf(2.59), libtool(1.58) gcc(2.953 and 3.3 both tried), bison(1.75), zlib(1.2.1) ready. However, when I run BUILD/compile-solaris-sparc, I got the following errors:

. . rm -f liblibedit.a false cru liblibedit.a chared.o el.o fgetln.o history.o map.o prompt.o readline. o search.o strlcpy.o tokenizer.o vi.o common.o emacs.o hist.o key.o parse.o read .o refresh.o sig.o term.o tty.o help.o fcns.o gmake[3]: *** [liblibedit.a] Error 1 gmake[3]: Leaving directory `/mysql_common/src/ndb-cluster/mysql-4.1/cmd-line-ut ils/libedit' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/mysql_common/src/ndb-cluster/mysql-4.1/cmd-line-ut ils' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/mysql_common/src/ndb-cluster/mysql-4.1' gmake: *** [all] Error 2

Does anyone know what was wrong with the above error message?

It could be that you have a too high version of libtool 1.58 instead of 1.5. Look at http://dev.mysql.com/doc/mysql/en/Installing_source_tree.html and http://dev.mysql.com/doc/mysql/en/Solaris.html

If the problem still persist please report again...

Best regards Magnus

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