![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 | |
|
Just Give Me the Beans!
![]() |
HOWTO Compile beep-media-player 0.9.7rc2
EDIT: I know that beep-media-player is included in universe, but that is version 0.9.6.1, which is very buggy. You can Tty installing that one first (sudo apt-get install beep-media-player). If you find 0.9.6.1 to be too buggy, you can follow the instructions below instead.
Beep-media-player , or bmp, is a GTK+2 media player, forked from xmms. From the FAQ: Quote:
Make sure you have libglade-2.0 installed. 1. Download the 0.9.7rc2 tarball from SourceForge http://prdownloads.sourceforge.net/b...ar.gz?download 2. Unpack the tarball Code:
tar -xvzf bmp-0.9.7rc2.tar.gz Code:
cd bmp-0.9.7rc2.tar.gz/ Code:
./configure Code:
make Code:
sudo make install Code:
beep-media-player
__________________
16:20, AM Last edited by flygmaskin; October 25th, 2004 at 03:50 PM.. |
|
|
|
|
|
|
#2 |
|
Way Too Much Ubuntu
![]() |
Re: HOWTO Compile beep-media-player 0.9.7rc2
if you want alsa/mp3 remember to pass the --with-alsa / --with-mp3 (? iirc) in your ./configure, or even edit the configure file to suit your needs.
__________________
"For to me, to live is Christ and to die is gain." - Philippians 1:21 (NIV) |
|
|
|
|
|
#3 | |
|
Just Give Me the Beans!
![]() |
Re: HOWTO Compile beep-media-player 0.9.7rc2
Quote:
__________________
16:20, AM |
|
|
|
|
|
|
#4 |
|
Way Too Much Ubuntu
![]() |
Re: HOWTO Compile beep-media-player 0.9.7rc2
Make sure you also have the libglade-2.0 libraries installed as well.
__________________
"For to me, to live is Christ and to die is gain." - Philippians 1:21 (NIV) |
|
|
|
|
|
#5 | |
|
Just Give Me the Beans!
![]() |
Re: HOWTO Compile beep-media-player 0.9.7rc2
Quote:
__________________
16:20, AM |
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() |
Re: HOWTO Compile beep-media-player 0.9.7rc2
Hi, I got the following error when configuring:
checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 >= 2.4.0 gtk+-2.0 >= 2.4.0 gthread-2.0 pango... Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found configure: error: Cannot find glib2/gtk2/pango how can i solve this .I have installed gtk2 , glib. |
|
|
|
|
|
#7 | ||
|
Dipped in Ubuntu
![]() |
Just a few suggestions, I'm sure you won't mind.
(Note that in this guide I won't go much into details. Consult Maintainers Guide for more than a dirty little guide. :)) I want to have a control over what's installed on my system. How do I create a package instead? First, install everything as mentioned by flygmaskin, especially -dev packages. For ALSA support install libasound2-dev and for debianizing sources debmake: Code:
sudo apt-get install libasound2-dev debmake Follow flygmaskin's steps till number three. Instead of running ./configure, make, make install, run following: Code:
deb-make This will create debian directory with some files inside bmp sources. Quote:
control file: Quote:
Because we are creating a single, little package in our example, we will leave it as it is. Just type something meaningful into the description and section field. Feel free to use lines used above, they are taken from the official package anyway. rules file: Code:
* 14:41:09 * pef @ agonicus *
[~/src/beep-media-player-0.9.7rc2] > cat debian/rules
[cut]
#!/usr/bin/make -f
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
package=beep-media-player
build:
$(checkdir)
./configure --prefix=/usr
$(MAKE) CFLAGS="-O2 -g -Wall"
touch build
[/cut]
Let's take a look at the build section as seen above. There's is a single parameter given to the ./configure script, --prefix. But we want more options to be included in the package so run ./configure --help to see all. Code:
* 14:49:33 * pef @ agonicus * [~/src/beep-media-player-0.9.7rc2] > ./configure --help `configure' configures bmp 0.9.7rc2 to adapt to many kinds of systems. Now go back to your rules file, section build and edit it like this: Code:
build:
$(checkdir)
./configure --prefix=/usr --enable-gconf --enable-gnome-vfs --enable-one-plugin-dir
Save the file and proceed to the final step: Code:
sudo dpkg-buildpackage -D -uc Now you should have the package beep-media-player_0.9.7rc2-1_i386.deb/ bmp_0.9.7rc2-1_i386.deb (depends on how did you unpacked the sources) in .. created. Install using dpkg and pat yourself on the back. Mission accomplished. :)
__________________
"Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown RFC 3092 - Etymology of "Foo" Last edited by p!=f; November 15th, 2004 at 04:37 PM.. |
||
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() Join Date: Nov 2004
Beans: 29
Ubuntu 9.04 Jaunty Jackalope
|
Re: HOWTO Compile beep-media-player 0.9.7rc2
I get the following error trying to run configure on a clean install of warty:
checking for X... no configure: error: Cannot find X11 headers/libraries Any ideas? |
|
|
|
|
|
#9 | |
|
Dipped in Ubuntu
![]() |
Re: HOWTO Compile beep-media-player 0.9.7rc2
Quote:
Code:
sudo apt-get install x-dev
__________________
"Linux is like a wigwam. No Windows, no Gates and Apache inside!" - Unknown RFC 3092 - Etymology of "Foo" |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|