From: Irvine Short <irvine () sanbi ! ac ! za>
To: tru64-unix-managers
Subject: SUMMARY: compiling MySQL with gcc on Tru64 5.0
Date: Mon, 28 Aug 2000 10:38:05 +0000 [thread overview]
Message-ID: <96745902319056.tru64-unix-managers.marc@archive.invalid> (raw)
OK, so it was a case of RTFM. I just had to find which FM to R!
Here's a link to the necessary info:
http://www.mysql.com/documentation/mysql/bychapter/manual_Installing.html#Alpha-DEC-Unix
Thanks to Antony Somerville, Sinisa Milivojevic and the others.
To cut a long story short, the trick is to use a combo of Compaq cc for
c and gcc for the c++ bits, like this:
CC=cc CFLAGS=-O CXX=gcc CXXFLAGS=-O3 ./configure \
--prefix=/usr/local/mysql
Then you will cop this error:
***
With `gcc' 2.95.2, you will probably run into the
following compile
error:
sql_acl.cc:1456: Internal compiler error in
`scan_region', at except.c:2566
Please submit a full bug report.
To fix this you should change to the `sql' directory and
do a 'cut and
paste' of the last `gcc' line, but change `-O3' to `-O0'
(or add `-O0'
immediately after `gcc' if you don't have any `-O'
option on your
compile line. After this is done you can just change
back to the top
level directly and run `make' again.
By the way, I didn't get this right so I edited the Makefile in the sql
directory and just changed all the O3's to O0's
I haven't yet done anything with MySQL but the daemon starts & stops and
mysqladmin can talk to it.
--
Irvine Short
Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
fax: +27-21-959 2512
cel: +27-82-494 3828
reply other threads:[~2000-08-28 10:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox