Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm trying to use Slackware for my media PC, but I was not able to build Miro Player on a clean installation of Slackware 12.0. Did anyone succeed in doing this and how??
There is a list of install prerequisites in the Linux installation document, which includes subversion, python2.4, libboost-python-dev, python-gnome2-dev (python bindings for gconf), python-gnome2-extras-dev (python bindings for gtkmozembed), python2.4-pyrex, python2.4-gtk2, python2.4-glade2, libxine-dev, python-pysqlite2, and either libxul-dev or both mozilla-dev and mozilla-psm. I only found some of these. Any idea where I can find all of them??
Anybody has a pre-compiled tgz Slackware package of Miro Player? Thanks
Compiling alot of applications from code can be a pain....
First of all, did you thoroughly read the README or INSTALL files/documentation for building this app?
Exactly what instructions/commands are you using to build/make the application... what/any error messages you get when "making"???
I've personally found it can be more trouble than it's worth trying to compile apps from code if they don't compile neatly and easily straight up... I usually end up using something different that can be installed from binaries specific to the distro, but i'm a slacker
Last edited by stevod333; 07-29-2007 at 01:46 PM..
For the Python part, be aware that Slackware 12 comes with Python 2.5, not 2.4. You might want to check if Miro is compatible with 2.5. Also, Slackware doesn't come with Gnome, although it's available from third-parties.
For Slackware-specific questions it's better to post in the Slackware forum here on LQ.
I think the problem is in the dependencies. I need to install a dozen programs before Miro Player (or Democracy Player) would compile. I was able to find "Pyrex" but none of the rest. Any idea where I can find "libboost-python-dev", "python-gnome2-dev", "python-gnome2-extras-dev", "python-pysqlite2", and "libxul-dev" to name some.
I got the build script to produce the error "Can't find xulrunner-xpcom, mozilla-xpcom or firefox-xpcom". But installing "xulrunner" did not help ... still same error.
With all the needed build dependencies, Miro could indeed be difficult to install. I was wondering if someone on the forum succeeded in installing it and could tell us how.
Configure it with:
./configure --enable-application=xulrunner --disable-javaxpcom
and then make and make install as usual.
This took me quite a while to figure out, as the older versions of xulrunner seem to catastrophically fail compiling with glibc 2.4 and newer (slackware 12 uses version 2.5). I have yet to make Miro run, however, but this seems to be due to a failed dependency (boost) and I will investivate further.
Notes:
boost may need some persuading (symlinks for /usr/include/boost and libboost_python.so) to make the Miro installation continue (complains about not finding -lboost_python)
gnome-python may complain that some parts are not built, this is OK as long as it DOES build the gconf module
gnome-python-extras is to solve the dependency of gtkmozembed, and also might not build all of its modules, but that's OK.
Using this setup I have made Miro build and run on slackware 12.0
Last edited by Dukeman; 08-17-2007 at 02:48 PM..
Reason: Completed solution and fixed that first link.
Then I compiled xulrunner-1.8.0.4 like Dukeman described.
I needed pygtk-2.12.0 (dependency: pygobject-2.14.0) too.
gnome-python-2.20.0 requires libgnome-2.20.1, which has a lot of dependencies:
- GConf-2.20.1 (dependency: ORBit2-2.14.10)
- gnome-vfs-2.20.1 (dependency: gnome-mime-data-2.18.0)
- libbonobo-2.20.1 (dependency: pyorbit-2.14.3)
To successfully compile gnome-python you have to make a symbolic link from
/usr/include/libbonobo-2.0/bonobo/Bonobo.h to
/usr/include/bonobo-activation-2.0/bonobo.h
gnome-python-extras-2.19.1 compiled without any problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.