From: Hugh Sasse Date: September 9 2005 1:14pm Subject: Re: `gmake test` probs Solaris9 for M. 4.1.4. List-Archive: http://lists.mysql.com/mysql/188905 Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed I've see no reply to this and I checked the archives, so please excuse my resubmitting it. Maybe I shouldn't be using 4.1.14 but 4.0.x? Thank you, Hugh On Wed, 7 Sep 2005, Hugh Sasse wrote: > Attempts to do make test prior to installation, to check that I'm > installing something workable, give: > > > neelix hgs 63 %> gmake test > cd mysql-test; perl mysql-test-run.pl && perl mysql-test-run.pl --ps-protocol > No ndbcluster support > Killing Possible Leftover Processes > Removing Stale Files > Installing Master Databases > Installing Master Databases > Installing Slave Databases > Installing Slave Databases > Installing Slave Databases > ======================================================= > Finding Tests in the 'main' suite > Starting Tests in the 'main' suite > > TEST RESULT > ------------------------------------------------------- > > alias [ pass ] > alter_table [ pass ] > analyse [ pass ] > analyze [ pass ] > ansi [ pass ] > archive [ fail ] > Errors are (from /scratch/hgs/mysql-4.1.14/mysql-test/var/log/mysqltest-time) > : > This test is not supported by this installation > mysqltest returned unexpected code 15872, it has probably crashed > (the last lines may be the most important ones) > > Aborting: archive failed. To continue, re-run with '--force'. > Ending Tests > Shutting-down MySQL daemon > > Master(s) shutdown finished > Slave(s) shutdown finished > gmake: *** [test] Error 1 > neelix hgs 64 %> > > > So, firstly, invoke what with '--force'? You don't get anything > useful if you pass that to make > > Also, how can I tell if InnoDB built OK? I'm doing this for use > with Ruby on Rails, and I need it to be in a separate directory from > the version we already have (3.x) used by others. I modified > mysql-4.1.14/BUILD/compile-solaris-sparc thusly > > neelix hgs 81 %> display_diffs.rb . > --- ./compile-solaris-sparc.orig 2005-08-17 18:06:41.000000000 +0100 > +++ ./compile-solaris-sparc 2005-09-06 18:36:25.386697000 +0100 > @@ -11,6 +11,6 @@ > (cd gemini && aclocal && autoheader && aclocal && automake && autoconf) > fi > > -CFLAGS="-g -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W > -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings > -Wunused -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc > CXXFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W > -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings > -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy > -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -O3 > -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa -g" ./configure > --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex > --enable-thread-safe-client > +CFLAGS="-g -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W > -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings > -Wunused -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc > CXXFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W > -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings > -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy > -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -O3 > -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa -g" ./configure > --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex > --enable-thread-safe-client --with-tcp-port=3308 > --with-unix-socket-path=/tmp/mysql4.sock --prefix=/usr/local/mysql-4.1.14 > > gmake -j 4 > neelix hgs 82 %> > and I invoked the script directly, and also tried with bash. > > Not sure what else to pass on. > > GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. > Built for sparc-sun-solaris2.9 > > gcc (GCC) 3.4.3 > > Thank you > Hugh > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql?unsub=hgs@stripped > >