Synfig Project Forum

Forums for Synfig Project
It is currently Thu Sep 02, 2010 3:24 pm

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 74 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Sun Nov 09, 2008 5:29 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 1789
Location: Spain
UPDATE: Zelgadis provides packages with minimal dependences here.
UPDATE: There is a repository with the binaries ready to install for Ubuntu Intrepid. See this post.

-----------------------------------------------
Ubuntu 8.10 Intrepid has the following version installed:
0.61.08-1build1
The source code of this version was released on march 2008 and at this time it worked perfectly with the current version at that time (Ubuntu 8.04 Hardy).
We have been working on the release of synfig 0.61.09 and solved the bug you have before release it. Simplifying, the bug is due to a change at the GTK/GTKmm version from 2.12 to 2.14 that produced a crash due to a null pointer dereference after a bad instantiation of the spin button class (which deliver a bad value in other place of the code):

Code:
(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


Unfortunately we didn't were so quick to introduce 0.61.09 to ubuntu 8.10. Maybe they admit a backport to 8.04 as well as 8.04 is LTS.

So the only way to have synfigstudio working on ubuntu 8.10 is to build it from your self.

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


Please let us know if you have success or not.
Greetings
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Last edited by Genete on Sun Feb 08, 2009 11:05 am, edited 13 times in total.
Updated 2. Added Zelgadis unified package, now yes!


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Sun Nov 09, 2008 7:31 pm 
Offline

Joined: Sun Nov 09, 2008 7:09 pm
Posts: 4
I've just registered to say:

Thank you very much, Genete!
I've built Synfig 0.61.09 successfully on Ubuntu Intrepid (8.10).
However, I needed to run
Code:
sudo ldconfig

just after the Synfig part. Synfig didn't find libsynfig.so.0 and the synfigstudio compiling threw an error at the icon creation phase otherwise.
checkinstall didn't work for anything other than ETL, and I wound up make install'ing them all. So no debs for now. :?


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Tue Nov 11, 2008 10:06 am 
Offline

Joined: Tue Nov 11, 2008 8:02 am
Posts: 1
Well, I just registered so I could also say thank you!

I now have a working Synfig 0.61.09 on intrepid 8.10.

Genete, your clear instructions worked. Perhaps I am too much of a noob, but it took me a few attempts before I realised I needed to install G++ from the package manager.

Gaijin, I have no idea what "ldconfig" does, but that also worked. Initially I had errors with libsynfig.so.0, and using the command fixed it on my third or fourth install attempt.

I have never compiled an app. from source before, but I really needed synfig to make some projections for a play to be performed in less than 3 weeks. I am extremely pleased that I can continue my work.

Thanks again


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Wed Nov 12, 2008 1:36 pm 
Offline

Joined: Wed Nov 12, 2008 1:23 pm
Posts: 2
thank you a lot for the instructions.

i have ubuntu studio intrepid newly installed and i had to do these additional installs:
Code:
sudo apt-get install libgtkmm-2.4-dev

preinstalled on intrepid ubuntu studio is ETL 0.4.11
so i needed the package ETL 0.4.12 from here:
http://sf.net/project/showfiles.php?group_id=144022&package_id=198849
also
Code:
sudo ldconfig

after both installing synfig and synfig studio

now it works :D


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Wed Nov 12, 2008 2:36 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 1789
Location: Spain
eyecolor wrote:
thank you a lot for the instructions.

i have ubuntu studio intrepid newly installed and i had to do these additional installs:
Code:
sudo apt-get install libgtkmm-2.4-dev

preinstalled on intrepid ubuntu studio is ETL 0.4.11
so i needed the package ETL 0.4.12 from here:
http://sf.net/project/showfiles.php?group_id=144022&package_id=198849
also
Code:
sudo ldconfig

after both installing synfig and synfig studio

now it works :D

Hey eyecolor! I'm glad you suscesfully installed etl, synfig and synfigstudio!
Isn't libgtkmm-2.4-dev already listed in the 1st post? and when I say "download the packages from this link" is not obvious that you have to download all them? :roll:
And yes, I have to add the 'ldconfig' thing to it.
Enjoy! :D
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Wed Nov 12, 2008 2:46 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 1789
Location: Spain
Hey Gaijin and bungleman!
Thanks to you too for your clarifications and your encouragement!
Enjoy synfig! ;)
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Wed Nov 12, 2008 3:51 pm 
Offline

Joined: Wed Nov 12, 2008 1:23 pm
Posts: 2
Quote:
Isn't libgtkmm-2.4-dev already listed in the 1st post?

:oops: true - seems i have been working in circles :wink:

thanx anyway


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Thu Nov 13, 2008 8:35 am 
Offline

Joined: Thu Nov 13, 2008 8:20 am
Posts: 31
after following the steps what should I do to run synfig studio?


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Thu Nov 13, 2008 10:09 am 
Offline

Joined: Sun Nov 09, 2008 7:09 pm
Posts: 4
Sinkestistie wrote:
after following the steps what should I do to run synfig studio?

You'll find it under Applications->Graphics->Synfig Studio (if you use Gnome), or you can execute
Code:
synfigstudio
from a terminal.


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Thu Nov 13, 2008 2:03 pm 
Offline

Joined: Thu Nov 13, 2008 8:20 am
Posts: 31
I cannot open synfig by both method you mention... it seems that my installation has problem


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Thu Nov 13, 2008 7:05 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 1789
Location: Spain
Sinkestistie wrote:
I cannot open synfig by both method you mention... it seems that my installation has problem

Did you notice something strange when compiling?
can you type this in a terminal?

Code:
$ type synfigstudio
synfigstudio is /usr/local/bin/synfigstudio
$

This would tell you where synfigstudio is located.

Did you un-install the shipped packages from ubuntu?

Try all the steps again but be sure you type this in the terminal before start doing anything:
Code:
$export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

And run this command before you run the program (synfigstudio):
Code:
$sudo ldconfig

Last thing, paste here the console output you obtain.
Good luck
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Fri Nov 14, 2008 2:35 pm 
Offline
User avatar

Joined: Sun Nov 02, 2008 9:36 pm
Posts: 150
Location: Another galaxy
i too am having problems with building it, Genete! I just recently downloaded and installed Ubuntu 8.10, using Wubi installer, and attempted to build synfig on it, using your instructions, but i ran into a couple problems... :?

ok...first of all, after downloading etl, synfig, and synfigstudio, i ran the terminal, and tried typing in 'cd etl' like you said, but i got an error message in the terminal saying that there was no such file or directory. well...i finally got past that one, thanks to pixelgeek's help (turns out the problem was i had to first go to the dir containing etl, using the terminal, before the command worked), but then i ran into another problem at the place where i'm supposed to type in 'sudo make install', and then type in my user's password, but for some reason, ubuntu would not allow me to type in ANYTHING at that place! :? the flashing typing thing would not even move...although it would stop flashing when i typed!

not sure what the problem is...

So could you help with this, Genete?

Thanks, and much appreciation! :)

EDIT: oh, and another thing, Genete! my version of ubuntu, using wubi installer, didn't come with synfig pre-installed! :?: just wanted to clear that in case your wondering!


Last edited by Coolname007 on Wed Feb 04, 2009 1:53 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Fri Nov 14, 2008 2:41 pm 
Offline

Joined: Thu Nov 13, 2008 8:20 am
Posts: 31
wow, after giving it another attempt, it works now!!! not sure what did I do wrong.

Thanks a lot!


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Fri Nov 14, 2008 8:53 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 1789
Location: Spain
@ Sinkestistie: I'm glad it worked for you. Enjoy!

@ Coolname007: I've modified the instructions to help on unpackaging the tarball files.

Quote:
go to the dir containing etl, using the terminal, before the command worked), but then i ran into another problem at the place where i'm supposed to type in 'sudo make install', and then type in my user's password!! for some reason, ubuntu would not allow me to type in ANYTHING at that place!! :? the flashing typing thing would not even move...although it would stop flashing when i typed!


once you have un-compressed the tar.gz files they should produce the following folders: etl, synfig-core, synfig-studio. To test that you have unpack all the files properly you should obtain more or less the same result than me:

After download the files form sourceforge and after run the 'ls' command ('ls' = 'dir' in MSDOS):
Image

After do:
Code:
tar -xvzf ETL-0.04.12.tar.gz

and run 'ls' again:
Image

After do:
Code:
tar -xvzf synfig-0.61.09.tar.gz

and run 'ls' again:
Image

After do:
Code:
tar -xvzf synfigstudio-0.61.09.tar.gz

and run 'ls' again:
Image

once unpacked correctly you can continue with the following steps of the recipe.

Regarding the missing characters when typing your password it is just a security thing. 'sudo' means "super user do" what means that the following command that you type will be done by a "super user" with certain privileges. That 'sudo' must be used carefully because if you do a mistake in the command after it, you can eventually delete all the filesystem or damage them permanently (or very complicated to restore)... and you don't want to do that, right?
It is possible that someone else is watching your terminal at the same time than you (even with your permit; for example you could want that someone can help you remotely to do some tasks in the computer). If you type the super user password and the letters are shown he can copy them and enter in your computer!, do you want that? I guess no. So even the number of characters are hidden.
When you use 'sudo' in ubuntu you should type your password when it prompts for it. Type the password carefully and without visual feedback. If you make a mistake you can repeat; it is user friendly.

Try it again and have good luck!
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
 Post subject: Re: How to build Synfig in Ubuntu Intrepid 8.10
PostPosted: Fri Nov 14, 2008 11:34 pm 
Offline
User avatar

Joined: Sun Nov 02, 2008 9:36 pm
Posts: 150
Location: Another galaxy
Thanks, genete, for the new instructions!!! :D i'll get on it right away, to make sure that i've uncompressed them correctly!

as for the bit where you suggested that someone else had access to my terminal, such as a remote user, the answer is NO! :twisted:

i am the only user of ubuntu on my computer, and i have not lent out any privileges to ANYONE, nor have i allowed anyone remote access to my computer!

and about what you suggested concerning the sudo password thing...no, i don't think that's the case! :wink: i am QUITE sure that i typed in the correct password...its just that the terminal for some reason did not want to recognize it! it is, after all, a four-letter password... :lol: and pixelgeek suggested the same thing, that is, that the sudo password was invisible, and maybe i wasn't typing it correctly! but...i tried it again to make sure, and still got the message saying there was no such command...and the flashing typing thing did not even move to the right at ALL! :roll:

Looking forward to your reply...

-Coolname007

EDIT: And oh, and just for the record, i extracted the files after downloading them using the Archive Manager...just blame it! :lol:


Last edited by Coolname007 on Wed Feb 04, 2009 1:55 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 74 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group