PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Museek



stokedfish
02.06.04, 09:31
Hallo :)

Habe ein Problem bei der Installation von Museek!


Museek uses the SConstruct build system (www.scons.org) for building and installing all components. If you got Museek from as an official release tarball (ie. not from the Subversion repository, and not a snapshot), 'scons' should be included with the release and your can start scons using 'python scons/scons.py'. For the impatient and/or people with AD(H)D: # scons install or: # python scons/scons.py install Dependencies: Museek depends on: - libxml++-1.0.0 or newer Museeq (the Qt GUI) depends on: - Qt 3.2 or newer The build system depends on: - Python - SConstruct (included with release tarballs) - A C compiler - A C++ compiler with access to STL - Development packages for libxml++ and optionally Qt Using the build system: $ scons [options]... [targets]... or: $ python scons/scons.py [options]... [targets]... Available options (options marked with are remembered between scons runs): PREFIX=prefix Install prefix, where to install Museek to (default:'/usr/local') BINDIR=prefix Binary directory, where to install binaries to (default: '$PREFIX/bin') DATADIR=prefix Data directory, where to install data files (default: '$PREFIX/share/museek') DESTDIR=prefix Installation destination dir, useful for package builders. (default: '') BUILDDIR=yes/no Build to build-platform-arch subdirectory default: yes RELEASE=yes/no Build for release with optimizations and without debugging information (only for gcc) default: no MULOG=debug,cycle,calltrace Which debugging messages to include default: 'cycle,debug' EPOLL=yes/no Use epoll when available (linux 2.6+) default: yes MUSEEQ=yes/no Test for Qt, and if available, build museeq default: yes QTDIR=prefix Directory where Qt can be found (should have an include and lib subdirectory) default: auto-detect QT_LIB=lib Specify which Qt library to use. default: 'qt' with fallback to 'qt-mt' Available build targets (that make sense): museekd Build the museek daemon Tools Build the museek tools (only muscan for now) museeq Build the Qt GUI to museekd install_museekd Install museekd install_museeq Install museeq install_tools Install the museek tools (read: muscan) install Install all of the above Default targets that are built: museekd, Tools, museeq
Naja, eigentlich ist alles installiert. Führe ich es aber aus, passiert folgendes:


fish@x1-6-00-c0-9f-0e-08-bb:~/sources/museek> python scons/scons.py

scons: Reading SConscript files ... Checking for header file stdio.h... yes Checking for header file sys/types.h... yes Checking for header file sys/stat.h... yes Checking for header file stdlib.h... yes Checking for header file stddef.h... yes Checking for header file memory.h... yes Checking for header file string.h... yes Checking for header file strings.h... yes Checking for header file inttypes.h... yes Checking for header file stdbool.h... yes Checking for header file stdint.h... yes Checking for header file unistd.h... yes Checking for header file stdarg.h... yes Checking for header file netdb.h... yes Checking for header file sys/socket.h... yes Checking for header file sys/un.h... yes Checking for header file fcntl.h... yes Checking for header file netinet/in.h... yes Checking for header file sys/poll.h... yes Checking for header file pwd.h... yes Checking for header file errno.h... yes Checking for iconv input type... char** Checking for C header file sys/epoll.h... yes Checking for C++ function epoll_ctl()... yes Checking for C header file signal.h... yes Checking signal callback return type... void Checking for C type UNIX_PATH_MAX... no Checking for C header file time.h... yes Checking for C header file dirent.h... yes Checking for C++ function scandir()... yes Checking for scandir entry type... dirent Checking for large file support... yes (_FILE_OFFSET_BITS=64) Checking for C++ type uint... yes Checking for C++ type uint32... no Package libxml++-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libxml++-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libxml++-1.0' found Checking for C++ header file libxml++/libxml++.h... no Please install libxml++-1.0 where pkg-config and scons can find it

fish@x1-6-00-c0-9f-0e-08-bb:~/sources/museek> python scons/scons.py install

scons: Reading SConscript files ... Checking for header file stdio.h... yes Checking for header file sys/types.h... yes Checking for header file sys/stat.h... yes Checking for header file stdlib.h... yes Checking for header file stddef.h... yes Checking for header file memory.h... yes Checking for header file string.h... yes Checking for header file strings.h... yes Checking for header file inttypes.h... yes Checking for header file stdbool.h... yes Checking for header file stdint.h... yes Checking for header file unistd.h... yes Checking for header file stdarg.h... yes Checking for header file netdb.h... yes Checking for header file sys/socket.h... yes Checking for header file sys/un.h... yes Checking for header file fcntl.h... yes Checking for header file netinet/in.h... yes Checking for header file sys/poll.h... yes Checking for header file pwd.h... yes Checking for header file errno.h... yes Checking for iconv input type... char** Checking for C header file sys/epoll.h... yes Checking for C++ function epoll_ctl()... yes Checking for C header file signal.h... yes Checking signal callback return type... void Checking for C type UNIX_PATH_MAX... no Checking for C header file time.h... yes Checking for C header file dirent.h... yes Checking for C++ function scandir()... yes Checking for scandir entry type... dirent Checking for large file support... yes (_FILE_OFFSET_BITS=64) Checking for C++ type uint... yes Checking for C++ type uint32... no Package libxml++-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libxml++-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libxml++-1.0' found Checking for C++ header file libxml++/libxml++.h... no Please install libxml++-1.0 where pkg-config and scons can find it

fish@x1-6-00-c0-9f-0e-08-bb:~/sources/museek> whereis libxml

libxml: /usr/lib/libxml2.a /usr/lib/libxml2.la /usr/lib/libxml2.so /usr/lib/libxml.a /usr/lib/libxml.la /usr/lib/libxml.so /usr/share/man/man3/libxml.3.gz
Was nun? Weiss jemand Rat? :rolleyes:

core
02.06.04, 10:03
Bist du sicher, dass du neben libxml2 auch libxml++ hast?
http://libxmlplusplus.sourceforge.net/

stokedfish
02.06.04, 11:24
Danke core, das war tatsächlich der Fehler! :rolleyes:

Nun ja, ich habs kompiliert, dann nochmals Museek versucht zu installieren, das scheint auch geklappt zu haben - am Ende kommt folgendes:


Install file: "build-i686-linux/museeq/museeq" as "/usr/local/bin/museeq" Install file: "build-i686-linux/museeq/away.png" as "/usr/local/share/museek/museeq/away.png" Install file: "build-i686-linux/museeq/browser.png" as "/usr/local/share/museek/museeq/browser.png" Install file: "build-i686-linux/museeq/chatroom.png" as "/usr/local/share/museek/museeq/chatroom.png" Install file: "build-i686-linux/museeq/offline.png" as "/usr/local/share/museek/museeq/offline.png" Install file: "build-i686-linux/museeq/online.png" as "/usr/local/share/museek/museeq/online.png" Install file: "build-i686-linux/museeq/privatechat.png" as "/usr/local/share/museek/museeq/privatechat.png" Install file: "build-i686-linux/museeq/search.png" as "/usr/local/share/museek/museeq/search.png" Install file: "build-i686-linux/museeq/tab_remove.png" as "/usr/local/share/museek/museeq/tab_remove.png" Install file: "build-i686-linux/museeq/transfer.png" as "/usr/local/share/museek/museeq/transfer.png" Install file: "build-i686-linux/museeq/userinfo.png" as "/usr/local/share/museek/museeq/userinfo.png" scons: done building targets.
Aber wie starte ich jetzt das Programm?

Muss ich noch make ausführen? :rolleyes:


x1-6-00-c0-9f-0e-08-bb:/home/fish/sources/museek # make make: *** No targets specified and no makefile found. Stop.

stokedfish
02.06.04, 11:55
Naja, habs schon rausgefunden, es ist etwas tricky!

musetup
museeq

:)

stokedfish
02.06.04, 16:45
So, damit alle was von meiner "Installationserfahrung" haben, hier eine kleine "Anleitung" - wie immer von Newbie für Newbie und keine Garantie für nix! :D

Ein paar Tipps zur Installation:

----------------------------------------------------------------------------------------------------------------------

1. Museek runterladen und entpacken

Holt euch auf http://museek.thegraveyard.org/ die neuste Version (aber nicht die cvs) und entpackt diese in ein Verzeichnis.

Die Seite ändert sich dauernd, ich sehe gerade, dass mittlerweile sogar schon ein ebuild für Gentoo drauf ist!


2. Abhängigkeiten installieren

Ich habs mal auf Suse 9.1 installiert, es war alles dabei auf der CD, bis auf http://libxmlplusplus.sourceforge.net/ welches ihr z.B. unter http://ftp.gnome.org/pub/GNOME/sources/libxml++/1.0/ beziehen könnt. Ich habe die Version libxml++-1.0.4 installiert, sie liess sich problemlos kompilieren mit ./configure | make | checkinstall (bwz. make install) - weiter braucht ihr noch folgendes:

- Qt 3.2 or newer
- Python
- SConstruct (included with release tarballs)
- C compiler
- C++ compiler with access to STL
- Development packages for libxml++ and optionally Qt


3. Museek installieren

Wenn ihr alle Abhängigkeiten installiert habt, dann wechselt ins Verzeichnis der source und gebt dort folgendes ein:

(install file vorher lesen kann nich schaden) ;-)


python scons/scons.py install
Die Installation dauerte bei mir zwar etwas lange, verlief dafür aber völlig problemlos!


4. Museek konfigurieren

Macht zuerst mal ein verstecktes "museekd" Verzeichnis in eurem HOME, in etwa so:


mkdir /home/fish/.museekd
Jetzt startet ihr "museekd" - das wird zwar fehlschlagen, aber keine Sorge; es erzeugt eine wichtige config Datei, die ihr gleich benötigen wird!

Dann ein "musetup" um die gewünschten Einstellungen vorzunehmen.

Zu guter letzt muss man noch in der "config.xml" im "museekd" Verzeichnis das Passwort zur Kommunikation zwischen dem daemon (museekd) und dem grafischen client (museeq) festlegen. Wenn ihr Probleme habt, haltet euch an folgende Anleitung bzw. nimmt als Basis das dort angebotene "config.xml" file:

http://thegraveyard.org/daelstorm/museekfaq.html

(die rot hervorgehobenen Teile müssen geändert werden)


5. Museek starten

Nun könnt ihr loslegen. Startet den daemon mit "museekd" und dann den client mit "museeq" - jetzt müsst ihr nur noch das Passwort eingeben, dass ihr vorher in die config.xml reineditiert habt und schon seid ihr drin!

----------------------------------------------------------------------------------------------------------------------

Dem Programm fehlen noch einige features von nicotine, ist aber ja auch erst Alpha. Sofort aufgefallen ist mir die sehr schnelle Bedienung, den besseren ticker und das schöne Design.

Ich habe noch kurz bei hyriand und daelstorm nachgefragt, so wie es aussieht wollen sie (fast) alle features von nicotine auch in museek einbauen. Momentan vermisse ich z.B. noch die chat commands in einer query (in rooms funktionert es) sowie die buddy und room search Funktion. Auch die Filter sind noch nicht implementiert und ein paar kleine Bugs (z.B. falsche Anzeige des Status und shares in der buddylist) habe ich auch schon bemerkt. Sonst gefällt es mir aber sogar noch besser als nicotine. Neu sind "slots" dazu gekommen, dafür fehlt die "locally queue uploads" Funktion. Browst man einen User, wird dessen share noch übersichtlicher dargestellt und das "Handling" ist deutlich verbessert, er reagiert sofort. Nicotine war da deulich langsamer.

Ich persönlich empfehle einen Wechsel momentan noch nicht, es kann aber nicht falsch sein, sich schon jetzt mal an die Installation ranzuwagen, da Museek wohl klar der zukünftig dominierende (und eventuell einzig weiterentwickelte) client für Soulseek auf Linux sein wird! :-)