[R-SIG-Mac] Unable to find pkg-config during install
simon.urbanek at r-project.org
Thu Jul 2 18:42:45 CEST 2009
On Jul 2, 2009, at 10:41 , David Winsemius wrote:
> I am getting a error message during an effort to use the Package
> Installer with a source copy of cairoDevice:
> * Installing *source* package 'cairoDevice' ...
> checking for pkg-config... no
> ERROR: Cannot find pkg-config.
> ERROR: configuration failed for package 'cairoDevice'
> I seem to have pkg-config per locate from the Terminal:
> david-winsemiuss-mac-pro:~ davidwinsemius$ locate pkg-config
> The UNIX Appendix of the Installation Manual (p 29) says: "Mac OS X
> comes with none of these libraries, but cairo support has been added
> to the binary distribution: pkg-config is still needed and can be
> compiled from the sources. "
> But that is not particularly helpful to me. Is there some
> environment variable or path has not been defined properly?
(BTW: I'm not quite sure why you would try to compile it from sources
- it's available in binary from from CRAN).
> I tried downloading pkgconfig-0.18 but its README file is not
> sufficiently detailed for my level of understanding of the UNIX
> underbelly of Mac OS X.
> > sessionInfo()
> R version 2.8.1 Patched (2009-01-19 r47650)
> attached base packages:
>  splines stats graphics grDevices utils datasets
> methods base
> other attached packages:
>  Design_2.2-0 survival_2.35-4 Hmisc_3.6-0
> loaded via a namespace (and not attached):
>  cluster_1.12.0 grid_2.8.1 lattice_0.17-25 tools_2.8.1
> Warning message:
> In install.packages(c("cairoDevice"), lib = "/Library/Frameworks/
> R.framework/Resources/library/", :
> installation of package 'cairoDevice' had non-zero exit status
> David Winsemius, MD
> Heritage Laboratories
> West Hartford, CT
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
More information about the R-SIG-Mac