Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 21 Nov 2014, 23:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
terminal applications
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Author Message
rokytnji


Joined: 20 Jan 2009
Posts: 1455
Location: Pecos/ Texas

PostPosted: Fri 23 Sep 2011, 16:38    Post_subject: Dirty run
Sub_title: pianobar-2011.09.22
 

I tried making a .deb out of .tar.bz2 in AntiX. Failed.

Code:
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:
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:
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 Embarassed ,

Being just a linux biker, not a programmer or script kiddie, sorry. Sad

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. Smile

Edit: Forget about it from me. My pianobar-2011.09.22 install from tar.bz2 in puppy 520 full install fails miserably.

Code:
# 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:
# 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.
Back to top
View user's profile Send_private_message Visit_website 
rokytnji


Joined: 20 Jan 2009
Posts: 1455
Location: Pecos/ Texas

PostPosted: Fri 23 Sep 2011, 22:57    Post_subject: Not a .pet
Sub_title: Got it working in Puppy 520
 

Here is what I did. Since making a .pet was beyond my skillset out of a tar.bz2.

I used pmount to grab my pianobar folder in AntiX. Copied it over into / (root) in puppy 520. I symlinked the pianobar in that folder to /usr/bin in puppy 520. I made sure I uninstalled old pianobar in puppy package manager first. Leave faad and libao alone (do not uninstall)

Code:
 Woof Woof! Welcome to puppy console
         .:/+++/-`                                         
     `/hNMMMMMMMMMms-                                       
    +mMMMMMMMMMMMMMMMh-                                     
  `dMMMMMMMMMMMNNMMMMMM+                        `..`         
  hMMMMMMMMMh:`` `-sMMMM/                    `+dNMMMmy-       
 -NMMMMMMMMo        :MMMd                   `mMMMMMMMMM/       
 :MMMMMMMMN.        `mMMm                   oMMMMMMMMMMd         
 .NMMMMMMMMy`       +MMMy                   -NMMMMMMMMMs         
  +MMMMMMMMMmo:..-+dMMMm`                    -dMMMMMMNo         
   /NMMMMMMMMMMMMMMMMMh.                       ./++/-           
    `omMMMMMMMMMMMMMh:   .----------------`                     
       -ohmNNMNmdy/.    +MMMMMMMMMMMMMMMMMN.                     
                        `+mMMMMMMMMMMMMMMd:                     
                          `+mMMMMMMMMMMd:                       
                            `+NMMMMMMd:                         
                 ./.           +NMMh:           ::               
                 +Mm-          /NMMy`         `sMd`             
                  /mMy:`    `/hMd:sMNo-     .+mMy`               
                   `/hNMmmmNMmy:   .odNNmmmNMds.                 
                       .-::-`         `.:::-`                   
                                                                 
# pianobar
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libsndio.so => dlopen() failed
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libroar.so => dlopen() failed
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  rok 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: 28
|>  Station "ZZ Top Radio" (426160442026919314)
(i) Receiving new playlist... Ok.
|>  "Give It Up" by "ZZ Top" on "Greatest Hits"
socket(): Address family not supported by protocol
|>  "I Heard It Through The Grapevine" by "Creedence Clearwater Revival" on "Chronicles"
socket(): Address family not supported by protocol
#   -08:34/11:06


My zipped folder extract to / in puppy 520.

typo error in description for in zip. It should say symlink pianobar (absolute) to /usr/bin

Edit:Tested this in Macpup 528 also installing like I did above (it works). Make sure you install liba04 pet I posted and faad2.7 wolfe pet I posted in link in this thread also before running pianobar in MacPup 528. The only thing I did different was to extract the .zip to /opt in Macpup. Symlinking (drag and drop) to /usr bin was the same and used absolute for symlink.
pianobar.jpg
 Description   
 Filesize   56.91 KB
 Viewed   698 Time(s)

pianobar.jpg

pianobar-2011.09.22.zip
Description  pianobar-2011-09-22 symlink pianobar (absolute) to .usr/bin
zip

 Download 
Filename  pianobar-2011.09.22.zip 
Filesize  385.46 KB 
Downloaded  163 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Sun 25 Sep 2011, 19:31    Post_subject:  

Rocky
I'm out of town away from my puppy computer for a couple of days, so I won't be able to test right away-- but this looks really promising.

Again, thanks so much -- I look forward to trying it.
Back to top
View user's profile Send_private_message 
rokytnji


Joined: 20 Jan 2009
Posts: 1455
Location: Pecos/ Texas

PostPosted: Thu 29 Sep 2011, 15:16    Post_subject: New Pianobar Pets
Sub_title: Version 2011.09.22
 

Took a few days for Debian Sid to catch up with some Debian Packages. Here are the new .pets. I deleted my symlink and made and installed these pets on my Puppy 520 install. It works. I am not going to test on my MacPup 528 as I am happy with the way I got it working in my above post also. So no need. It will probably work in any Puppy 5 series anyhows. Make sure you uninstall old pianobar pets, (leave faad and libao alone though).
pianobar_2011.09.22-1_i386.pet
Description  Install second
pet

 Download 
Filename  pianobar_2011.09.22-1_i386.pet 
Filesize  32.06 KB 
Downloaded  164 Time(s) 
libpiano0_2011.09.22-1_i386.pet
Description  Install first
pet

 Download 
Filename  libpiano0_2011.09.22-1_i386.pet 
Filesize  37.83 KB 
Downloaded  173 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Thu 29 Sep 2011, 23:11    Post_subject:  

Roky-- I tried the new pets and they work great (with the usual errors at start). Again, thanks so much.

(PS-- I love pianobar. Since I'm too easily distracted by the internet, I've set up one savefile with no browser, but with pianobar I can still get music while I write.)
Back to top
View user's profile Send_private_message 
rokytnji


Joined: 20 Jan 2009
Posts: 1455
Location: Pecos/ Texas

PostPosted: Wed 09 Nov 2011, 19:00    Post_subject: Betcha it broke again
Sub_title: Latest pianobar compiled by me
 

This is latest pianobar from git version 11.09-dev

Uninstall the old .pet I made for now. Download the .zip. Extract in / . Open folder and find pianobar bin I compiled from source.

Open another rox filer and go to /usr/bin

Drag and drop pianobar to /usr/bin and symlink (relative is what I use)

Code:
roky@biker:~$ pianobar
Welcome to pianobar (2011.11.09-dev)! Press ? for a list of commands.
[?] Email:
[?] 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)     Funkadelic Radio
   10)     Gary Numan/Tubeway Army Radio
   11)     Gorillaz Radio
   12)  Q  roky's QuickMix
   13)     Hoobastank 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: 9
|>  Station "Funkadelic Radio" (625473948495545746)
(i) Receiving new playlist... Ok.
|>  "I Bet You" by "Funkadelic" on "Funkadelic"
|>  "Dr. Funkenstein" by "Parliament" on "Parliament Gold"
|>  "Catfish Blues" by "Jimi Hendrix" on "Blues"
|>  "Get Up I Feel Like Being A Sex Machine (Live)" by "James Brown" on "Sex Machine (Live)"
#   -04:42/10:48


If someone else can make a pet out of this. All the better.

BIG EDIT : Well. I finally had some time to get to my Puppy 520 Laptop, I downloaded my zip. Installed it. Got a gnutls 2.10 error. So I installed from coolpups site http://www.smokey01.com/coolpup/gnutls-2.10.4-w-20110223.pet to get rid of the gnutls error.

Trouble is.

Code:
sh-4.1# pianobar
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libsndio.so => dlopen() failed
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libroar.so => dlopen() failed
Welcome to pianobar (2011.11.09-dev)! Press ? for a list of commands.
[?] Email:
[?] Password:
(i) Login... Network error: TLS handshake failed.


I don't know why this happens in Puppy 520 but it works OK in my AntiX installed Computers. So hold back I guess till I figure this error out. If I can Question
PromyLOPh-pianobar-b14463a.zip
Description 
zip

 Download 
Filename  PromyLOPh-pianobar-b14463a.zip 
Filesize  116.73 KB 
Downloaded  161 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1292s ][ Queries: 12 (0.0051s) ][ GZIP on ]