Table of Contents |
---|
5.1.39
redhat4-
...
x86_64-
...
64bit-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
- Obtain the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/mysql-5.1.39.tar.gz and unpack
- Enter the mysql-5.1.39 directory and run configure:
./configure --without-server --with-zlib-dir=bundled --prefix=blah >& config-redhat4-i686-32bit-gcc34.log & - make >& build-redhat4-i686-32bit-gcc34.log &
- make install
redhat4-i686-32bit-gcc34
- Obtain the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/mysql-5.1.39.tar.gz and unpack
- Enter the mysql-5.1.39 directory and run configure:
./configure --without-server --with-zlib-dir=bundled --prefix=blah >& config-redhat4-i686-32bit-gcc34.log & - make >& build-redhat4-i686-32bit-gcc34.log &
- make install
- 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/
redhat5-i686-32bit-gcc41
Build on rhel5-32 or bldlnx09 as glastrm user.
- Obtain the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/mysql-5.1.39.tar.gz and unpack
- Enter the mysql-5.1.39 directory and run configure:
- Obtain the source from and unpack
- run configure: ./configure --without-server --with-zlib-dir=bundled --prefix=blah >& config-redhat4redhat5-i686-32bit-gcc34gcc41.log &
- makke make >& build-redhat4redhat5-i686-32bit-gcc34gcc41.log &
- make install
- Copy the followiing directories into $GLAST_EXT/redhat5-i686-32bit-gcc41/mysql/5.1.39/gcc41
Docs/ build-rhel4.log3 config.status* man/ sql-bench/
README config/ include/ mysql-test/
bin/ config-rhel4.log3 lib/ share/