Michael Stassen wrote:

Christine Ross wrote:


I had to install a source version of mysql and one of the install docs
strongly suggests using

CXXFLAGS="03 -felide-constructors -fno-exceptions -fno-rtti"
-------8><

It's not a CERO, it's an letter O, the correct syntax is:
CXXFLAGS="-O3 -felide-constructors -fno-exceptions-fno-rtti"

If you are using a recent intel processor you can even add:
"-march=i686 -mcpu=i686"

You don't even have to add the "-O3" since it will be automatically added by the mysql configure script. Just export CXXFLAGS with the other optional optims flags, you can check out what they mean by reading them in the gcc man: man gcc


When I did that I noticed in the compile a line that said it wasn't
supported by gcc (3.3.3). I"m using CXX=gcc.
------------------8><

What distro are you using?
What mysql server are you trying to compile?


Also when I included it in the build, my statement about --localstatedir=/usr/local/mysql/data
It's irrelevant, the localstatedir is where mysql, once compiled and configured will look for data by default, this default can _ALWAYS_ be overriden by changing the configuration file. It's just a default.

Once compiled, you must run a script that will create the default databases and tables, _BUT_ once compiled and _INSTALLED_, not before. The script is called: mysql_install_db and it should be (normally i mean) in /usr/bin

Best Regards!

--

 |...........................................................|
 |____  _____ ____   _    |Victor Medina M                   |
 |\ \ \| ____|  _ \ / \   |Linux - Java - MySQL              |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]                  |
 |/_/_/|_____|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 |                        |Cel: +58-412-8859934              |
 |                        |geek by nature - linux by choice  |
 |...........................................................|

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to