Autor Tópico: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar  (Lida 9198 vezes)

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Online: 16 de Fevereiro de 2010, 10:56 »
to desde sexta tentando instalar via GIT, fora varios errors que peguei na hora de compilar os packages, desde GLIB desaparecida e tals
esse um não consegui resolver, na hora de compilar o GEGL:
segui esse tutorial: http://shallowsky.com/linux/gimpbuild.html

e depois de ./autogen.sh --prefix=/usr/local/gimp-git na diretorio do GEGL ele retorna isso:
Código: [Selecionar]
neo@T0K-715:~/gimp-git/gegl$ ./autogen.sh --prefix=/usr/local/gimp-git

I am testing that you have the tools required to build the
GEGL project from git. This test is not foolproof,
so if anything goes wrong, see the file HACKING for more information...

checking for libtool >= 1.5 ... Major version might be too new (2.2.4)
checking for autoconf >= 2.54 ... yes (version 2.61)
checking for automake >= 1.9.6 ... yes (version 1.10.1)
checking for ruby ... yes
checking for glib-gettextize ... yes (version 2.23.3)
generating svg-multiply.c
generating screen.c
generating darken.c
generating lighten.c
generating difference.c
generating exclusion.c
generating overlay.c
generating color-dodge.c
generating color-burn.c
generating hard-light.c
generating soft-light.c
generating plus.c
generating clear.c
generating src.c
generating dst.c
generating src-over.c
generating dst-over.c
generating dst-in.c
generating src-out.c
generating dst-out.c
generating src-atop.c
generating dst-atop.c
generating xor.c
generating src-in.c
generating add.c
generating subtract.c
generating multiply.c
generating divide.c
generating gamma.c
generating average.c
generating negation.c
generating soft-dodge.c
generating soft-burn.c
generating blend-reflect.c
generating subtractive.c

I am going to run ./configure with the following arguments:

  --enable-maintainer-mode --enable-debug  --prefix=/usr/local/gimp-git

libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:138: installing `./config.guess'
configure.ac:138: installing `./config.sub'

Running ./configure...

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... gawk
checking whether make sets $(MAKE)... yes
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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 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 whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
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 -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for GNUC variadic macros... yes
checking for ISO C99 variadic macros in C... yes
checking for ISO C99 variadic macros in C++... yes
checking whether to turn on debugging... yes
checking whether to turn on profiling... no
checking whether to enable multi threading... no
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Winit-self... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wold-style-definition... yes
checking for aclocal flags...
checking for target architecture... i686-pc-linux-gnu
checking for dynamic library filename suffix... .so
checking for some Darwin platform... no
checking for some Win32 platform... no
checking for native Win32... no
checking whether gcc understands -mmmx... yes
checking whether we can compile MMX code... yes
checking whether gcc understands -msse... yes
checking whether we can compile SSE code... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BABL... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.22.0... yes (version 2.23.3)
checking for DEP... yes
checking for GIO... yes
checking for GTK... yes
checking for bind_textdomain_codeset... yes
checking if GLib is version 2.21.0 or newer... yes
checking for perl5... no
checking for perl... perl
checking for ruby... yes
checking for enscript... no
*** Check for enscript command failed.
checking for asciidoc... no
*** Check for asciidoc failed.
checking for dot... no
*** Check for dot command failed.
checking for CAIRO... yes
checking for PANGO... yes
checking for PANGOCAIRO... yes
checking for GDK_PIXBUF... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_save_markers in -ljpeg... yes
with_png '', with_libpng ''
checking for PNG... yes
checking for RSVG... yes
checking for OPENEXR... no
checking for sdl-config... no
*** Check for SDL library failed.
checking for OPENRAW... no
checking for dot... no
*** Check for dot command from graphviz failed.
checking for LUA... no
checking for LUA... no
checking for AVFORMAT... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for run_spiro in -lspiro... no
checking for w3m... /usr/bin/w3m
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/Makefile
config.status: creating gegl/Makefile
config.status: creating gegl/gegl-version.h
config.status: creating gegl/buffer/Makefile
config.status: creating gegl/graph/Makefile
config.status: creating gegl/module/Makefile
config.status: creating gegl/operation/Makefile
config.status: creating gegl/process/Makefile
config.status: creating gegl/property-types/Makefile
config.status: creating operations/Makefile
config.status: creating operations/affine/Makefile
config.status: creating operations/core/Makefile
config.status: creating operations/common/Makefile
config.status: creating operations/common/perlin/Makefile
config.status: creating operations/external/Makefile
config.status: creating operations/generated/Makefile
config.status: creating operations/workshop/Makefile
config.status: creating operations/workshop/external/Makefile
config.status: creating operations/workshop/generated/Makefile
config.status: creating tools/Makefile
config.status: creating docs/Makefile
config.status: creating docs/index-static.txt
config.status: creating docs/gallery/Makefile
config.status: creating docs/gallery/data/Makefile
config.status: creating examples/Makefile
config.status: creating examples/data/Makefile
config.status: creating tests/Makefile
config.status: creating tests/buffer/Makefile
config.status: creating tests/compositions/Makefile
config.status: creating tests/compositions/data/Makefile
config.status: creating gegl.pc
config.status: creating gegl-uninstalled.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Building GEGL with prefix=/usr/local/gimp-git

Optional features:
  GEGL docs:       yes
  Build workshop:  no
  Build website:   no  (asciidoc not found)
  SIMD:            sse:yes mmx:yes
  Multi threading: no

Optional dependencies:
  asciidoc:        no  (asciidoc not found)
  enscript:        no  (enscript not found)
  GIO:             yes
  GTK+:            yes
  Ruby:            yes
  Lua:             no  (usable lua not found)
  Cairo:           yes
  Pango:           yes
  pangocairo:      yes
  GDKPixbuf:       yes
  JPEG:            yes
  PNG:             yes
  OpenEXR:         no  (OpenEXR library not found)
  rsvg:            yes
  SDL:             no  (SDL library not found)
  openraw:         no  (openraw library not found)
  graphviz:        no  (graphviz not found)
  avformat:        yes
  V4L:             yes
  spiro:           no  (usable SPIRO library not found)


Now type 'make' to compile GEGL.


Até ae tudo bem, eu achava, mais após o Make, começam os erros :S :

Código: [Selecionar]
.libs/gegl-paint.o: In function `gegl_view_repaint':
/home/neo/gimp-git/gegl/examples/util/gegl-view.c:507: undefined reference to `gtk_widget_get_allocation'
collect2: ld returned 1 exit status
make[3]: *** [gegl-paint] Error 1
make[3]: Leaving directory `/home/neo/gimp-git/gegl/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/neo/gimp-git/gegl/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neo/gimp-git/gegl'
make: *** [all] Error 2

Dae por causa desses erros ae que não faço ideia de como resolver, ele não instala o GEGL e não me deixa instalar o Gimp 2.7 :\
e to sem ideias de como resolver D:

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #1 Online: 16 de Fevereiro de 2010, 11:41 »
Instala o Ubuntu tweak, lá tem como adicionar o repositório do gimp de desenvolvimento (2.7), dai da para instalar pelo synaptic, que já instala todas as dependencias ou pelo tweak mesmo. :D

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #2 Online: 16 de Fevereiro de 2010, 11:47 »
hmmm como? D:
só achei pro Karmic isso ae DDDD:

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #3 Online: 16 de Fevereiro de 2010, 11:52 »
nevermind :)
achei aqui as instruções q precisava :D vlw
http://ubuntu-tweak.com/downloads/

vou tentar agora instalar o gimp 2.7 e ver no que dá

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #4 Online: 16 de Fevereiro de 2010, 11:55 »
nevermind :)
achei aqui as instruções q precisava :D vlw
http://ubuntu-tweak.com/downloads/

vou tentar agora instalar o gimp 2.7 e ver no que dá

Que bom que pude ajudar, ;D ;D

Só coloca resolvido no titulo do tópico do seu primeiro posta, para ficar mais facil para quem tiver o mesmo problema.
 ;) ;)

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #5 Online: 16 de Fevereiro de 2010, 12:02 »
erm :\ rolou não, só tem 2.6 lá :( e o night build e PPA são só pro 9.04, 9.10 e 10.04 DD:

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #6 Online: 16 de Fevereiro de 2010, 12:04 »
erm :\ rolou não, só tem 2.6 lá :( e o night build e PPA são só pro 9.04, 9.10 e 10.04 DD:

Você usa qual versão do Ubuntu ???

Você atualizou o Ubuntu Tweak ???

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #7 Online: 16 de Fevereiro de 2010, 12:05 »
8.10 :\

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #8 Online: 16 de Fevereiro de 2010, 12:07 »
8.10 :\

Neste caso não tenho mais nenhuma sugestão.

(A não ser atualizar o seu Ubuntu, hehehe)
alt+F2
update-manager -d

 :D :D

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #9 Online: 16 de Fevereiro de 2010, 12:09 »
ai é tenso né :\ atualizar um sistema inteiro por causa de um programa só D:
de volta a prancheta de solução de erros do GEGL então :\
porque sipá só ele q ta me zuando, se ele instalasse seria possivel instalar o source do gimp ;s e fim eu acho
mais esses erros de Make e tals eu não sei resolver :(

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #10 Online: 16 de Fevereiro de 2010, 12:15 »
ai é tenso né :\ atualizar um sistema inteiro por causa de um programa só D:
de volta a prancheta de solução de erros do GEGL então :\
porque sipá só ele q ta me zuando, se ele instalasse seria possivel instalar o source do gimp ;s e fim eu acho
mais esses erros de Make e tals eu não sei resolver :(
Instala este aqui e tenta novamente para ver se funciona.

sudo apt-get install libgegl-0.0-0

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #11 Online: 16 de Fevereiro de 2010, 12:17 »

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #12 Online: 16 de Fevereiro de 2010, 12:26 »
hahaha :(
agora o erro mudou um pouco, mais continua no GEGL:
Código: [Selecionar]
../gegl/.libs/libgegl-0.0.so: undefined reference to `babl_total_usecs'
collect2: ld returned 1 exit status
make[2]: *** [gegl] Error 1
make[2]: Leaving directory `/home/neo/gimp-git/gegl-0.1.0/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neo/gimp-git/gegl-0.1.0'
make: *** [all] Error 2

Offline Andreson Goveia

  • Equipe Ubuntu
  • Usuário Ubuntu
  • *****
  • Mensagens: 1.985
  • Kubuntu 14.10
    • Ver perfil
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #13 Online: 16 de Fevereiro de 2010, 12:41 »
Tenta assim

Instalando todas as dependencias:

$ sudo apt-get build-dep gimp
 
Instalando babl 0.1.0:


$ mkdir src
$ cd src
$ wget ftp://ftp.gtk.org/pub/babl/0.1/babl-0.1.0.tar.bz2
$ tar jxvf babl-0.1.0.tar.bz2
$ cd babl-0.1.0
$ ./configure --prefix=/usr
$ make
$ sudo make install


Instalando GEGL 0.1.0:


$ cd ../
$ wget ftp://ftp.gimp.org/pub/gegl/0.1/gegl-0.1.0.tar.bz2
$ tar jxvf gegl-0.1.0.tar.bz2
$ cd gegl-0.1.0
$ ./configure --prefix=/usr
$ make
$ sudo make install

E finalmente instalando o GIMP 2.7:


$ cd ../
$ wget ftp://ftp.gimp.org/pub/gimp/v2.7/gimp-2.7.0.tar.bz2
$ tar jxvf gimp-2.7.0.tar.bz2
$ cd gimp-2.7.0
$ ./configure --prefix=/usr
$ make
$ sudo make install

Tenta ai.
« Última modificação: 16 de Fevereiro de 2010, 12:43 por Andreson »

Offline neoatpersocon

  • Usuário Ubuntu
  • *
  • Mensagens: 15
    • Ver perfil
    • !Drop Studio
Re: Gimp 2.7 via GIT ubuntu 8.10 problema na hora de compilar
« Resposta #14 Online: 16 de Fevereiro de 2010, 12:43 »
ééé então, foi esse mesmo q tentei agora, depois que vc me passou o link
dae deu o outro erro :S