tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: compiling MySQL with gcc on Tru64 5.0
@ 2000-08-28 10:38 Irvine Short
  0 siblings, 0 replies; only message in thread
From: Irvine Short @ 2000-08-28 10:38 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-28 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-28 10:38 SUMMARY: compiling MySQL with gcc on Tru64 5.0 Irvine Short

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox