Home > Linux, Ubuntu > Install sopcast on Ubuntu 13.10 – manual installation in Saucy Salamander

Install sopcast on Ubuntu 13.10 – manual installation in Saucy Salamander

sopcast logo

The main change in the  manual installation of sopcast in ubuntu 13.10 compared to previous versions of ubuntu concerns the 64-bit version.  In Ubuntu 13.10 64 bit  it isn’t necessary to install ia32-libs ( there isn’t ia32-libs in Ubuntu 13.10 )

To install sopcast 3.2.6 for linux  in Ubuntu 13.10, using manual installation, we can use files listed on this page http://sopcast.com/download/linux.html

sopcast-player ubuntu 13.10

sopcast-player ubuntu 13.10

Install sopcast 32 and 64 bit  OS

1)  Install sp-auth

wget http://download.easetuner.com/download/sp-auth.tgz
tar -zxvf sp-auth.tgz
sudo cp ./sp-auth/sp-sc-auth /usr/bin/sp-sc
sudo cp ./sp-auth/sp-sc-auth /usr/local/bin/sp-sc

2) Check sp-sc

maurizio@U1310tst:~$ sp-sc
sp-sc: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

3)  libstdc++5 is missing so download and use it :

wget http://www.sopcast.com/download/libstdcpp5.tgz
tar -zxvf libstdcpp5.tgz
sudo cp -a ./usr/lib/libstdc++.so.5* /usr/lib/

it possibile to check the presence of libstdc + +5 with dpkg, too.

$ dpkg -l | grep libstdc++5
ii libstdc++5:i386 1:3.3.6-25ubuntu1 The GNU Standard C++ Library v3

retest sp-sc 

sp-sc
SC Version: 3.2.6 Build time: 2009-11-09 15:09
Usage:
./sp-sc [-TpI] [-b ipaddr] [-u username:password] [-n out:total] <sop://url> <localport> <playerport>

4)  Install gettext
It is possibile check if gettext is installed with dpkg

# dpkg -l | grep "gettext "
ii  gettext                               0.18.1.1-10ubuntu3                  amd64        GNU Internationalization utilities

If it isn’t installed  you can Install gettext with :

# sudo apt-get install gettext

5) Now we download, extract and compile sopcast-player

wget http://sopcast-player.googlecode.com/files/sopcast-player-0.8.5.tar.gz
tar -zxvf sopcast-player-0.8.5.tar.gz
cd sopcast-player/

Compile and  install

make
sudo make install

We start the program from the menu “Sound & Video” or with the command from the terminal

 sopcast-player

When you fist start sopcast click to retrive channels the button unlighted in red in next image

sopcast player first start ubuntu 13.10

sopcast player first start ubuntu 13.10

Resources:

  1. Vincenzo
    novembre 7, 2013 alle 9:53 pm

    Hi.

    I have a 64-bit computer and related Ubuntu 13.10 version.
    I executed everything you have suggested to install Sopcast without errors; but, when I run “sopcast-player” on the terminal command line, I read the following error message:

    Traceback (most recent call last):
    File “/usr/share/sopcast-player/lib/sopcast-player.py”, line 24, in
    import gtk.glade
    ImportError: No module named glade

    Please, could you check what happened?

    Thank you. Bye
    Vincenzo
    (Napoli – Italia)

    • novembre 8, 2013 alle 11:01 pm

      Sembra che manchino le librerie python gtk.glade
      Prova a vericare come stai con le dipendenze con

      sudo apt-get install -f
      

      se ti da tutto OK senza installare nulla
      ricontrolla con sudo dpkg -l | grep glade

      sudo dpkg -l | grep glade
      ii  libglade2-0:amd64                         1:2.6.4-1ubuntu3                        amd64        library to load .glade files at runtime
      ii  python-glade2                             2.24.0-3ubuntu1                         amd64        GTK+ bindings: Glade support
      

      Se mancano installa con

      sudo apt-get install python-glade2
      

      Non è detto che non ti manchino altre librerie
      strano che non ti abbia informato in fase di compilazione.
      Comunque posta i problemi e vediamo di risolverli.
      Devi avere solo un po’ di pazienza.

      • Vincenzo
        novembre 9, 2013 alle 11:40 pm

        Ciao, Maurizio. Grazie per l’integrazione.

        Infatti, mancavano le librerie Python gtk.glade, che ho prontamente installato con le nuove istruzioni che mi hai fornito.
        Ho anche ricompilato, a scanso di equivoci, ed ora il programma parte, dando il comando da terminale e visualizza sul terminale tante righe di warning di questo tipo:

        (sopcast-player.py:3407): libglade-WARNING **: unknown attribute `swapped’ for .

        … e poi questa:

        (sopcast-player.py:3407): libglade-WARNING **: unknown property `ubuntu_local’ for class `GtkMenu’

        Ho fatto partire un canale e va bene, ma intanto sul terminale viene fuori quanto segue:

        Fontconfig warning: FcPattern object size does not accept value “0”
        Fontconfig warning: FcPattern object size does not accept value “0”
        [wmv3 @ 0x7fb64c015100] Bits overconsumption: 31640 > 31632
        [wmv3 @ 0x7fb64c015100] concealing 606 DC, 606 AC, 606 MV errors
        2 day(s) 0:28:46/0:00:00
        [wmav2 @ 0x7fb64c027ba0] overflow in spectral RLE, ignoring
        [wmav2 @ 0x7fb64c027ba0] overflow in spectral RLE, ignoring
        [wmav2 @ 0x7fb64c027ba0] frame_len overflow
        [wmv3 @ 0x7fb64c015100] Bits overconsumption: 27008 > 27000 at 15×19
        [wmv3 @ 0x7fb64c015100] concealing 195 DC, 195 AC, 195 MV errors
        2 day(s) 0:28:48/0:00:00
        2 day(s) 0:28:48/0:00:00
        2 day(s) 0:28:48/0:00:00

        L’applicazione, però, non si interrompe e continua a trasmettere, anche facendola aprire da un link di tipo sopcast da una pagina Internet.

        Se, guardando i messaggi a terminale che ho sopra elencato, ti venisse in mente di operare qualche altra modifica, dimmi cosa fare; altrimenti, visto che comunque il player funziona, possiamo tranquillamente dichiarare “chiuso” questo caso. 🙂

        Grazie infinite per il tuo contributo e buon proseguimento.

        Saluti
        Vincenzo

      • novembre 24, 2013 alle 6:23 pm

        Ciao Vincenzo,
        se i problemi non sono gravi ogni tanto mi dimentico di rispondere.
        I warning li vedi perchè avvi da terminale se avvi da menu non vedrai nulla.
        Quindi se funziona e non hai consumi anomali di memoria o processore non darei troppo peso ai Warning.

  2. novembre 8, 2013 alle 9:16 pm

    Grazie mille per la guida, ne ho provate tante in questi giorni per Kubuntu 13.10; davano sempre almeno un errore, probabilmente non sono aggiornate

  3. Mtawa
    novembre 15, 2013 alle 2:56 pm

    Hi, I just wanna thank you for this tutorial , you made my day.
    Sopcast player is up and running smoothly on my Ubuntu 13.10 64bit

    thank you very much Sir.

  4. Nando
    novembre 24, 2013 alle 3:56 am

    Hello!

    I would greatly appreciate if you could help me with the problem that I have.

    I followed your manual.

    Run the command Sopcast-player in the terminal and the program opens, but also in the terminal the following error multiple times:

    (sopcast-player.py:16509): libglade-WARNING **: unknown attribute `swapped’ for .

    The program will attempt to open a channel hangs and always end with a lockdown.

    It’s the same problem that the other guy have.

    I have also done what you said about python.

    I hope you can help me!
    Thank you.

    • novembre 24, 2013 alle 7:06 pm

      Please,
      Are you using the 64-bit version of ubuntu 13:10 ?
      There are other warnings?
      Post output of this command.

      sudo find /usr -name ‘libstdc++.so.5’

  5. Konrad
    dicembre 15, 2013 alle 2:13 pm

    Maurizio! Thank you very much for this tutorial – I’ve tried a few others and every time the installation failed, for various reasons… Yours though is simple, and everything works as it should, great job! Thanks again.

  6. Ze
    dicembre 30, 2013 alle 11:50 pm

    Nothing else worked except this. Thanks a lot!

  7. TheGrave
    gennaio 11, 2014 alle 11:41 am

    Following these steps leads to 2 errors when using checkinstall. First one is:

    error in Version string ‘0.8.5-1%{?dist}’: invalid character in revision number

    To fix this one replace:

    Release: 1%{?dist}

    with

    Release: saucy #or whatever you have on your system

    The second one is:

    `Depends’ field, syntax error after reference to package `python’

    Commend out these two sections in the same file:

    #Requires: python >= 2.4.3 vlc >= 0.9.4 vlc-devel >= 0.9.4 sp-auth >= 3.0.1
    #Requires: hicolor-icon-theme pygtk2-libglad

    Then you are ready to do checkinstall successfully.

  8. TheGrave
    gennaio 11, 2014 alle 11:42 am

    Forgot to mention – the file in question is sopcast-player.spec

  9. OrazionS
    febbraio 8, 2014 alle 9:08 pm

    Great but sometimes the audio does not work. How I can solve it?
    Thanks a lot!

    • febbraio 21, 2014 alle 2:03 pm

      Hi OrazionS,
      I installed several times sopcast in ubuntu, different versions, and I’ve never had problmes with the audio so I don’t Know how to help you.

  1. No trackbacks yet.

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger cliccano Mi Piace per questo: