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

Roger Koenker rkoenker at illinois.edu
Thu Jan 24 20:53:51 CET 2013


Thanks Kjell,  all went smoothly -- for the close reading of the message, and for the "Coraggio!"
I needed both.

Best,
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

On Jan 24, 2013, at 1:32 PM, Kjell Konis wrote:

> 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



More information about the R-SIG-Mac mailing list