David Biro (DaV3|D3) writes:
> Hi!!!
>
> I'm trying to install mysql on a RAQ2 server.
> The ./configure, make, make install is OK, but if I'm trying to start
> mysql or mysqld a Segmentation fault occurs.
>
> I've tried to install mysql-3.22.25.tar.gz
>
> I'm giving some details of the system:
>
> Cobalt Linux release 4.0 (Fargo)
> Kernel 2.0.34 on a mips
>
> cpu : MIPS
> cpu model : Nevada V10.0
> system type : Cobalt Cobalt Networks
> BogoMIPS : 249.86
> byteorder : little endian
>
> Please help me!
>
> Best Regards,
> .DaV3
>
>
> --
>
> __[DaVe]___________-____________[of]_____________-_____________[D3]__
> \\ mailto:DaVe@stripped ________ mailto:DaVe@stripped //
> \\_ICQ_UIN:_9962853_____________ mailto:DaVe@stripped //
> \\_____________________________________________________________//
>
>
Hi!
In order to have MySQL running on your Cobalt with Linux PPC, I
suppose (?), you have to remake it with from a fresh tar ball and with
specific configure options. You also have to get glibc with a stable
thread library for MIPS.
Here are instructions:
1. get next glibc packages. these are fixed pthread problems!
glibc-profile-2.0.7-29C2.mips.rpm
glibc-debug-2.0.7-29C2.mips.rpm
glibc-devel-2.0.7-29C2.mips.rpm
glibc-2.0.7-29C2.mips.rpm
site:
ftp://ftp.cobaltnet.com/pub/experimental/
2. install new glibc
rpm -Uvh --force --nodeps glibc-*-29C2.mips.rpm
ldconfig
3. get egcs & libstdc++
egcs-1.0.2-9.mipsel.rpm
egcs-c++-1.0.2-9.mipsel.rpm
egcs-g77-1.0.2-9.mipsel.rpm
egcs-objc-1.0.2-9.mipsel.rpm
libstdc++-2.8.0-9.mipsel.rpm
libstdc++-devel-2.8.0-9.mipsel.rpm
site:
ftp://ftp.linux.sgi.com/pub/linux/mips/mipsel-linux/RPMS/mipsel/
4. install egcs & libstdc++
rpm -e gcc-objc
rpm -e gcc-c++
rpm -e gcc
rpm -Uvh egcs*-1.0.2-9.mipsel.rpm
rpm -e libg++-devel-2.7.2.8
rpm -i libstdc++*-2.8.0-9.mipsel.rpm
5. build mysql
./configure --with-debug \
--disable-assembler \
--enable-shared \
--disable-shared \
--with-mysqld-ldflags="-all-static" \
--with-client-ldflags="-all-static" \
--with-mysqld-user=mysql \
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
--prefix=/ \
--exec-prefix=/usr \
--libexecdir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var/lib/mysql \
--infodir=/usr/info \
--includedir=/usr/include \
--mandir=/usr/man \
--with-charset=ujis \
mipsel-unknown-linux-gnu
I hope that after this, your mysql will work.
Sinisa
+----------------------------------------------------------------------+
| TcX ____ __ _____ _____ ___ == mysql@stripped |
| /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic |
| /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sinisa@stripped|
| /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaka, Cyprus |
| /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ |
| ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
| /*/ \*\ Developers Team |
+----------------------------------------------------------------------+