Installation MySQL 4.0.20

MySQL, PostgreSQL, SQLite
in flames
Posts: 70
Joined: 2003-12-24 22:33

Installation MySQL 4.0.20

Post by in flames » 2004-07-05 15:03

Hallo,

ich hatte MySql 3 laufen diesen habe ich mit /etc/init.d/mysql stop beendet und mit apt-get remove mysql-server mysql-client deinstalliert, zudem habe ich alle übrigend Ordner entfernt.

Jetzt wollte ich MySQL 4 mit ./configure kompilieren, allerdings ist hier Schluss:

Code: Select all

Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
debian:/usr/local/src/mysql# Starting mysqld daemon with databases from /usr/local/src/mysql/data
040705 15:03:12  mysqld ended
[/quote]

Dementsprechend erstellt er auch kein Make File.

Warum startet er also MYSQL und befördert mich trotz deinstallation in den MYSQL Monitor?

Danke

in flames
Posts: 70
Joined: 2003-12-24 22:33

Re: Installation MySQL 4.0.20

Post by in flames » 2004-07-05 17:09

Das Problem hätte ich nun, natürlich kam beim make gleich wieder ein Fehler:
make[2]: Leaving directory `/usr/local/mysql-4.0.20/libmysql'
Making all in client
make[2]: Entering directory `/usr/local/mysql-4.0.20/client'
source='mysql.cc' object='mysql.o' libtool=no
depfile='.deps/mysql.Po' tmpdepfile='.deps/mysql.TPo'
depmode=none /bin/sh ../depcomp
g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O -DDBUG_OFF -c -o mysql.o `test -f 'mysql.cc' || echo './'`mysql.cc
In file included from client_priv.h:19,
from mysql.cc:32:
../include/my_global.h:801: declaration does not declare anything
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/usr/local/mysql-4.0.20/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-4.0.20'
make: *** [all] Error 2
Danke

User avatar
Joe User
Project Manager
Project Manager
Posts: 11598
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Installation MySQL 4.0.20

Post by Joe User » 2004-07-05 17:17

gcc -v
/lib/libc.so.* -v

BTW: Nimm doch MySQL4 aus Sarge.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

in flames
Posts: 70
Joined: 2003-12-24 22:33

Re: Installation MySQL 4.0.20

Post by in flames » 2004-07-05 21:23

debian:~# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

debian:~# /lib/libc.so.* -v
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 2.95.4 20011002 (Debian prerelease).
Compiled on a Linux 2.4.18 system on 2003-04-08.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.9 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
debian:~#
Ok mir sarge werd ich mal testen.

in flames
Posts: 70
Joined: 2003-12-24 22:33

Re: Installation MySQL 4.0.20

Post by in flames » 2004-07-05 21:53

Hat geklappt mit den sarge sourcen....ist jetzt 4.0.18 also nicht das ganz neuste, wird das dann später per apt-get update/upgrade auch geupdatet?

nikon
Posts: 21
Joined: 2004-06-28 10:03

Re: Installation MySQL 4.0.20

Post by nikon » 2004-07-08 13:06

in den Unstable-Tree ist die 4.0.20 drinnen, aber ich würd bei nem Server nicht auf unstable gehen. Testing ist schon weit genug ;)

MySQL wird AFAIK bei nem apt-get dist-upgrade mit aktualisiert.

Anonymous

Re: Installation MySQL 4.0.20

Post by Anonymous » 2004-07-09 09:10

Warum nicht gleich http://www.backports.org .. das wird bei Versionserneuerungen / Sicherheitspatches auch durch ein apt-get upgrade erneuert .. :wink: [/url]