Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 17:39:08 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problem building GIMP 2.6.11 on 8.2-PRERELEASE
Message-ID:  <4D419FAC.5080208@gmail.com>
In-Reply-To: <20110127162254.GD93736@itcom245.staff.itd.umich.edu>
References:  <20110127162254.GD93736@itcom245.staff.itd.umich.edu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 27/01/2011 17:22, William Bulley wrote:
> According to Lowell Gilbert<freebsd-questions-local@be-well.ilk.org>  on Thu, 01/27/11 at 11:04:
>> William Bulley<web@umich.edu>  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?

/usr/local/libdata/pkgconfig/poppler-cairo.pc
/usr/local/libdata/pkgconfig/poppler-cpp.pc
/usr/local/libdata/pkgconfig/poppler-splash.pc
/usr/local/libdata/pkgconfig/poppler.pc

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

Cheers,

-- 
David Demelier



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4D419FAC.5080208>