I tried making a .deb out of .tar.bz2 in AntiX. Failed.
Code: Select all
root@biker:/home/harry/pianobar/pianobar-2011.09.22# checkinstall -D make install
checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ root@biker ]
1 - Summary: [ pianobar ]
2 - Name: [ pianobar ]
3 - Version: [ 2011.09.22 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ pianobar-2011.09.22 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ pianobar ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/main.o src/main.c
In file included from src/main.h:30:0,
from src/main.c:52:
src/player.h:37:19: fatal error: ao/ao.h: No such file or directory
compilation terminated.
make: *** [src/main.o] Error 1
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
root@biker:/home/harry/pianobar/pianobar-2011.09.22# checkinstall -D make install
checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ root@biker ]
1 - Summary: [ pianobar ]
2 - Name: [ pianobar ]
3 - Version: [ 2011.09.22 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ pianobar-2011.09.22 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ pianobar ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
Enter a number to change any of them or press ENTER to continue: 13
Enter the replaced packages:
>> pianobar-2011.07.09
This package will be built according to these values:
0 - Maintainer: [ root@biker ]
1 - Summary: [ pianobar ]
2 - Name: [ pianobar ]
3 - Version: [ 2011.09.22 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ pianobar-2011.09.22 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ pianobar ]
12 - Conflicts: [ ]
13 - Replaces: [ pianobar-2011.07.09 ]
Enter a number to change any of them or press ENTER to continue: 10
Enter the additional requirements:
>> gmake libao libfaad2 libmad pthreads
This package will be built according to these values:
0 - Maintainer: [ root@biker ]
1 - Summary: [ pianobar ]
2 - Name: [ pianobar ]
3 - Version: [ 2011.09.22 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ pianobar-2011.09.22 ]
9 - Alternate source location: [ ]
10 - Requires: [ gmake libao libfaad2 libmad pthreads ]
11 - Provides: [ pianobar ]
12 - Conflicts: [ ]
13 - Replaces: [ pianobar-2011.07.09 ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/main.o src/main.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/player.o src/player.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/settings.o src/settings.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/terminal.o src/terminal.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui_act.o src/ui_act.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui.o src/ui.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui_readline.o src/ui_readline.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/ui_dispatch.o src/ui_dispatch.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libpiano/crypt.o src/libpiano/crypt.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libpiano/piano.o src/libpiano/piano.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libpiano/xml.o src/libpiano/xml.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libwaitress/waitress.o src/libwaitress/waitress.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/libezxml/ezxml.o src/libezxml/ezxml.c
c99 -O2 -DNDEBUG src/main.o src/player.o src/settings.o src/terminal.o src/ui_act.o src/ui.o src/ui_readline.o src/ui_dispatch.o src/libpiano/crypt.o src/libpiano/piano.o src/libpiano/xml.o \
src/libwaitress/waitress.o src/libezxml/ezxml.o -lao -lpthread -lm \
-lfaad -lmad -o pianobar
install -d //usr/local/bin/
install -m755 pianobar //usr/local/bin/
install -d //usr/local/share/man/man1/
install -m644 contrib/pianobar.1 //usr/local/share/man/man1/
======================== Installation successful ==========================
Copying documentation directory...
./
./ChangeLog
./INSTALL
./README
./COPYING
Copying files to the temporary directory...OK
Stripping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Building Debian package... FAILED!
*** Failed to build the package
Do you want to see the log file? [y]: y
Erasing temporary files...OK
Writing backup package...OK
OK
Deleting temp dir...OK
I have all the dependencies installed for pianobar in AntiX like libao4,faad2.7,make,checkinstall,.
If you notice though my installation went successful though. The only epic fail was making the .deb with checkinstall which fails to put pianobar-2011.09.22 in my package manager in Antix.
Code: Select all
root@biker:/home/harry/pianobar/pianobar-2011.09.22# apt-cache policy pianobar
pianobar:
Installed: 2011.07.09-1
Candidate: 2011.07.09-1
Version table:
*** 2011.07.09-1 0
901 http://ftp.us.debian.org/debian/ testing/main i386 Packages
100 /var/lib/dpkg/status
Bright side out of all of this though is I can run the current pianobar out of my /home/harry/pianobar/pianobar-2011.09.22 with the ./pianobar command
Code: Select all
harry@biker:~/pianobar/pianobar-2011.09.22$ ./pianobar
Welcome to pianobar (2011.09.22)! Press ? for a list of commands.
[?] Email: rok
[?] Password:
(i) Login... Ok.
(i) Get stations... Ok.
0) AC/DC Radio
1) Audioslave Radio
2) Avenged Sevenfold Radio
3) Buckcherry Radio
4) Charlie Sexton Radio
5) Chris Rea Radio
6) Depeche Mode Radio
7) q Evanescence Radio
8) Faith No More Radio
9) Gary Numan/Tubeway Army Radio
10) Gorillaz Radio
11) Q roks QuickMix
12) Hoobastank Radio
13) Jace Everett Radio
14) Les Claypool Radio
15) Little Feat Radio
16) Marilyn Manson Radio
17) Nickelback Radio
18) q Nine Inch Nails Radio
19) Puddle Of Mudd Radio
20) Savoy Brown Radio
21) Seether Radio
22) Stevie Ray Vaughan Radio
23) The Black Keys Radio
24) The Cult Radio
25) The Fabulous Thunderbirds Radio
26) Thin Lizzy Radio
27) Thousand Foot Krutch Radio
28) ZZ Top Radio
[?] Select station: 10
|> Station "Gorillaz Radio" (375334589320037778)
(i) Receiving new playlist... Ok.
|> "Dare (Soulwax Remix)" by "Gorillaz" on "D-Sides"
|> "Take Me Out" by "Franz Ferdinand" on "Franz Ferdinand"
|> "Wish Coin (Go It Alone - Remix By Diplo)" by "Beck" on "Guerolito"
|> "Da Funk" by "Daft Punk" on "Musique Vol. 1: 1993 - 2005"
# -03:14/05:34
I know this does not help you one bit sfeeley. I am in unknown territory myself right now
,
Being just a linux biker, not a programmer or script kiddie, sorry.
Later on. I will boot into Puppy 520 on this laptop and see what happens if I install from tar.bz2 with devx like I did with AntiX build-essentials.
I hope some member here better than me at building .pets is reading this thread and will show some mercy.
Edit: Forget about it from me. My pianobar-2011.09.22 install from tar.bz2 in puppy 520 full install fails miserably.
Code: Select all
# cc
cc: no input files
# make clean && make
rm -f src/main.o src/player.o src/settings.o src/terminal.o src/ui_act.o src/ui.o src/ui_readline.o src/ui_dispatch.o src/libpiano/crypt.o src/libpiano/piano.o src/libpiano/xml.o src/libwaitress/waitress.o src/libwaitress/waitress.o/test.o \
src/libezxml/ezxml.o src/libpiano/crypt.lo src/libpiano/piano.lo src/libpiano/xml.lo src/libwaitress/waitress.lo \
src/libezxml/ezxml.lo pianobar libpiano.so* libpiano.a waitress-test
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -c -o src/main.o src/main.c
make: c99: Command not found
make: *** [src/main.o] Error 127
#
Code: Select all
# make clean && make libpiano && make install-libpiano
rm -f src/main.o src/player.o src/settings.o src/terminal.o src/ui_act.o src/ui.o src/ui_readline.o src/ui_dispatch.o src/libpiano/crypt.o src/libpiano/piano.o src/libpiano/xml.o src/libwaitress/waitress.o src/libwaitress/waitress.o/test.o \
src/libezxml/ezxml.o src/libpiano/crypt.lo src/libpiano/piano.lo src/libpiano/xml.lo src/libwaitress/waitress.lo \
src/libezxml/ezxml.lo pianobar libpiano.so* libpiano.a waitress-test
make: *** No rule to make target `libpiano'. Stop.