On Tue, Jun 1, 2010 at 22:05, Sven Neumann <s...@gimp.org> wrote:
> Please be more specific and send us information about how exactly you
> call ./configure and what the exact error is (including the relevant
> parts from config.log).

The call to configure I use is :

./configure --prefix=/opt/gimp-2.7 --disable-mmx

and the resulting error is

checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... no (Can't include jpeglib.h)
configure: error:
*** Checks for JPEG library failed. You can build without it by passing
*** --without-libjpeg to configure but you won't be able to use JPEGs then.

The relevant part from config.log is :

configure:18298: checking for jpeg_destroy_decompress in -ljpeg
configure:18323: gcc -o conftest -I/opt/local/include -Wall
-Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Winit-self -Wpointer-arith
conftest.c:65: warning: function declaration isn't a prototype
conftest.c:68: warning: function declaration isn't a prototype
conftest.c: In function 'main':
conftest.c:68: warning: old-style function definition
configure:18323: $? = 0
configure:18332: result: yes
configure:18343: checking for jpeglib.h
configure:18355: gcc -E  conftest.c
conftest.c:64:21: error: jpeglib.h: No such file or directory

I do, however, have jpeglib.h in /opt/local/include folder (just where
libtiff, which works, is). When I install libjpeg to /usr/local/lib
the problem solves itself.

> Just out of interest, are you building against GTK+ compiled with the
> native Quartz backend or are you still using X11 for this?

As for the GTK+, I'm using the X11 version. I also tried compiling
stable GIMP with the GTK+ with Quartz backend using MacPorts (and
succeeded), however text was displayed incorrectly (squares instead of
characters). I've tried to find a way to solve this issue (probably
coming from quartz backend for pango) but was unsuccessful.

I will try to recompile GTK+ again with the Quartz support, but I need
to find a way to isolate it from the rest of my environment since I do
need functional GTK+ on daily basis.
Gimp-developer mailing list

Reply via email to