From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 16:59:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CAEC106564A for ; Thu, 27 Jan 2011 16:59:02 +0000 (UTC) (envelope-from web@umich.edu) Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by mx1.freebsd.org (Postfix) with ESMTP id 40D2D8FC12 for ; Thu, 27 Jan 2011 16:59:01 +0000 (UTC) Received: FROM itcom245.staff.itd.umich.edu (itcom245.staff.itd.umich.edu [141.213.135.249]) By hackers.mr.itd.umich.edu ID 4D41A455.21605.14215 ; Authuser web; 27 Jan 2011 11:59:01 EST Date: Thu, 27 Jan 2011 11:55:14 -0500 From: William Bulley To: David Demelier Message-ID: <20110127165514.GG93736@itcom245.staff.itd.umich.edu> Mail-Followup-To: David Demelier , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Problem building GIMP 2.6.11 on 8.2-PRERELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2011 16:59:02 -0000 According to David Demelier on Thu, 01/27/11 at 11:39: > > 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. You mention gmake, yet I use "# make install" all the time. Is this really gmake under the covers? I see both executables and they differ: freebsd% ls -l /usr/local/bin/gmake /usr/bin/make -r-xr-xr-x 1 root wheel 378392 Jan 25 10:12 /usr/bin/make -r-xr-xr-x 1 root wheel 156592 Jan 25 11:29 /usr/local/bin/gmake This is what I found when looking for those four above files: freebsd% ls -l /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 ls: /usr/local/libdata/pkgconfig/poppler-cairo.pc: No such file or directory -r--r--r-- 1 root wheel 304 Jan 27 11:43 /usr/local/libdata/pkgconfig/poppler-cpp.pc -r--r--r-- 1 root wheel 222 Jan 27 11:43 /usr/local/libdata/pkgconfig/poppler-splash.pc -r--r--r-- 1 root wheel 222 Jan 27 11:43 /usr/local/libdata/pkgconfig/poppler.pc I rebuilt (make deinstall; make clean; make install) graphics/poppler. It made and installed cleanly (as did pkg-config earlier this week). I have these packages: poppler-0.14.5 A PDF rendering library poppler-data-0.4.4 Poppler encoding data poppler-gtk-0.14.5 Gtk bindings to poppler pkg-config-0.25_1 A utility to retrieve information about installed libraries Which is the correct port to install this "poppler-cairo" file? I see two copies in the ports tree: /usr/ports/graphics/poppler/work/poppler-0.14.5/poppler-cairo.pc and /usr/ports/graphics/poppler-gtk/work/poppler-0.14.5/poppler-cairo.pc When I run this: # pkg-config --libs --cflags poppler I see this: -I/usr/local/include/poppler -L/usr/local/lib -lpoppler Is that to be expected? Note that the file "poppler.h" exists here: /usr/local/include/poppler/glib/poppler.h so would that not imply that -I/usr/local/include/poppler is wrong and instead should be: -I/usr/local/include/poppler/glib ?? Thanks for all the suggestions, but I am still in a pickle... :-( Regards, web... -- William Bulley Email: web@umich.edu 72 characters width template ----------------------------------------->|