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 <[email protected]> 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 [email protected] Department of Economics > vox: 217-333-4558 University of Illinois > fax: 217-244-6678 Urbana, IL 61801 > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
