Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 11:55:14 -0500
From:      William Bulley <web@umich.edu>
To:        David Demelier <demelier.david@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem building GIMP 2.6.11 on 8.2-PRERELEASE
Message-ID:  <20110127165514.GG93736@itcom245.staff.itd.umich.edu>

next in thread | raw e-mail | index | archive | help
According to David Demelier <demelier.david@gmail.com> 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 ----------------------------------------->|



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110127165514.GG93736>