How to build Synfig in Ubuntu Intrepid 8.10


#61

There are no icons because they were not created during synfigstudio building. Although you think you built it successfully you were using a bad libsynfig library during building time because you didn’t remove all the packages form ubuntu properly. It was using the old libraries form the previous version you had so those images failed to be generated during building time. In synfigstudio, icons are generated during building form a sifz source file, using synfig itself to render them. If the files are not backward compatible you end with no png output and therefore no icons there.
Remove all the packages and re run the commands.
-G


#62

How do I remove the packages and make sure that I have them removed? I have removed all from synaptic manager, but the Synfig I built is still installed. I do not know how to uninstall it.


#63

Follow step #1 of the first post of the link I gave you.
Also you can try the package from Zelgadis or Synforg. They have links on the top of the post.
-G


#64

Great well laid out instructions, but Im afraid it hasnt worked for me. I finished doing all of that, typed in

“synfigstudio”

and it came back telling me that synfigstudio was not installed. To install, it told me to type in

“sudo apt-get install synfigstudio”

So I did. Then I typed synfigstudio again.
It came up with
[b]
(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[/b]

Back to square one.


#65

Please be sure that you remove the packages provided from Ubuntu Intrepid Ibex. They don’t work. If you have Ubuntu 8.10 and strictly follow the instructions you’ll successfully install it. Check that you don’t have any error message before type the next instruction. If any, then came back here and we’ll see what’s the problem.
-G


#66

Do you think that the problem will still be there in the new Ubuntu?

[size=85]Edit. It may not have been appropriate, but it was related![/size]


#67

I don’t think that image is appropriate to add to your post, please remove it.

Looks like Ubuntu didn’t yet sync synfigstudio from Debian, so the issue might be a problem in Ubuntu jaunty:

packages.ubuntu.com/search?keywords=synfigstudio

You might want to contact Ubuntu and get them to finally sync it from Debian.

Alternatively push them to fix it with a patch:

bugs.launchpad.net/ubuntu/+sour … bug/277926


#68

gaoxiang@ubuntu:~$ cd synfig-0.61.09
gaoxiang@ubuntu:~/synfig-0.61.09$ ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking whether to enable maintainer-specific portions of Makefiles… no
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 for style of include used by make… GNU
checking dependency style of gcc… gcc3
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… gcc -E
checking how to run the C++ preprocessor… g++ -E
checking for a BSD-compatible install… /usr/bin/install -c
checking for debug flags… -DNDEBUG
checking for optimization flags… -O2
checking for compiler warning flags to use… -W -Wall
checking for profiling… no
checking for arc profiling… no
checking for branch-probabilities… no
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 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 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 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… no
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 dlopen in -lc… no
checking for dlopen in -ldl… (cached) yes
checking for convert… yes
checking Magick++.h usability… no
checking Magick++.h presence… no
checking for Magick++.h… no
*** Magick++ Output target disabled
checking for pkg-config… /usr/bin/pkg-config
checking for libavcodec libavformat… yes
checking LIBAVCODEC_CFLAGS…
checking LIBAVCODEC_LIBS… -lavcodec -lavformat
checking libavformat/avformat.h usability… yes
checking libavformat/avformat.h presence… yes
checking for libavformat/avformat.h… yes
checking avformat.h usability… no
checking avformat.h presence… no
checking for avformat.h… no
checking ffmpeg/avformat.h usability… no
checking ffmpeg/avformat.h presence… no
checking for ffmpeg/avformat.h… no
checking for libswscale… no
checking for img_convert in -lavcodec… no
configure: error: Neither libswscale nor function img_convert was found.
See `config.log’ for more details.
config.log (45.9 KB)


#69

So, do you have the development variant of the libswscale package installed?

G.


#70

Oh,thank your very much


#71

Gracias, dabug y genete.
Ha sido increíble: uso ubuntustudio 8.10 en mi mac con parallels y en el trabajo con un pc (soy el único del trabajo que usa linux, aunque poco a poco voy convenciendo a compañeros para que se pasen). El caso es que no funcionaba (tal como les pasaba a muchos). Seguí las instrucciones de genete y conseguí que funcionara pero sin iconos. Posteriormente, añadí el repositorio como indicaba dabug y conseguí que funcionara en mi mac, pero no en el pc (salían muchos errores). Desinstalé todo y volví a empezar y ahora sí, me funciona en ambos equipos. Gracias de nuevo.
PD: Por cierto, genete, he visto algún ejemplo tuyo y te doy la enhorabuena. A ver si te mando algo cuando empiece en serio con el programa.

(For those who dont understand spanish, I try to translate, so excuse me for my english) Thank you, dabug and Genete. That was incredible: I run ubuntustudio 8.10 on my mac with parallels, and on a pc at work. At first, Synfigstudio doesnt run on any of my computers. I removed it and then, I installed like Genetes instructions, but it worked whitout icons. Then, I did the steps wrote by dabug, and it run on my mac, but it doesnt run on my pc. I did all the steps once again, and now it is running on the pc too. Thanks again.


#72

Para eso estamos aquí!.

Eso, eso, que se vean los ejemplos :smiley:)

Greetings and you’re welcome.
-G


#73

Hello, If you are not up for building from source, you can add Stephane Marguet’s PPA to your sources. His package works…

Go here: launchpad.net/~stemp/+archive/ppa


#74

Thank you, most helpful.

Launchpad added keys to PPAs earlier this year, so you may get an error resembling:

Where XXXXXXXXXXXXX is an assortment of letters and numbers. I found solution here.


#75

Rebuilding gets it running the way it is suppose to–and the instructions are good! Perhaps the next Ubuntu Build will synk everything up properly.