Hi,

I'm trying to get a version of MySQL 4.1.0 installed on my (Gentoo Linux) 
machine. I have a copy of MySQL 4.0.13 already installed, using Gentoo's 
ebuilds, but am trying to install 4.1.0 in a side-by-side configuration. 
(Into /usr/local/mysql_alpha, talking to port 3300) - So I can run 4.0 as my 
"production" server, and muck about with 4.1.0 while I'm testing out the new 
features.

I'm compiling it from source. Here is what I used to configure it:

CFLAGS="-mcpu=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS} -felide-constructors 
-fno-exceptions -fno-rtti" CXX="gcc" ./configure 
--prefix=/usr/local/mysql_alpha --enable-assembler 
--with-mysqld-ldflags=-all-static --disable-shared --with-charset=latin1 
--with-mysql-user=mysql --with-extra-charsets=all 
--with-unix-socket-path=/var/run/mysqld/mysqld_alpha.sock 
--with-tcp-port=3300

It compiles all fine, and I can install it with 'make install'... But then I 
go to run mysql_install_db (as root) and it segfaults. Output here:

>>>>>
shiro mysql-4.1.0-alpha # scripts/mysql_install_db
Installing privilege tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=8388600
read_buffer_size=131072
sort_buffer_size=2097144
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 
225791 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x85205a8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x409ae858, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80adeb7
0x82b2525
0x82c60d2
0x80c1c71
0x80c51b6
0x80c1a0a
0x80bab62
0x82adf63
0x82e6cb4
scripts/mysql_install_db: line 1:  9169 Segmentation fault      
/usr/local/mysql_alpha/libexec/mysqld --bootstrap --skip-grant-tables 
--basedir=/usr/local/mysql_alpha --datadir=/usr/local/mysql_alpha/var 
--skip-innodb --skip-bdb
<<<<<

MySQL 4.0 is NOT running while I'm attempting to do all this. The other 
installation of MySQL works fine, without any problems.

Any ideas?

Thanks,
Simon



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

Reply via email to