Qualche giorno fa vi ho proposto una guida su come abilitare le conversazioni audio con aMSN tramite l’installazione di Farsight 2. Ciò che sto per scrivere adesso è un aggiornamento per quella guida, in quanto sono stati effettuati dei piccoli ma significativi cambiamenti che rendono più semplice l’installazione del plugin Farsight.

Adesso la libreria nice ed il plugin farsight non verranno più scaricati da git, ma sono state create delle pagine web dove sono elencate le varie versioni disponibili. A noi servirà sempre quella più recente.

Per prima cosa, però, prima di scaricare libnice e farsight2, installiamo le dovute dipendenze

sudo apt-get update
sudo apt-get install libgstreamer0.10-0 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-farsight gstreamer0.10-tools gstreamer0.10-alsa

Adesso, da questa pagina scarichiamo la versione più recente del pacchetto nice, che al momento in cui scrivo questa guida è nice-0.0.2.tar.gz, mentre da quest’altra scarichiamo farsight2, la cui versione più recente, in questo momento, è farsight2-0.0.4.tar.gz.

Adesso estraiamo i due archivi appena scaricati nella nostra home (~), o dove più ci piace (n.b. sarà importante non cancellare le cartelle estratte, in caso volessimo disinstallare i pacchetti).

Ci ritroveremo davanti due cartelle: nice-0.0.2 e farsight2-0.0.4.

Da Terminale entriamo nella cartella nice-0.0.2 e procediamo alla sua installazione in questo modo

./configure --prefix=/usr --disable-gtk-doc
make
sudo make install

Terminata l’installazione di libnice, continuiamo con farsight2. Entriamo nella directory estratta farsight2-0.0.4 e diamo i comandi

./configure --prefix=/usr --disable-python --disable-gtk-doc
make
sudo make install

E’ importante includere l’opzione --prefix=/usr nelle opzioni di ./configure.

Infine, il comando più importante da eseguire, senza il quale farsight non funzionerebbe

sudo ldconfig

Per completare, non ci resta che aggiornare la nostra installazione di aMSN all’ultima svn.

Related posts

Tag:, , ,
4 Risposte a “Farsight 2 in aMSN: nuova procedura di installazione”
  1. claudio scrive:

    Ho provato a seguire la guida ma ad un certo punto si blocca. Vale anche sulla nuova Ubuntu 9.04? Non c’è un modo più semplice per avere un a-msn abilitato alla teleconferenza?

    klaudiomi@klaudiomi-desktop:~$ cd farsight2-0.0.9
    klaudiomi@klaudiomi-desktop:~/farsight2-0.0.9$ ./configure –prefix=/usr –disable-python –disable-gtk-doc
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… /bin/mkdir -p
    checking for gawk… no
    checking for mawk… mawk
    checking whether make sets $(MAKE)… yes
    checking nano version… 0 (release)
    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking for style of include used by make… GNU
    checking for gcc… gcc
    checking for C compiler default output file name… a.out
    checking whether the C compiler works… yes
    checking whether we are cross compiling… no
    checking for suffix of executables…
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking dependency style of gcc… gcc3
    checking for a sed that does not truncate output… /bin/sed
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking for ld used by gcc… /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld… yes
    checking for /usr/bin/ld option to reload object files… -r
    checking for BSD-compatible nm… /usr/bin/nm -B
    checking whether ln -s works… yes
    checking how to recognize dependent libraries… pass_all
    checking how to run the C preprocessor… gcc -E
    checking for ANSI C header files… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking dlfcn.h usability… yes
    checking dlfcn.h presence… yes
    checking for dlfcn.h… yes
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking dependency style of g++… gcc3
    checking how to run the C++ preprocessor… g++ -E
    checking for g77… no
    checking for xlf… no
    checking for f77… no
    checking for frt… no
    checking for pgf77… no
    checking for cf77… no
    checking for fort77… no
    checking for fl32… no
    checking for af77… no
    checking for xlf90… no
    checking for f90… no
    checking for pgf90… no
    checking for pghpf… no
    checking for epcf90… no
    checking for gfortran… no
    checking for g95… no
    checking for xlf95… no
    checking for f95… no
    checking for fort… no
    checking for ifort… no
    checking for ifc… no
    checking for efc… no
    checking for pgf95… no
    checking for lf95… no
    checking for ftn… no
    checking whether we are using the GNU Fortran 77 compiler… no
    checking whether accepts -g… no
    checking the maximum length of command line arguments… 1572864
    checking command to parse /usr/bin/nm -B output from gcc object… ok
    checking for objdir… .libs
    checking for ar… ar
    checking for ranlib… ranlib
    checking for strip… strip
    checking for correct ltmain.sh version… yes
    checking if gcc supports -fno-rtti -fno-exceptions… no
    checking for gcc option to produce PIC… -fPIC
    checking if gcc PIC flag -fPIC works… yes
    checking if gcc static flag -static works… yes
    checking if gcc supports -c -o file.o… yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries… yes
    checking whether -lc should be explicitly linked in… no
    checking dynamic linker characteristics… GNU/Linux ld.so
    checking how to hardcode library paths into programs… immediate
    checking whether stripping libraries is possible… yes
    checking for shl_load… no
    checking for shl_load in -ldld… no
    checking for dlopen… no
    checking for dlopen in -ldl… yes
    checking whether a program can dlopen itself… yes
    checking whether a statically linked program can dlopen itself… no
    checking if libtool supports shared libraries… yes
    checking whether to build shared libraries… yes
    checking whether to build static libraries… yes
    configure: creating libtool
    appending configuration tag “CXX” to libtool
    checking for ld used by g++… /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld… yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
    checking for g++ option to produce PIC… -fPIC
    checking if g++ PIC flag -fPIC works… yes
    checking if g++ static flag -static works… yes
    checking if g++ supports -c -o file.o… yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
    checking dynamic linker characteristics… GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs… immediate
    appending configuration tag “F77″ to libtool
    checking for pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    checking for VALGRIND… yes
    configure: Using extra code paths for valgrind
    configure: Using Farsight2 source release as package name
    configure: Using Unknown package origin as package origin
    configure: Using /usr/libexec/gst-install-plugins-helper as plugin install helper
    checking for NICE… yes
    checking whether byte ordering is bigendian… no
    checking for gcc… (cached) gcc
    checking whether we are using the GNU C compiler… (cached) yes
    checking whether gcc accepts -g… (cached) yes
    checking for gcc option to accept ISO C89… (cached) none needed
    checking dependency style of gcc… (cached) gcc3
    checking for valgrind… /usr/bin/valgrind
    checking whether to build gtk-doc documentation… no
    checking for gtkdoc-check… no
    checking for a Python interpreter with version >= 2.4… python
    checking for python… /usr/bin/python
    checking for python version… 2.6
    checking for python platform… linux2
    checking for python script directory… ${prefix}/lib/python2.6/site-packages
    checking for python extension module directory… ${exec_prefix}/lib/python2.6/site-packages
    checking for a sed that does not truncate output… (cached) /bin/sed
    checking whether to build plugin documentation… no (gtk-doc disabled or not available)
    checking whether gcc and cc understand -c and -o together… yes
    checking for library containing strerror… none required
    checking for ANSI C header files… (cached) yes
    checking malloc.h usability… yes
    checking malloc.h presence… yes
    checking for malloc.h… yes
    checking for struct ip_mreqn.imr_ifindex… yes
    checking for GLIB… yes
    checking for GST… yes
    configure: using GStreamer tools in /usr/bin
    configure: using GStreamer plug-ins in /usr/lib/gstreamer-0.10
    checking for GST_BASE… yes
    checking for GST_CHECK… yes
    checking for GST_PLUGINS_BASE… no
    no
    configure: No package ‘gstreamer-plugins-base-0.10′ found
    configure: error: no gstreamer-plugins-base-0.10 >= 0.10.22 (GStreamer Base Plug-ins Library) found
    klaudiomi@klaudiomi-desktop:~/farsight2-0.0.9$ make
    make: *** Nessun obiettivo specificato e nessun makefile trovato. Arresto.
    klaudiomi@klaudiomi-desktop:~/farsight2-0.0.9$

    • Gino scrive:

      Ciao!
      Ho seguito alla lettera la guida…e sembra essere andato tutto bene, ma provando a fare la chiamata con amsn mi dice che devo installare farsight2: “Non puoi effettuare una chiamata audio.Installa Farsight2 e prova ancora.”
      Cosa devo fare?
      grazie

  2. Stefano scrive:

    Ho provato la procedura dal mio MacBook ma appena provo (da terminale) ad inserire la stringa per installare le dovute dipendenze ottengo un errore!

    da terminale inserisco : sudo apt-get update
    ottengo questo errore : sudo: apt-get: command not found

    Non è possibile andare avanti! :( ((
    Attendo vostri preziosi consigli, grazie di cuore.

    Stefano

    • Torb scrive:

      “Il comando apt-get è un potente strumento a riga di comando usato per operare con l’APT (Advanced Packaging Tool ) di Ubuntu al fine di eseguire operazioni come l’installazione di nuovi pacchetti software, l’aggiornamento dei pacchetti software esistenti, l’aggiornamento dell’indice dell’elenco di pacchetti e persino l’avanzamento di versione dell’intero sistema Ubuntu.”

      Credo che come risposta sia sufficiente…

  3.  
Scrivi un Commento

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

I link nei commenti potrebbero essere liberi dal nofollow.