[Linux-Biella] Warning & Gtk spin button

Paolo Ciarrocchi paolo.ciarrocchi a gmail.com
Lun 5 Gen 2009 18:42:01 CET


On Mon, Jan 5, 2009 at 5:24 PM, Del Vecchio Lorenzo
<l.delvecchio a bilug.linux.it> wrote:
> Da Paolo:
>
>> Comunque la soluzione al tuo problema é qui:
>> http://www.synfig.org/forums/viewtopic.php?f=13&t=277
>>
>> Ho cercato con google "cannot open synfig"
>
> Io cecavo codici, nomi di librerie... Pensa un po.

Ma perchè non cercavi il tuo problema?

> Comunque il quesito che forse ho posto male prima e' questo:
>
> Se risolvo i problemi con synfig dovro cercare soluzioni per ogni programma?

Si.

> O la guida che mi linki risolve il problema con lo spin button in generale??

No.

> Seguendo la guida, con questo comando:
>
> sudo apt-get install libgtkmm-2.4-dev
>
> Dovrei risolvere giusto??

Assolutamente no.
Lorenzo, devi veramente smettere di fare le cose senza capire cosa stai facendo.

Prima di tutto, synfig ti va in segmentation fault?
Hai *questo stesso output* ?

---
(synfigstudio:16935): Gtk-WARNING **: GtkSpinButton: setting an
adjustment with non-zero page size is deprecated
(synfigstudio:16935): Gtk-WARNING **: GtkSpinButton: setting an
adjustment with non-zero page size is deprecated
Segmentation fault
---

Se si, allora il problema è risolto con la versione 0.61.09 di synfig
che non sembra essere ancora disponibile per Ubuntu (non ho ancora
cercato).
Per compilare da sorgente synfig devi seguire i seguenti step:

---- INIZIO ----

SPECIFIC UBUNTU INTREPID 8.10 INSTALLATION INSTRUCTIONS

0) MAKE UBUNTU BE ABLE TO BUILD DEBIAN PACKAGES.
Not all the people has the needed tools to build executable binaries
from source code. To be sure you have them installed run this command:
Code:
$ sudo apt-get install build-essential


1) UNINSTALL SYNFIG AND SYNFIGSTUDIO SHIPPED BY UBNUTU:
Be sure that you uninstall synfig and synfigstudio if they are already
installed.
Code:
$sudo apt-get remove libsynfig0

This will remove libsynfig0, libsynfigapp0, synfigstudio and synfig if
were installed

2) DOWNLOAD THE TARBALLS FROM SOURCEFORGE & UNTAR THEM:
I strongly recommend to use the shortest way if you're not used to
work with subversion:
Visit this link and download the tarballs from sourceforge, (etl,
synfig and synfigstudio) untar them,

Code:
$tar -xvzf ETL-0.04.12.tar.gz
$tar -xvzf synfig-0.61.09.tar.gz
$tar -xvzf synfigstudio-0.61.09.tar.gz

and do the following building instructions in the order they are shown:

3) BUILD AND INSTALL ETL
etl: no development package needed, just:
Code:
$ cd ETL-0.04.12
$./configure
$sudo make install
$ cd ..


4) BUILD AND INSTALL SYNFIG
Note 1: Do this before ./configure: the 'configure.ac' file in the
synfig-core directory doesn't work with libtool version 2, as shipped
with ubuntu 8.10. To work around the problem until a proper fix is
found, comment out line 622 (it says "AC_CONFIG_SUBDIRS(libltdl)") by
putting a "#" at the front of the line. The line is required for older
versions of libtool, as shipped with other distributions.
Note 2: Maybe some of the packages have a newer version in ubuntu
8.10. Just install the suggested. I've recently upgraded to 8.10 and
the libraries were automatically updated without problems to build the
code.

synfig: it needs some development libraries to be build:
Code:
$sudo apt-get install libxml++2.6-dev libsigc++-2.0-dev libltdl3-dev
libtool gettext cvs libpng12-dev libmng-dev libjpeg62-dev
libfreetype6-dev libfontconfig1-dev libopenexr-dev libavcodec-dev
libavformat-dev libmagick++9-dev libdv-bin ffmpeg imagemagick
$ cd synfig-0.61.09
$./configure
$make
$sudo make install
$ cd ..


5) BUILD AND INSTALL SYNFIGSTUDIO
synfigstudio: it needs some development libraries to be build
Code:
$sudo apt-get install libgtkmm-2.4-dev libgtk2.0-dev libglibmm-2.4-dev
libsigc++-2.0-dev libltdl3-dev libtool gettext cvs ttf-freefont
ttf-dejavu ttf-dustin
$ cd synfigstudio-0.61.09
$./configure
$ make
$ sudo make install
$ cd ..


6) ALLOW APPLICATION TO FIND THE LIBRARIES

Code:
$sudo ldconfig

----- FINE ----


Tutto chiaro ora?

Ciao,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/
http://mypage.vodafone.it/


Maggiori informazioni sulla lista Linux