PowerPC (ppc_85xx) DS413 und Installation mysql5 per ipkg schlägt fehl

DS109+, DS209+, DS209+II, DS408, DS409+, DS508, DS509+, RS408, RS409RP+
Status
Für weitere Antworten geschlossen.

OleS

Benutzer
Mitglied seit
27. Mai 2011
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

auf meiner DS413 mit DSM-Version 4.3-3776-3 lässt sich das Paket mysql5 via ipkg nicht installieren.
Anbei die Meldungen:

Rich (BBCode):
root@DiskStation:~/install# ipkg install mysql5 -V 3
pkg_info_preinstall_check: updating arch priority for each package
pkg_info_preinstall_check: update file owner list
best installation candidate for mysql5
 adding mysql5 to providers
  mysql5 arch=powerpc arch_priority=16 version=5.0.88-1
 Found a valid candidate for the install: mysql5 5.0.88-1
arch powerpc (priority 16) supported for pkg mysql5
Installing mysql5 (5.0.88-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/mysql5_5.0.88-1_powerpc.ipk
best installation candidate for zlib
 adding zlib to providers
  zlib arch=powerpc arch_priority=16 version=1.2.5-1
 Found a valid candidate for the install: zlib 1.2.5-1
pkg_depends.c:183: satisfying_pkg=0x102321e8
best installation candidate for ncurses
 adding ncurses to providers
  ncurses arch=powerpc arch_priority=16 version=5.7-3
 Found a valid candidate for the install: ncurses 5.7-3
pkg_depends.c:183: satisfying_pkg=0x10181530
best installation candidate for openssl
 adding openssl to providers
  openssl arch=powerpc arch_priority=16 version=0.9.8v-2
 Found a valid candidate for the install: openssl 0.9.8v-2
pkg_depends.c:183: satisfying_pkg=0x1018d2c8
best installation candidate for readline
 adding readline to providers
  readline arch=powerpc arch_priority=16 version=6.1-2
 Found a valid candidate for the install: readline 6.1-2
pkg_depends.c:183: satisfying_pkg=0x101fe0d0
best installation candidate for libstdc++
 adding libstdc++ to providers
  libstdc++ arch=powerpc arch_priority=16 version=6.0.3-6
 Found a valid candidate for the install: libstdc++ 6.0.3-6
pkg_depends.c:183: satisfying_pkg=0x10167558
Running script /opt/ipkg-icOFqv/mysql5-UP5V8C/preinst
  installing maintainer scripts
  installing data files
    extracting data files to /
    Calling pkg_write_filelist from install_data_files
    creating mysql5.list file
    creating //opt/lib/ipkg/info/mysql5.list file for pkg mysql5
  resolving conf files
   pkg=mysql5 old_state_flag=180 state_flag=180
  cleanup temp files
cleanup_temporary_files: pkg=mysql5 local_filename=/opt/ipkg-icOFqv/mysql5_5.0.88-1_powerpc.ipk tmp_dir=/opt/ipkg-icOFqv
Done.
Configuring unpacked packages
Configuring mysql5
Running script //opt/lib/ipkg/info/mysql5.postinst
/opt/bin/my_print_defaults: relocation error: /opt/lib/libnsl.so.1: symbol __deregister_frame_info, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Neither host 'DiskStation' nor 'localhost' could be looked up with
/opt/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
/opt/bin/my_print_defaults: relocation error: /opt/lib/libnsl.so.1: symbol __deregister_frame_info, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
/opt/bin/my_print_defaults: relocation error: /opt/lib/libnsl.so.1: symbol __deregister_frame_info, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
postinst script returned status 1
ERROR: mysql5.postinst returned 1
  writing status file
pkg_write_changed_filelists: saving changed filelists
Calling pkg_write_filelist for pkg=mysql5 from pkg_write_changed_filelists
    creating mysql5.list file
    creating //opt/lib/ipkg/info/mysql5.list file for pkg mysql5
Successfully terminated.
hash_table[pkg-hash] n_buckets=0 n_elements=1452 max_conflicts=0 n_conflicts=0
hash_table[file-hash] n_buckets=0 n_elements=14840 max_conflicts=0 n_conflicts=0
hash_table[obs-file-hash] n_buckets=0 n_elements=0 max_conflicts=0 n_conflicts=0

Hat hier schon jemand Erfahrungen sammeln können?

Gruß,
Ole
 

jahlives

Benutzer
Mitglied seit
19. Aug 2008
Beiträge
18.275
Punkte für Reaktionen
4
Punkte
0
spricht etwas dagegen den mysql der Firmware zu nutzen?
 

OleS

Benutzer
Mitglied seit
27. Mai 2011
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Eigentlich nicht, wenn ich gegen die mitgelieferte MySQL compilieren könnte...

Ich möchte eine Applikation mit MySQL-DB-Unterstützung auf der DS bauen
und laufen lassen und bin bisher leider noch nicht so richtig mit Cross Compile
klar gekommen.

Meine bisherigen Versuche sahen so aus:
1. passende toolchain holen und auf PC unter /usr/local entpacken
2. passende NAS GPL Sourcen holen und nach /usr/local/<toolchain name> entpacken
3. MySQL aus den NAS Sourcen compilieren
- cd /usr/local/powerpc-none-linux-gnuspe/source/mysql-5.1.49
- ./configure.syno.qoriq --prefix=/usr/local/powerpc-none-linux-gnuspe
- make
- make install
4. openSSL aus den NAS Sourcen compilieren
- cd /usr/local/powerpc-none-linux-gnuspe/source/openssl-1.0.x

Und dann fehlt mir ein auf die Hardware passendes configure bzw Configure.syno.quoriq.
Ein Configure.syno ist vorhanden, allerdings ist dies für ARM.

Oder ist mein bisheriger Ansatz falsch?

Gruß,
Ole
 
Zuletzt bearbeitet:

OleS

Benutzer
Mitglied seit
27. Mai 2011
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Jetzt habe ich den bootstrap mittels Paketmanager (source Quadrat.4) installiert und
das Paket mysql5 lässt sich installieren... seltsam, aber was soll's.

Gruß,
Marcus
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat