Problem building GIMP 2.6.11 on 8.2-PRERELEASE

David Demelier demelier.david at
Thu Jan 27 16:39:09 UTC 2011

On 27/01/2011 17:22, William Bulley wrote:
> According to Lowell Gilbert<freebsd-questions-local at>  on Thu, 01/27/11 at 11:04:
>> William Bulley<web at>  writes:
>>> Everything up to this point builds okay.  Then this happens:
>>> Making all in common
>>> gmake[3]: Entering directory `/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins/common'
>>> cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -I/usr/local/include  -I/usr/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O2 -fno-strict-aliasing -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -MT file_pdf-file-pdf.o -MD -MP -MF .deps/file_pdf-file-pdf.Tpo -c -o file_pdf-file-pdf.o `test -f 'file-pdf.c' || echo './'`file-pdf.c
>>> file-pdf.c:30:21: error: poppler.h: No such file or directory

It seems that gmake does not call `pkg-config --libs --cflags poppler`. 
do you have pkg-config and poppler installed correctly?


These files must be installed by poppler. In your case I will reinstall 
graphics/poppler by hand and verify that pkg-config finds it.


David Demelier

More information about the freebsd-questions mailing list