Problem mit Source-RPMs von Packman
Hallo Liste, ich möchte VideolanClient (vlc) von Packman auf einer SuSE 8.1 installieren. Obwohl die RPMs für SuSE 9.0 sind habe ich nach dem Motto "Versuch macht kluch" erstmal versucht das RPM zu installieren. Nach Auflösung vieler Abhängigkeiten bleiben noch folgende übrig: 1. libdvdplay >= 1.0.1 2. flac >= 1.1.0 3. xosd >= 2.2.5 4. libFLAC.so.4 5. libXcursor.so.1 6. libXft.so.2 7. libXrandr.so.2 8. libc.so.6(GLIBC_2.3) 9. libdvdplay.so.0 10. libid3tag.so.0 11. libpng.so.3 12. libpthread.so.0(GLIBC_2.3.2) 13. libstdc++.so.5(GLIBCPP_3.2.2) 14. libxosd.so.2 Da das RPM gegen GLIBC_2.3.2 gelinkt ist (die 8.1 hat 2.2.5) muss ich wohl das Source-RPM neu kompilieren und vorher noch die Abhängig- keiten auflösen. Dabei habe ich folgende Probleme bzw. Fragen: ----- libdvdplay >= 1.0.1 ----- rpm --rebuild libdvdplay*src* (von Packman für SuSE 9.0) [...] vmg.h:47: parse error before '}' token vmg.h:47: warning: data definition has no type or storage class vmg.h:52: parse error before "dvd_reader_t" vmg.h:52: warning: no semicolon at end of struct or union vmg.h:53: warning: data definition has no type or storage class vmg.h:54: parse error before '*' token [...] vmg.h:66: `link' redeclared as different kind of symbol /usr/include/unistd.h:679: previous declaration of `link' vmg.h:71: parse error before "resume" vmg.h:71: warning: data definition has no type or storage class vmg.h:83: parse error before '}' token vmg.h:83: warning: data definition has no type or storage class accessor.c:55: parse error before '*' token accessor.c: In function `dvdplay_dvdread': accessor.c:57: dereferencing pointer to incomplete type accessor.c: At top level: accessor.c:63: parse error before '*' token accessor.c: In function `dvdplay_file': accessor.c:65: dereferencing pointer to incomplete type accessor.c: At top level: [...] make[3]: *** [libdvdplay_la-accessor.lo] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/libdvdplay-1.0.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/libdvdplay-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdplay-1.0.1' make: *** [all] Error 2 Bad exit status from /var/tmp/rpm-tmp.13539 (%build) Hier habe ich absolut keine Ahnung was ich machen kann / muss ----- flac >= 1.1.0 ----- rpm --rebuild flac*src* (von Packman für SuSE 8.2) [...] + mv -f ./ltmain.sh-11055 ./ltmain.sh + chmod +x ./ltmain.sh + autoreconf --force --install aclocal: configure.in: 255: macro `AM_ICONV' not found in library aclocal: configure.in: 256: macro `AM_LANGINFO_CODESET' not found in library autoreconf: aclocal failed with exit status: 1 at /usr/bin/autoreconf line 291 Bad exit status from /var/tmp/rpm-tmp.63114 (%prep) Wo kommen diese Makros her? Was kann ich tun? ----- xosd >= 2.2.5 ----- rpm --rebuild xosd*src* (von Packman für SuSE 8.2) [...] checking whether stripping libraries is possible... yes checking for X... no checking for gtk-config... no checking for GTK - version >= 1.2.2... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. configure: WARNING: *** GTK+ >= 1.2.2 not found *** checking for XInitThreads in -lX11... no configure: error: *** X11 not threadsafe *** Bad exit status from /var/tmp/rpm-tmp.23637 (%build) Hier fehlt gtk-config. Muss also noch gtk-devel installiert werden. Aber warum findet er kein gtk? gtk-1.2.10 ist installiert. Und was ist mit "X11 not threadsafe"? ----- libFLAC.so.4 ----- sollte mit 2 aufgelöst sein, oder? ----- libXcursor.so.1, libXft.so.2, libXrandr.so.2 ----- ich habe libXft.so.1.1, libXrandr.so.1.0 libXcursor habe ich nicht. Was jetzt? ----- libc.so.6(GLIBC_2.3), libpthread.so.0(GLIBC_2.3.2), libstdc++.so.5(GLIBCPP_3.2.2) hier will er die Version für die glibc 2.3.2. Sollte doch beim Kompilieren des Source-RPMs keine Probleme machen, da er dann ja die Versionen für die vorhandene glibc 2.5.5 nimmt. Oder? ----- libdvdplay.so.0 ----- sollte mit 1 aufgelöst sein, oder? ----- libxosd.so.2 ----- sollte mit 3 aufgelöst sein, oder? ----- libid3tag.so.0 ----- ist das die aus dem Package "mad" der SuSE 8.1? Bei der 9.0 gibt es nämlich ein Package "libid3tag", das ich bei meiner 8.1 nicht finde. ----- libpng.so.3 ----- das Package libpng der SuSE 8.1 enthält eine libpng12.so.0.1.2.4 und einen Link libpng.so.3 -> libpng12.so.0.1.2.4 Kann ich also die lib aus der 8.1 nehmen? Wenn ja, wie löse ich dann die Abhängigkeit auf? Vielen Dank an alle, die bis hierher gelesen haben!!! Ich hoffe ihr könnt mir weiterhelfen Achso, ja ich weiß, dass es xine und mplayer gibt. Laufen beide. Gruss Guido
Am Donnerstag, 25. März 2004 11:48 schrieb Nottebrok, Guido:
Hallo Liste,
ich möchte VideolanClient (vlc) von Packman auf einer SuSE 8.1 installieren. Obwohl die RPMs für SuSE 9.0 sind habe ich nach dem Motto "Versuch macht kluch" erstmal versucht das RPM zu installieren. Nach Auflösung vieler Abhängigkeiten bleiben noch folgende übrig: [...Abhängikeiten]
Da das RPM gegen GLIBC_2.3.2 gelinkt ist (die 8.1 hat 2.2.5) muss ich wohl das Source-RPM
Ja, genau. Das kann nicht funktionieren.
neu kompilieren und vorher noch die Abhängig- keiten auflösen. [...]
Durch das --rebuild von dem vlc.src.rpm wird ein "normals" ./configure gestartet. Mit welchen Optionen es gestartet wird, steht in den spec-files unter ls /usr/src/packages/SPECS/
----- libdvdplay >= 1.0.1 -----
Das ist die Meldung beim installieren des bin.rpm? Es bedeutet nicht, das Du diese Version unbedingt zum installiern des src.rpm des vlc brauchst!
rpm --rebuild libdvdplay*src* (von Packman für SuSE 9.0) [...] vmg.h:47: parse error before '}' token
Da musst Du halt sehen was in dieser Datei in Zeile 47 und "before '}'" steht... Meldungen wie...
vmg.h:47: warning: data definition has no type or storage class
sind meist Folgefehler und Du kannst sie erst mal vergessen.
[...]
Hier habe ich absolut keine Ahnung was ich machen kann / muss
Ich würde dann nicht den Versuch starten alle Abhängikeiten des 9.0-vlc.rpm zu erfüllen. Hol Dir einfach das "normale" source-file, entpacke es und starte dann in dem Verzeichnis den ./configure -Befehl. Die dann ev. auftreten Meldungen musst Du erfüllen.
[...]
Gruß Harald
Am Donnerstag, 25. März 2004 11:48 schrieb Nottebrok, Guido:
Hallo Liste,
ich möchte VideolanClient (vlc) von Packman auf einer SuSE 8.1 installieren. Obwohl die RPMs für SuSE 9.0 sind habe ich nach dem Motto "Versuch macht kluch" erstmal versucht das RPM zu installieren. Nach Auflösung vieler Abhängigkeiten bleiben noch folgende übrig:
1. libdvdplay >= 1.0.1
Musst Du Dir wohl neu compilieren.
2. flac >= 1.1.0
flac wird bei SuSE mitgeliefert, allerdings nur 1.0.3 ob es damit auch geht und eine Änderung im SPEC-File auf >= 1.0.3 ausreicht, kannst Du ja mal ausprobieren.
3. xosd >= 2.2.5
Source-RPM von Packman neu compilieren.
4. libFLAC.so.4
Siehe 2.
5. libXcursor.so.1 6. libXft.so.2 7. libXrandr.so.2
Dürfte alles XFree sein, bei SuSE 8.2 ist es im XFree86-devel Paket.
8. libc.so.6(GLIBC_2.3)
glibc erledigt sich mit neucompilieren.
9. libdvdplay.so.0
siehe 1.
10. libid3tag.so.0
mad RPM, sollte Deiner SuSE beiliegen.
11. libpng.so.3
Durch neucompilierung erledigt
12. libpthread.so.0(GLIBC_2.3.2) 13. libstdc++.so.5(GLIBCPP_3.2.2)
glibc/gcc Sachen durch neucompilieren erledigt.
14. libxosd.so.2
siehe 3.
----- libdvdplay >= 1.0.1 ----- rpm --rebuild libdvdplay*src* (von Packman für SuSE 9.0) [...] vmg.h:47: parse error before '}' token vmg.h:47: warning: data definition has no type or storage class
Kann es sein, dass da ein paar Zeilen vorher schon ein fehlendes include angemeckert wird?
----- flac >= 1.1.0 ----- rpm --rebuild flac*src* (von Packman für SuSE 8.2)
Nö Du, bei Packman gibts kein flac RPM
[...] + mv -f ./ltmain.sh-11055 ./ltmain.sh + chmod +x ./ltmain.sh + autoreconf --force --install aclocal: configure.in: 255: macro `AM_ICONV' not found in library aclocal: configure.in: 256: macro `AM_LANGINFO_CODESET' not found in library autoreconf: aclocal failed with exit status: 1 at /usr/bin/autoreconf line 291 Bad exit status from /var/tmp/rpm-tmp.63114 (%prep)
Wo kommen diese Makros her? Was kann ich tun?
gettext
----- xosd >= 2.2.5 ----- rpm --rebuild xosd*src* (von Packman für SuSE 8.2) [...] checking whether stripping libraries is possible... yes checking for X... no checking for gtk-config... no checking for GTK - version >= 1.2.2... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. configure: WARNING: *** GTK+ >= 1.2.2 not found *** checking for XInitThreads in -lX11... no configure: error: *** X11 not threadsafe *** Bad exit status from /var/tmp/rpm-tmp.23637 (%build)
Hier fehlt gtk-config. Muss also noch gtk-devel installiert werden.
Ja.
Aber warum findet er kein gtk? gtk-1.2.10 ist installiert.
Ohne devel findet er gar nix.
Und was ist mit "X11 not threadsafe"?
Muss ich passen, ignoriers einfach.
Achso, ja ich weiß, dass es xine und mplayer gibt. Laufen beide.
Dann ist ja gut ;-) -- Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/ | http://packman.links2linux.de/ Manfred | http://www.knightsoft-net.de
participants (3)
-
Harald_mail@t-online.de
-
Manfred Tremmel
-
Nottebrok, Guido