473,322 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

mysql-4.1.6-gamma source install on fedora2 - errors

Hello to everone,

As mentioned in this *guide(1), i've compiled mysql on my fedora Core
2 system, with the following spec's :

*(1) http://hulan.info/blog/index.php?itemid=576

--------------- bash START --------------
$ uname -a
Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT
2004 i686 ath
lon i386 GNU/Linux

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/u
sr/share/info --enable-shared --enable-threads=posix
--disable-checking --disabl
e-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit
--host=i386-redh
at-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

$ ldd --version
ldd (GNU libc) 2.3.3

$ rpm -qa | grep libtermcap
libtermcap-2.0.8-38
libtermcap-devel-2.0.8-38

$ export CFLAGS="-march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -msse2
-O2 -pipe -s -fomit-frame-pointer"
$ export CPPFLAGS="-march=athlon-xp -mcpu=athlon-xp -mfpmath=sse
-msse2 -O2 -pipe -s -fomit-frame-pointer"

$ cd /usr/local/src/mysql-4.1.6-gamma
$ ./configure \
--prefix=/usr/local/mysql \
--with-unix-sock-path=/tmp/mysql.sock \
--with-charset=utf8
$ make
$ make install
--------------- bash END --------------

when i get to the stage of creating the initial database this is what
happens :

--------------- bash START --------------
$ /usr/local/mysql/bin/mysql_install_db --user=mysql
mkdir: cannot create directory `/usr/local/mysql/var/mysql':
Permission denied
chmod: cannot access `/usr/local/mysql/var/mysql': Permission denied
mkdir: cannot create directory `/usr/local/mysql/var/test': Permission
denied
chmod: cannot access `/usr/local/mysql/var/test': Permission denied
Installing all prepared tables
bin/mysql_install_db: line 1: 3185 Illegal instruction
/usr/local/mysql/libexec/mysqld --bootstrap --skip-grant-tables
--basedir=/usr/local/mysql --datadir=/usr/local/mysql/var
--skip-innodb --skip-bdb --skip-ndbcluster --user=mysql
--max_allowed_packet=8M
/usr/local/mysql/bin/mysql_create_system_tables: line 664: 3186
Broken pipe cat <<END_OF_DATA
use mysql;
$c_d
$i_d

$c_h
$i_h

$c_u
$i_u

$c_f
$i_f

$c_t
$c_c

$c_ht
$c_hc
$c_hr
$c_hk

$c_tzn
$i_tzn
$c_tz
$i_tz
$c_tzt
$i_tzt
$c_tztt
$i_tztt
$c_tzls
$i_tzls
END_OF_DATA

Installation of system tables failed!

Examine the logs in /usr/local/mysql/var for more information.
--------------- bash END --------------
the logs contatin nothing useful.
here is the permissions on the folder, tough it's pretty useless as i
run the script as root
--------------- bash START --------------
$ ls -la /usr/local/mysql/var/
total 20
drwx------ 4 mysql root 4096 Oct 21 18:10 .
drwxr-xr-x 12 root root 4096 Oct 21 05:11 ..
-rw-rw---- 1 mysql root 94 Oct 21 18:12 localhost.localdomain.err
drwx------ 2 mysql root 4096 Oct 21 05:11 mysql
drwx------ 2 mysql root 4096 Oct 21 05:11 test
--------------- bash END --------------
on boot i get the following message :
--------------- bash START --------------
localhost login: /usr/local/mysql/bin/mysqld_safe: line 1: 2480
Illegal instruction nohup /usr/local/mysql/libexec/mysqld
--basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql
--pid-file=/usr/local/mysql/var/localhost.localdomain.pid
--skip-locking --port=3306 --socket=/tmp/mysql.sock
/usr/local/mysql/var/localhost.localdomain.err 2>&1

STOPPING server from pid file
/usr/local/mysql/var/localhost.localdomain.pid
041021 18:12:18 mysqld ended
--------------- bash END --------------

help ? (:

Thank you, Maxim Vexler.
Jul 20 '05 #1
1 2357
hq*****@gmail.com (Maxim. V.) wrote in message news:<b4*************************@posting.google.c om>...
Hello to everone,

As mentioned in this *guide(1), i've compiled mysql on my fedora Core
2 system, with the following spec's :

*(1) http://hulan.info/blog/index.php?itemid=576

--------------- bash START --------------
$ uname -a
Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT
2004 i686 ath
lon i386 GNU/Linux

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/u
sr/share/info --enable-shared --enable-threads=posix
--disable-checking --disabl
e-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit
--host=i386-redh
at-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

$ ldd --version
ldd (GNU libc) 2.3.3

$ rpm -qa | grep libtermcap
libtermcap-2.0.8-38
libtermcap-devel-2.0.8-38

$ export CFLAGS="-march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -msse2
-O2 -pipe -s -fomit-frame-pointer"
$ export CPPFLAGS="-march=athlon-xp -mcpu=athlon-xp -mfpmath=sse
-msse2 -O2 -pipe -s -fomit-frame-pointer"

$ cd /usr/local/src/mysql-4.1.6-gamma
$ ./configure \
--prefix=/usr/local/mysql \
--with-unix-sock-path=/tmp/mysql.sock \
--with-charset=utf8
$ make
$ make install
--------------- bash END --------------

when i get to the stage of creating the initial database this is what
happens :

--------------- bash START --------------
$ /usr/local/mysql/bin/mysql_install_db --user=mysql
mkdir: cannot create directory `/usr/local/mysql/var/mysql':
Permission denied
chmod: cannot access `/usr/local/mysql/var/mysql': Permission denied
mkdir: cannot create directory `/usr/local/mysql/var/test': Permission
denied
chmod: cannot access `/usr/local/mysql/var/test': Permission denied
Installing all prepared tables
bin/mysql_install_db: line 1: 3185 Illegal instruction
/usr/local/mysql/libexec/mysqld --bootstrap --skip-grant-tables
--basedir=/usr/local/mysql --datadir=/usr/local/mysql/var
--skip-innodb --skip-bdb --skip-ndbcluster --user=mysql
--max_allowed_packet=8M
/usr/local/mysql/bin/mysql_create_system_tables: line 664: 3186
Broken pipe cat <<END_OF_DATA
use mysql;
$c_d
$i_d

$c_h
$i_h

$c_u
$i_u

$c_f
$i_f

$c_t
$c_c

$c_ht
$c_hc
$c_hr
$c_hk

$c_tzn
$i_tzn
$c_tz
$i_tz
$c_tzt
$i_tzt
$c_tztt
$i_tztt
$c_tzls
$i_tzls
END_OF_DATA

Installation of system tables failed!

Examine the logs in /usr/local/mysql/var for more information.
--------------- bash END --------------
the logs contatin nothing useful.
here is the permissions on the folder, tough it's pretty useless as i
run the script as root
--------------- bash START --------------
$ ls -la /usr/local/mysql/var/
total 20
drwx------ 4 mysql root 4096 Oct 21 18:10 .
drwxr-xr-x 12 root root 4096 Oct 21 05:11 ..
-rw-rw---- 1 mysql root 94 Oct 21 18:12 localhost.localdomain.err
drwx------ 2 mysql root 4096 Oct 21 05:11 mysql
drwx------ 2 mysql root 4096 Oct 21 05:11 test
--------------- bash END --------------
on boot i get the following message :
--------------- bash START --------------
localhost login: /usr/local/mysql/bin/mysqld_safe: line 1: 2480
Illegal instruction nohup /usr/local/mysql/libexec/mysqld
--basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql
--pid-file=/usr/local/mysql/var/localhost.localdomain.pid
--skip-locking --port=3306 --socket=/tmp/mysql.sock
/usr/local/mysql/var/localhost.localdomain.err 2>&1

STOPPING server from pid file
/usr/local/mysql/var/localhost.localdomain.pid
041021 18:12:18 mysqld ended
--------------- bash END --------------

help ? (:

Thank you, Maxim Vexler.


resolved.
bad compile, could be simply checked by running this command

--------------- bash START --------------
# /usr/local/mysql/libexec/mysqld --log
Illegal instruction
--------------- bash END --------------

once mysql was recompiled with the default CFLAGS & no configue flag
asides from [--prefix=/usr/local/mysql]

all went well.
(:

for general info, the hardware is : amd athlon-xp 2500, ram 512-geil,
mb abit nf7-sl.
LANG=en_US.UTF-8
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ruby Tuesday | last post by:
"pear.bat" works to install, config-show ...etc but every execution it always gives me the following errors: Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line...
1
by: Richard Petty | last post by:
I've got a machine running Yellow Dog Linux (a PPC version of Red Hat) which has Python 1.5.2-35a and I'd like to update. I'd prefer to install from sources rather than depend on other people to...
0
by: agnessngevents | last post by:
------=_NextPart_000_001C_01C355D3.9595F8C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable the configure command for courier-imap is the ff:...
0
by: I.P. | last post by:
------=_NextPart_000_03FF_01C368A4.75720DC0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hi, it's my story. I have two 4.0.14 mysql server on...
0
by: Mark88 | last post by:
I get the following error screen when I try to install mysql on redhat: ----------------------------------------------------------------------- # rpm -i MySQL-server-4.1.4-0.i386.rpm warning:...
1
by: justwondering | last post by:
250free.com, a free web host, is, I think, introducing errors onto its pages with its banner code. Take a look at these pages for example: 1. http://specimencarp.250free.com/photos.htm 2....
1
by: Dirk Försterling | last post by:
Hi, sorry for reposting, but it seems my message just hit nothing but air. If I posted to the wrong list or did something else wrong with the message, please let me know. I really want to...
3
by: Florian Demmer | last post by:
Hi! I am doing a from source installation of Python 2.5 on some old Debian machine. As the target directoy I want /opt/somename so i added it to the configure like so: ../configure...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.