[R-SIG-Mac] poppler install, or alternatives

Roger Koenker rkoenker at illinois.edu
Thu Jan 24 20:15:39 CET 2013


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



More information about the R-SIG-Mac mailing list