Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

5.1.39

redhat4-i686-32bit-gcc34

  If you are using a version of gcc recent enough to understand the
   -fno-exceptions option, it is very important that you use this
   option. Otherwise, you may compile a binary that crashes randomly.
   Also use -felide-constructors and -fno-rtti along with
   -fno-exceptions. When in doubt, do the following:
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors \
       -fno-exceptions -fno-rtti" ./configure \
       --prefix=/usr/local/mysql --enable-assembler \
       --with-mysqld-ldflags=-all-static

  1. Obtain the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/mysql-5.1.39.tar.gz and unpack
  2. Enter the mysql-5.1.39 directory and run configure: 
  3. Obtain the source from and unpack
  4. run configure:  ./configure --without-server --with-zlib-dir=bundled --prefix=blah >& config-redhat4-i686-32bit-gcc34.log &
  5. makke make >& build-redhat4-i686-32bit-gcc34.log &
  6. make install
  7. Copy the followiing directories into $GLAST_EXT/redhat4-i686-32bit-gcc34/mysql/5.1.39/gcc34
    Docs/   build-rhel4.log3   config.status*  man/         sql-bench/
    README  config/            include/        mysql-test/
    bin/    config-rhel4.log3  lib/            share/