LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Thread Tools Search this Thread
Old 07-29-2007, 11:41 AM   #1
slackenerny
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware 12
Posts: 3
Thanked: 0
Building Miro Player on Slackware 12.0


[Log in to get rid of this advertisement]
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
slackenerny is offline     Reply With Quote
Old 07-29-2007, 01:41 PM   #2
stevod333
Member
 
Registered: Mar 2006
Location: Australia
Distribution: SUSE 10.2
Posts: 47
Thanked: 0
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..
stevod333 is offline     Reply With Quote
Old 07-29-2007, 04:01 PM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: OS X, Ubuntu
Posts: 1,505
Thanked: 0
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.
uselpa is offline     Reply With Quote
Old 07-29-2007, 06:03 PM   #4
slackenerny
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware 12
Posts: 3
Thanked: 0

Original Poster
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.
slackenerny is offline     Reply With Quote
Old 08-17-2007, 12:27 PM   #5
Dukeman
LQ Newbie
 
Registered: Jul 2005
Location: Sweden
Distribution: Slackware 12.0
Posts: 3
Thanked: 0
You can get the source for xulrunner at

http://releases.mozilla.org/pub/mozi....8.0.4/source/

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.

Edit:
This stuff is also needed for Miro on Slackware 12.0:
boost http://www.boost.org/
gnome-python http://ftp.gnome.org/pub/GNOME/sourc...e-python/2.19/
gnome-python-extras http://ftp.gnome.org/pub/GNOME/sourc...n-extras/2.19/
sqlite http://www.linuxpackages.net/download.php?id=11362
pysqlite http://www.initd.org/tracker/pysqlite/wiki/pysqlite

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.
Dukeman is offline     Reply With Quote
Old 08-27-2007, 08:56 AM   #6
noshir
LQ Newbie
 
Registered: Aug 2007
Location: tel aviv - israel
Distribution: zplinux, ubuntu, zenwalk, centos
Posts: 2
Thanked: 0
thank you

it helped me on a zenwalk 4.6

and it made me register to here
noshir is offline     Reply With Quote
Old 11-28-2007, 07:40 PM   #7
galgant
LQ Newbie
 
Registered: Jul 2007
Distribution: Slackware
Posts: 2
Thanked: 0
I installed Miro 1.0 last weekend successfully on Slackware 12.0 (thank you Dukeman).

Lazy as I am I took sqlite-3.5.2-i486-1sl.tgz, pysqlite-2.3.5-i486-2sl.tgz, pyrex-0.9.6.1-i486-1as.tgz from http://www.slacky.eu/ and boost-1.34.1-i486-1gds.tgz from http://www.linuxpackages.net/

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.

I downloaded the Gnome sources from http://ftp.gnome.org/pub/GNOME/sources/

Sorry for my bad english and good night!
galgant is offline     Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Miro Dc 20 on linux alejandroqueenforeve Linux - Software 0 03-03-2006 10:58 AM
macromedia flash player rpm building problems sailajabhandaru Linux - Software 2 06-04-2005 05:14 AM
MEPIS miro-freezes several time a second Bad_Bob Linux - General 2 03-13-2005 02:46 PM
Help building portable DVD player.. NO GUI?? StamfordRob Linux - Software 4 02-21-2003 02:08 PM


All times are GMT -5. The time now is 04:22 PM.

Main Menu
My LQ
Write for LQ
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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration