• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst]Welches MySQL Paket und wie installieren?

LiGERWooD

Member
Hi leute,

ich habe einen VServer mit Root: 2.6.18-028stab062.3-ent #1 SMP Thu Mar 26 15:12:05 MSK 2009 i686 i686 i386 GNU/Linux

Ist aber irgendwie abgespeckt. U.a. kapier ich nicht welches MySQL Paket jetzt nun das richtige für das obige genannte System ist. Hab ein paar RPM mit Yast brobiert ging aber irgendwie nicht. Und tar.gz erst recht nicht - ./configure funktioniert da nicht. Auch ist gar kein Repor... in Yast eingetragen und ich weiß auch nicht wie man über bash nachträglich Programme installiert die zu der DVD gehören.

Unter MySQL selber fand ich keine entsprechende Hilfe für SUSE 11.1

xterm ist auch nicht dabei - wie nach installieren?
 
OP
L

LiGERWooD

Member
panamajo schrieb:
LiGERWooD schrieb:
Unter MySQL selber fand ich keine entsprechende Hilfe für SUSE 11.1
Wieso sollte MySQL Hilfe für openSUSE 11.1 anbieten?
Na ich meinte, wieso MySQL kein know-how für die Installation eines eigenen MySQL Programm vorlegt.
panamajo schrieb:
LiGERWooD schrieb:
xterm ist auch nicht dabei - wie nach installieren?
Was willst du mit xterm auf einem VServer?
mh... das war in einer Installations Routine beschrieben - xterm lies sich aber garnicht aufrufen.
panamajo schrieb:
Poste mal die Ausgaben von
Code:
cat /etc/SuSE-release
zypper lr --url
Code:
openSUSE 11.1 (i586)
VERSION = 11.1
Code:
No repositories defined. Use the 'zypper addrepo' command to add one or more repositories.
 

panamajo

Guru
LiGERWooD schrieb:
Na ich meinte, wieso MySQL kein know-how für die Installation eines eigenen MySQL Programm vorlegt.
http://dev.mysql.com/doc/refman/5.0/en/programs.html
LiGERWooD schrieb:
Code:
openSUSE 11.1 (i586)
VERSION = 11.1
Code:
No repositories defined. Use the 'zypper addrepo' command to add one or more repositories.
Da sollten dann erst mal die Standard Repos aufgenommen werden

http://www.linupedia.org/opensuse/YaST-Installationsquellen_für_openSUSE#Empfohlene_Quellen
 
OP
L

LiGERWooD

Member
Code:
:/usr/local/mysql # scripts/mysql_install_db --user=mysql
scripts/mysql_install_db: line 244: ./bin/my_print_defaults: cannot execute binary file
Neither host 'v4230' nor 'localhost' could be looked up with
./bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
Ich nehme an das muss ich im script selbst eintragen. aber was ist mein Hostname? Die eigene IP (unaufgelöst) ging nicht.
 
OP
L

LiGERWooD

Member
Code:
Error                                                                  
                           Package MySQL-server-6.0.11-0.glibc23.i386.rpm could not be installed. 
                                                                                                  
                           Details:                                                               
                           Subprocess failed. Error: RPM failed: error: Failed dependencies:      
                                   perl(DBI) is needed by MySQL-server-6.0.11-0.glibc23.i386
 

panamajo

Guru
1. Steht da klar dass das Perl Modul DBI vonnöten ist
2. Ist MySQL 6.0 eine Alpha-Version und damit für den produktiven Einsatz ungeeignet
http://dev.mysql.com/doc/refman/6.0/en/choosing-version.html
3. Habe ich dir alle nötigen Infos gegeben um MySQL (und weitere openSUSE 11.1 Pakete) per Yast zu installieren

Jetzt hab ich keine Lust mehr
 
OP
L

LiGERWooD

Member
Code:
:~/DBI-1.609 # make
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Roadmap.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp Roadmap.pod blib/lib/Roadmap.pod
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm
cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp TASKS.pod blib/lib/TASKS.pod
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc -c   -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe   -DVERSION=\"1.609\" -DXS_VERSION=\"1.609\" -fPIC "-I/usr/lib/perl5/5.10.0/i586-linux-thread-multi/CORE"  -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: cc: command not found
make: *** [Perl.o] Error 127
 
OP
L

LiGERWooD

Member
Code:
:~/gcc-4.4.0> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: in `/home/LiGERWooD/gcc-4.4.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
 
Oben