Bug #750 mysql configured with --with-raid option does not build
Submitted: 29 Jun 2003 18:41 Modified: 2 Jul 2003 0:20
Reporter: Andrey Panov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:4.0.13 OS:HP/UX (hpux11.22, gcc-3.3)
Assigned to: Lenz Grimmer CPU Architecture:Any

[29 Jun 2003 18:41] Andrey Panov
Description:
Mysql configured with --with-raid option does not build. Build breaks on linking with raid.o file.

How to repeat:
configure with --with-raid option, then try to build.
[29 Jun 2003 23:33] Lenz Grimmer
Compiling with RAID can be a bit tricky, as the RAID code is written in C++
which can result in problems during the linking stage. Have you tried to compile
it by using "CXX=gcc"? That should resolve the problem. 

If not, we would need more details to resolve this - please post the exact configure line and the error message you receive.
[30 Jun 2003 16:13] Andrey Panov
There was not any C++ compiler excepting g++ on the computer.
[30 Jun 2003 23:55] Lenz Grimmer
Thanks for the info, but that does not really answer my question - did you try to compile it 
with CXX="gcc"? This should resolve the linking problem you were facing. gcc is capable of compiling 
C++ code, too.
[1 Jul 2003 4:13] Lenz Grimmer
I've now added a hint to our manual about this problem:

http://www.mysql.com/doc/en/Compilation_problems.html#IDX276

Please let me know, if this resolves the problem for you, too.
[1 Jul 2003 20:12] Andrey Panov
The use CXX=gcc helps. Thanks.
[2 Jul 2003 0:20] Lenz Grimmer
Thanks for the feedback! Glad it works for you. I am closing this bug report now.