List:General Discussion« Previous MessageNext Message »
From:Hugh Sasse Date:September 7 2005 9:24am
Subject:`gmake test` probs Solaris9 for M. 4.1.4.
View as plain text  
Attempts to do make test prior to installation, to check that I'm
installing something workable, give:

<quote>
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 %>
</quote>

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
Thread
`gmake test` probs Solaris9 for M. 4.1.4.Hugh Sasse7 Sep
  • Re: `gmake test` probs Solaris9 for M. 4.1.4.Hugh Sasse9 Sep
    • Re: `gmake test` probs Solaris9 for M. 4.1.4.Michael Stassen9 Sep
      • Re: `gmake test` probs Solaris9 for M. 4.1.4.Hugh Sasse9 Sep
      • Re: `gmake test` probs Solaris9 for M. 4.1.4.Joerg Bruehe9 Sep
        • Re: `gmake test` probs Solaris9 for M. 4.1.4.Hugh Sasse9 Sep
          • Re: `gmake test` probs Solaris9 for M. 4.1.4.Joerg Bruehe14 Sep
      • Re: `gmake test` probs Solaris9 for M. 4.1.4.Hugh Sasse19 Sep
  • How to benchmark performansOKAN ARI19 Sep
    • Re: How to benchmark performansGleb Paharenko2 Oct