List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:March 18 1999 8:13pm
Subject:compile error mysql 3.22.20a on solaris 2.6
View as plain text  
Hi!

>>>>> "Martin" == Martin B Jespersen <Martin@stripped>
> writes:

Martin> Hi, 
Martin> I'm trying to compile MySQL 3.2.20a on solaris 2.6 with egcs 1.1.2, and it
> fails :(

I just compiled MySQL 3.22.20a on Solaris 2.7 with egcs 1.1.12 without 
any problems!  (I am currently running the MySQL benchmarks to test
that egcs 1.1.2 works properly)

The optimal link line is:

CFLAGS="-O6 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -fomit-frame-pointer
-felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql

<cut>

Martin> #./configure --prefix=/usr/local/mysql --enable-thread-safe-client
> --enable-assembler --with-mysqld-user=root --without-debug
Martin> --with-charset=danish --with-client-ldflags=-all-static
> --with-mysqld-ldflags=-all-static

The problem is that on Solaris, you can't compile MySQL staticly as
there is no static version of the thread libraries.

Regards,
Monty


Thread
compile error mysql 3.22.20a on solaris 2.6Martin B. Jespersen18 Mar
  • compile error mysql 3.22.20a on solaris 2.6Michael Widenius18 Mar
  • Re: compile error mysql 3.22.20a on solaris 2.6Martin B. Jespersen19 Mar