Compiling MySQL on 4.0G

From: Dermot Paikkos (dermot@sciencephoto.com)
Date: Mon Oct 06 2003 - 12:17:22 EDT


Hi Managers,

MySQL 4.0.15a Tru64 4.0G

I have run into trouble compiling mysql on my system. I have tried
this in a few ways. There are some install notes at mysql that say
use these flags and compiler args. I have tried the 2 options. The
last of these say if you are using Compaq CC compiler this args
should work:

CC="cc -pthread"
CFLAGS="-O4 -ansi_alias -ansi_args -fast -inline speed all -arch
host" CXX="cxx -pthread"
CXXFLAGS="-O4 -ansi_alias -ansi_args -fast -inline speed all -arch
host \
-noexceptions -nortti"
export CC CFLAGS CXX CXXFLAGS
./configure \ --prefix=/usr/local/mysql \ --with-low-memory \ --
enable-large-files \ --enable-shared=yes \ --with-named-thread-
libs="-lpthread -lmach -lexc -lc"

What I got was this:
checking for gcc... cc -pthread
checking for C compiler default output... configure: error: C
compiler cannot create executables

Without these options I could get further but I hit a snag at the
client compilation. So I am not sure what is the best way to
proceed.

There are a few mysql queries in the archives. One mentions using
gcc but that hasn't made a difference. Can anyone help. I have
resorted to trying to compile older 3X versions of mysql and even
tried a binary package built for a later version of Tru64, obviously
they didn't work either.

Thanx.
Dp.
~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:37 EDT