View Full Version : Howto: Build exaile from source.
cborga1985
November 5th, 2006, 02:45 AM
Howto: Building exaile from source.
Update: All Dependencies should be fixed now.
First
ALT+F2 gnome-terminal, click run then
wget http://www.exaile.org/files/exaile_0.2.9b.tar.gz
Second
Extract from tarball
tar xvfz exaile_0.2.9b.tar.gz
Third
Grab the dependencies
sudo apt-get install build-essential dpkg-dev debhelper libgstreamer0.10-0 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly python-gst0.10 gstreamer0.10-esd gstreamer0.10-alsa python2.4 python2.4-dev python2.4-gtk2 python-gtk2-dev python-glade2 python2.4-dbus python-pyvorbis python-mutagen python-pysqlite2 python-elementtree python2.4-gnome2-extras python-cddb streamripper
Forth
Go to the exaile folder
cd exaile_0.2.*
Fifth
Compile program
make
Sixth
Compile a debian package
sudo dpkg-buildpackage
wait for it to build
Seventh
Go to previous directory where the debian package generates
cd ..
Eighth
Install the package
sudo dpkg -i exaile*.deb
If it does not work when you go to run it. Do this but I didn't seperate everything. Just follow line by line.
cd ~/Desktop
wget http://janvitus.interfree.it/ubuntu/pool/dapper-upure64/main-amd64/python-mutagen_1.6-0ubuntu1~janvitus_all.deb
sudo dpkg -i python-mutagen_1.6-0ubuntu1~janvitus_all.deb
rm python-mutagen_1.6-0ubuntu1~janvitus_all.deb
Steps for building bleeding edge here (http://www.ubuntuforums.org/showpost.php?p=1863663&postcount=16).
by bionnaki
IusedTObeSOMEONEelse
November 10th, 2006, 08:34 PM
I just want to say THANK YOU for the HowTo. I am using Feisty Fawn on this Machine and it installed perfectly for me following all the steps. If only alot more things (I'll catch hell for saying this) were explained in those terms to make it easier for New Members to install various things. :-k Sally :cool:
ryu kun
November 19th, 2006, 06:52 PM
I've got this error after the install:
ryu@rua:~/src/exaile_0.2.6$ exaile
Traceback (most recent call last):
File "/usr/bin/exaile", line 67, in ?
from xl import *
File "/usr/share/exaile/xl/tracks.py", line 18, in ?
import common, media, db, config, trackslist
File "/usr/share/exaile/xl/media.py", line 18, in ?
import mutagen, mutagen.id3, mutagen.flac, mutagen.oggvorbis
ImportError: No module named oggvorbis
what should I do?
cborga1985
November 21st, 2006, 09:17 PM
I've got this error after the install:
ryu@rua:~/src/exaile_0.2.6$ exaile
Traceback (most recent call last):
File "/usr/bin/exaile", line 67, in ?
from xl import *
File "/usr/share/exaile/xl/tracks.py", line 18, in ?
import common, media, db, config, trackslist
File "/usr/share/exaile/xl/media.py", line 18, in ?
import mutagen, mutagen.id3, mutagen.flac, mutagen.oggvorbis
ImportError: No module named oggvorbis
what should I do?
Get lastest python-mutagen. Follow instructions above I just added.
ryu kun
November 23rd, 2006, 10:02 AM
Thank you. It works now.
cborga1985
November 23rd, 2006, 11:46 AM
Thank you. It works now.
no problem
stucky
November 24th, 2006, 05:29 PM
You kick ***.
bionnaki
November 25th, 2006, 02:58 PM
what is the advantage of building from source rather than using the .deb from exaile.org ?
Fsngruv
November 26th, 2006, 10:57 PM
The install was going well until I had to compile on step 5. It keep telling me command not found heres what it looks like, did I miss a step somewhere?
owenby@owenby-desktop:~$ sudo apt-get install build-essential dpkg-dev debhelper libgstreamer0.10-0 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly python-gst0.10 gstreamer0.10-esd gstreamer0.10-alsa python2.4 python2.4-dev python2.4-gtk2 python-gtk2-dev python-glade2 python2.4-dbus python-pyvorbis python-mutagen python-pysqlite2 python-elementtree python2.4-gnome2-extras python-cddb streamrippe
Reading package lists... Done
Building dependency tree... Done
libgstreamer0.10-0 is already the newest version.
gstreamer0.10-plugins-base is already the newest version.
gstreamer0.10-plugins-good is already the newest version.
python-gst0.10 is already the newest version.
gstreamer0.10-esd is already the newest version.
gstreamer0.10-alsa is already the newest version.
python2.4 is already the newest version.
python2.4-gtk2 is already the newest version.
python-glade2 is already the newest version.
python2.4-dbus is already the newest version.
python-pyvorbis is already the newest version.
python2.4-gnome2-extras is already the newest version.
python-cddb is already the newest version.
E: Couldn't find package streamrippe
owenby@owenby-desktop:~$ cd exaile*
owenby@owenby-desktop:~/exaile_0.2.6$ make
bash: make: command not found
owenby@owenby-desktop:~$ sudo apt-get install streamripper
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
kstreamripper streamtuner
The following NEW packages will be installed:
streamripper
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.9kB of archives.
After unpacking 176kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com dapper/universe streamripper 1.61.17-1 [60.9kB]
Fetched 60.9kB in 0s (79.4kB/s)
Selecting previously deselected package streamripper.
(Reading database ... 76166 files and directories currently installed.)
Unpacking streamripper (from .../streamripper_1.61.17-1_i386.deb) ...
Setting up streamripper (1.61.17-1) ...
owenby@owenby-desktop:~$ cd exaile*
bionnaki
November 27th, 2006, 04:05 PM
what's the point in creating a .deb? why not just sudo make install after make ? seems like making a .deb is an unnecessary step.
birdmun
November 30th, 2006, 03:24 PM
The nice thing about creating a .deb is that when you install it that way its easily removed via synaptic.
terminatorkobold
December 2nd, 2006, 11:37 AM
Hello cborga1985,
I get stuck when grabbing the dependencies.
The problem is with the python-gtk2-dev package, and I get the following error message from apt-get:
python-gtk2-dev: Depends on: libgtk2.0-dev (>= 2.8 ) but wont be installed
E: defect packages
What should I dou
Thanks
cborga1985
December 7th, 2006, 08:03 PM
what is the advantage of building from source rather than using the .deb from exaile.org ?
none really but some people had problems with the deb
cborga1985
December 7th, 2006, 08:08 PM
The install was going well until I had to compile on step 5. It keep telling me command not found heres what it looks like, did I miss a step somewhere?
owenby@owenby-desktop:~$ sudo apt-get install build-essential dpkg-dev debhelper libgstreamer0.10-0 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly python-gst0.10 gstreamer0.10-esd gstreamer0.10-alsa python2.4 python2.4-dev python2.4-gtk2 python-gtk2-dev python-glade2 python2.4-dbus python-pyvorbis python-mutagen python-pysqlite2 python-elementtree python2.4-gnome2-extras python-cddb streamrippe
Reading package lists... Done
Building dependency tree... Done
libgstreamer0.10-0 is already the newest version.
gstreamer0.10-plugins-base is already the newest version.
gstreamer0.10-plugins-good is already the newest version.
python-gst0.10 is already the newest version.
gstreamer0.10-esd is already the newest version.
gstreamer0.10-alsa is already the newest version.
python2.4 is already the newest version.
python2.4-gtk2 is already the newest version.
python-glade2 is already the newest version.
python2.4-dbus is already the newest version.
python-pyvorbis is already the newest version.
python2.4-gnome2-extras is already the newest version.
python-cddb is already the newest version.
E: Couldn't find package streamrippe
owenby@owenby-desktop:~$ cd exaile*
owenby@owenby-desktop:~/exaile_0.2.6$ make
bash: make: command not found
owenby@owenby-desktop:~$ sudo apt-get install streamripper
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
kstreamripper streamtuner
The following NEW packages will be installed:
streamripper
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.9kB of archives.
After unpacking 176kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com dapper/universe streamripper 1.61.17-1 [60.9kB]
Fetched 60.9kB in 0s (79.4kB/s)
Selecting previously deselected package streamripper.
(Reading database ... 76166 files and directories currently installed.)
Unpacking streamripper (from .../streamripper_1.61.17-1_i386.deb) ...
Setting up streamripper (1.61.17-1) ...
owenby@owenby-desktop:~$ cd exaile*
the code was not copy and pasted quite right
it should have been
sudo apt-get install build-essential dpkg-dev debhelper libgstreamer0.10-0 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly python-gst0.10 gstreamer0.10-esd gstreamer0.10-alsa python2.4 python2.4-dev python2.4-gtk2 python-gtk2-dev python-glade2 python2.4-dbus python-pyvorbis python-mutagen python-pysqlite2 python-elementtree python2.4-gnome2-extras python-cddb streamripper
The end of the command said streamrippe instead of streamripper. Do ls amd that should show a list of file like this.
boston@boston:~/Downloads/exaile_0.2.6$ ls
build-stamp debian exaile.glade license.txt mmkeys.so sql
changelog exaile exaile.gladep Makefile package.py TODO
checklist exaile.1 exaile.py merge po xl
configure-stamp exaile.desktop images mmkeys scripts
If you see another folder cd to it by typing cd foldername. Where foldername is what the folder inside the exaile folder was called. P.S. If you are try to use svn then you have to do cd trunk before doing make.
cborga1985
December 7th, 2006, 08:14 PM
The nice thing about creating a .deb is that when you install it that way its easily removed via synaptic.
thanks, you took the words right out of my mouth. much better to make the deb so later on you can purge all the data using sudo dpkg -P filename.deb
bionnaki
December 9th, 2006, 05:48 AM
you can also build the bleeding edge (currently 0.2.7b)
sudo apt-get install subversion
svn checkout svn://jbother.org/usr/local/svn/exaile/trunk
sudo apt-get install build-essential dpkg-dev debhelper libgstreamer0.10-0 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly python-gst0.10 gstreamer0.10-esd gstreamer0.10-alsa python2.4 python2.4-dev python2.4-gtk2 python-gtk2-dev python-glade2 python2.4-dbus python-pyvorbis python-mutagen python-pysqlite2 python-elementtree python2.4-gnome2-extras python-cddb streamripper
rename trunk directory in home directory to exaile_svn
cd exaile_svn
make
sudo dpkg-buildpackage
cd ..
sudo dpkg -i exaile*.deb
cborga1985
December 9th, 2006, 10:54 PM
Hello cborga1985,
I get stuck when grabbing the dependencies.
The problem is with the python-gtk2-dev package, and I get the following error message from apt-get:
python-gtk2-dev: Depends on: libgtk2.0-dev (>= 2.8 ) but wont be installed
E: defect packages
What should I dou
Thanks
Sounds like you haven't enabled all the repositories. A quick guide to do that here (http://ubuntuguide.org/wiki/Dapper#Repositories).
foxy123
December 14th, 2006, 08:48 AM
AFter building the package I have the following error:
$ exaile
Traceback (most recent call last):
File "/usr/bin/exaile", line 2291, in ?
main()
File "/usr/bin/exaile", line 2281, in main
exaile = ExaileWindow(options, fr)
File "/usr/bin/exaile", line 96, in __init__
self.database_connect()
File "/usr/bin/exaile", line 869, in database_connect
self.db.check_version("sql")
File "/usr/share/exaile/xl/db.py", line 134, in check_version
row = self.read_one("db_version", "version", "1=1", tuple())
File "/usr/share/exaile/xl/db.py", line 265, in read_one
cur.execute(query, args)
OperationalError: no such table: db_version
I am on Dapper, btw.
golem3
December 14th, 2006, 10:53 AM
none really but some people had problems with the deb
Yep, even after I did the sudo apt-get install (boat load of dependencies here)
the .deb fails to load for a libatk1.1 or something, a dependency that I cannot find via Synaptic to download.
Oh well.
terminatorkobold
December 15th, 2006, 05:53 AM
Sounds like you haven't enabled all the repositories. A quick guide to do that here (http://ubuntuguide.org/wiki/Dapper#Repositories).
Hello cborga,
I modified my sources.list file following the guide bu I still get the same error message when trying to get the python-gtk2-dev package. Do you have another sugestion?
Thanks
Christophe
ihavenoname
December 21st, 2006, 07:55 PM
Fifth
Compile program
make
Sixth
Compile a debian package
sudo dpkg-buildpackage
wait for it to build
is that how you build most debian packages? Or must it already have the debian folder inside? I am just learning the art (some may say the dark art) of Debian packaging.
cborga1985
December 28th, 2006, 08:03 AM
is that how you build most debian packages? Or must it already have the debian folder inside? I am just learning the art (some may say the dark art) of Debian packaging.
yeah once it has a control file which is in the debian folder of the source package. if it does not already have that you have to make your own control, and other things. i don't know that much about that. usually i patch stuff with premade control files from older versions or just use checkinstall sometimes.
cborga1985
December 28th, 2006, 08:08 AM
AFter building the package I have the following error:
$ exaile
Traceback (most recent call last):
File "/usr/bin/exaile", line 2291, in ?
main()
File "/usr/bin/exaile", line 2281, in main
exaile = ExaileWindow(options, fr)
File "/usr/bin/exaile", line 96, in __init__
self.database_connect()
File "/usr/bin/exaile", line 869, in database_connect
self.db.check_version("sql")
File "/usr/share/exaile/xl/db.py", line 134, in check_version
row = self.read_one("db_version", "version", "1=1", tuple())
File "/usr/share/exaile/xl/db.py", line 265, in read_one
cur.execute(query, args)
OperationalError: no such table: db_version
I am on Dapper, btw.
Delete the .exaile folder in your home directory.
cd ~
rm -r .exaile
Yep, even after I did the sudo apt-get install (boat load of dependencies here)
the .deb fails to load for a libatk1.1 or something, a dependency that I cannot find via Synaptic to download.
Oh well.
never had that happen
Hello cborga,
I modified my sources.list file following the guide bu I still get the same error message when trying to get the python-gtk2-dev package. Do you have another sugestion?
Thanks
Christophe
did you run this
sudo apt-get update to update the package lists?
ihavenoname
December 28th, 2006, 09:01 PM
yeah once it has a control file which is in the debian folder of the source package. if it does not already have that you have to make your own control, and other things. i don't know that much about that. usually i patch stuff with premade control files from older versions or just use checkinstall sometimes.
ah, thanx!
ufugu
December 30th, 2006, 11:47 PM
thanks so much for the straightforward instructions. it took just a couple minutes to get this done and its running well on my ppc. exaile is a great player.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.