Message-ID: <CA3590C6-D403-456D-AEDA-B8C01A342D48@icloud.com>
Date: 2013-01-24T19:32:39Z
From: Kjell Konis
Subject: poppler install, or alternatives
In-Reply-To: <C8C7C56D-F188-402A-8DFF-97A0D93EBE1E@illinois.edu>
Hi Roger,
The error message is telling you that you can use the --with-internal-glib to tell pkg-config's configure script to use the included (presumably in the pkg-config tarball glib directory) glib. Something like
cd pkg-config
./configure --with-internal-glib
should get you past this hurdle.
Hope that helps,
Kjell
On Jan 24, 2013, at 11:15 AM, Roger Koenker <rkoenker at illinois.edu> wrote:
> I started to look around this morning for tools to read pdf in R
> and came quickly to the tm package's readPDF function, which
> relies on poppler. At least on my mac
>
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> ./configure for poppler wanted pkg-config and ./configure for
> pkg-config died with the following:
>
> checking for GLIB... no
> configure: error: Either a previously installed pkg-config or "glib-2.0 >= 2.16" could not be found. Please set GLIB_CFLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to configure to use the bundled copy.
>
>
> at this point I got cold feet even though the pkg-config tarball shipped with a glib directory.
> I wondered whether one of you could offer some advice about how to proceed.
>
> Thanks
> Roger
>
>
> url: www.econ.uiuc.edu/~roger Roger Koenker
> email rkoenker at uiuc.edu Department of Economics
> vox: 217-333-4558 University of Illinois
> fax: 217-244-6678 Urbana, IL 61801
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac