You are not logged in.

#1 2006-09-11 16:34:01

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

[solved] Recompiling the gimp

Hi I'm trying to recompile the gimp 2.2.13 with aalib support but the build fail during ./configure :

checking for GTK+ - version >= 2.4.4... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
make: *** No targets specified and no makefile found.  Stop.

I've tried to install some packages with gtk+ / gtk2+ but nothing seems to work  :cry:

Any ideas ?

pacman -Qs gtk
local/glib 1.2.10-6
    Common C routines used by Gtk+ and other libs
local/glib2 2.12.3-1
    Common C routines used by GTK+ 2.4 and other libs
local/gtk 1.2.10-7
    The GTK+ toolkit
local/gtk+extra 1.0.0-2
    GtkExtra is a useful set of widgets for creating GUI's for the Xwindows
    system using GTK+
local/gtk-engines 2.6.10-1
    Theme engines for GTK+ 2
local/gtk-perl 0.7009-6
    Gtk-Perl is a set of modules that let you exploit the Gtk+ libraries from
    Perl
local/gtk-theme-switch2 2.0.0rc2-2
    Gtk2 theme switcher
local/gtk2 2.10.2-1
    The GTK+ Toolkit (v2)
local/gtk2+extra 2.1.1-1
    GtkExtra is a useful set of widgets for creating GUI's for the Xwindows
    system using GTK+
local/gtk2-perl 1.122-2
    Gtk2-Perl allows Perl developers to write GTK+ 2.x applications.
local/gtkmm 2.10.1-1
    Gtk-- (gtkmm) is a C++ interface for the popular GUI library gtk+
local/gtkspell 2.0.11-1
    GtkSpell provides MSWord-style highlighting and replacement of misspelled
    words in a GtkText widget
local/imlib 1.9.15-3
    General image handling library for X11 and Gtk
local/perl-gtk2-ex-formfactory 0.65-1
    Framework for perl-gtk2 development
local/pygtk 2.8.6-3
    Python bindings for the GTK widget set
local/wxgtk 2.6.3-2
    wxGTK - GTK+ implementation of wxWidgets API for GUI
local/xchat 2.6.6-1
    A GTK+ based IRC client

-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#2 2006-09-11 16:54:20

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: [solved] Recompiling the gimp

Do you have pkg-config installed?

EDIT: And does it return the right stuff:

[chris@toaster pacman]$ pkg-config --modversion gtk+-2.0
2.10.2

Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#3 2006-09-11 16:56:11

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [solved] Recompiling the gimp

See the file config.log for the
*** exact error that occured.

what does that say?

Offline

#4 2006-09-11 17:13:12

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

Re: [solved] Recompiling the gimp

chrismortimore wrote:

Do you have pkg-config installed?

EDIT: And does it return the right stuff:

[chris@toaster pacman]$ pkg-config --modversion gtk+-2.0
2.10.2

Yes I got it right

Also note that this doesn't work on another arch fresh install

And for the config.log is there : http://warnaud.pastebin.ca/167082

Thx for help


-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#5 2006-09-11 17:20:55

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [solved] Recompiling the gimp

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_create_for_stream'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_size'

There's your error.  Looks like you're missing something with relation to cairo.

Offline

#6 2006-09-11 17:41:31

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

Re: [solved] Recompiling the gimp

what is weird is that I've just removed --without-aa and added aalib to the list of depends in the offical pkgbuild on abs' tree.

And I got cairo even cairo-devel and on another computer not cairo-devel and it's the same


-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#7 2006-09-11 18:27:15

Stanislav
Member
Registered: 2004-10-16
Posts: 82

Re: [solved] Recompiling the gimp

you need to recompile cairo with

 --enable-pdf

or something like that


[URL=http://imageshack.us][img]http://img360.imageshack.us/img360/481/imbulgarian6ph.gif[/img][/URL]

Offline

#8 2006-09-11 21:12:49

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

Re: [solved] Recompiling the gimp

Stanislav wrote:

you need to recompile cairo with

 --enable-pdf

or something like that

/me sets mode stanislav "hero of the day"  lol

It works like a charm !
Now I have gimp compiling ! and working with aalib !

Thx a lot


-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#9 2006-09-11 22:02:01

Stanislav
Member
Registered: 2004-10-16
Posts: 82

Re: [solved] Recompiling the gimp

happy to help   wink


[URL=http://imageshack.us][img]http://img360.imageshack.us/img360/481/imbulgarian6ph.gif[/img][/URL]

Offline

Board footer

Powered by FluxBB