Bug #4263 gmake crashes when compiling
Submitted: 23 Jun 2004 18:51 Modified: 14 Aug 2004 1:35
Reporter: Dominique DAMBRAIN Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.1.2 OS:Other (SCO Open Server)
Assigned to: Matthew Lord CPU Architecture:Any

[23 Jun 2004 18:51] Dominique DAMBRAIN
Description:
When compiling, gmake crashes :

make[2]: Entering directory `/home/Mysql/mysql-4.1.2-alpha/scripts'
./fill_help_tables < ../Docs/manual.texi > fill_help_tables.sql
make[2]: *** [fill_help_tables.sql] Segmentation fault (core dumped)
make[2]: *** Deleting file `fill_help_tables.sql'
make[2]: Leaving directory `/home/Mysql/mysql-4.1.2-alpha/scripts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Mysql/mysql-4.1.2-alpha'
make: *** [all] Error 2

That seems to be a segmentation fault inside PERL ?

Due to this error, installation is impossible !

How to repeat:
compilation from sources only tested on SCO Open Server
[25 Jun 2004 2:06] Jorge del Conde
Can you give us the details of your system such as OS version, gmake version, perl version, etc ??

I recently compiled MySQL under SCO Open Server and didn't run into any of the problems you mention.

Thanks!
[25 Jun 2004 8:36] Dominique DAMBRAIN
Hi, Jorge

Requested infos :
  - OS : SCO_SV 3.2 5.0.5 i386
  - Perl V: 5.005
  - gmake : GNU Make version 3.75
  - gcc version 2.95.1 19990816 (release)

Thanks for help
[14 Aug 2004 1:35] Matthew Lord
Dear Sir,

Can you try with 4.1.3-beta?  I was able to build successfully this way:

PATH=$PATH:$HOME/bin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/ccs/bin:/usr/local/ubin:/
usr/zenez/bin:/etc:
export PATH
LD_LIBRARY_PATH=\;/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/lib/mysql:/usr/local/
bdb/lib:/usr/local/ssl/lib:
LIBPATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:
export LD_LIBRARY_PATH LIBPATH 

 make distclean && CC="cc" CFLAGS="-I/usr/local/include" CXX="CC" CFLAGS="-I/usr/local/
include" ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-berkeley-db=./
bdb --with-innodb --with-openssl --with-extra-charsets=complex && make

system info:

 uname -a
UnixWare uw713 5 7.1.3 i386 x86at SCO UNIX_SVR5
gcc version 2.95.3pl1 d - 20020710 (build) - OU8.0.1
perl, v5.8.0 built for i386-svr5

Best Regards