Am 29.11.2012 um 18:09 schrieb Jakson Alves de Aquino <jalvesaq at gmail.com>:
On Thu, Nov 29, 2012 at 1:49 PM, Berend Hasselman <bhh at xs4all.nl> wrote:
On 29-11-2012, at 17:16, Jakson Alves de Aquino wrote:
I adapted the code from cairoDevice package. It was just a matter
of replacing gtk with x11 and I hope that now it will build on any
unix that have X installed.
https://github.com/jalvesaq/VimCom/
Using Mac OS X 10.6.8 and R version 2.15.2 (2012-10-26)
Experiment 1
----------------
[.../vimcom]: R CMD check vimcom-master
* using log directory '/Users/berendhasselman/Documents/Programming/R/pkgsrc/vimcom/vimcom-master.Rcheck'
* using R version 2.15.2 (2012-10-26)
* using platform: x86_64-apple-darwin9.8.0 (64-bit)
* using session charset: UTF-8
* checking for file 'vimcom-master/DESCRIPTION' ... OK
* this is package 'vimcom' version '0.9-5'
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Package suggested but not available: 'knitr'
You can also install the 'knitr' package.
The suggested packages are required for a complete check.
Checking can be attempted without them by setting the environment
variable _R_CHECK_FORCE_SUGGESTS_ to a false value.
Experiment 2
----------------
[.../vimcom]: export _R_CHECK_FORCE_SUGGESTS_=0
[.../vimcom]: R CMD check vimcom-master
* using log directory '/Users/berendhasselman/Documents/Programming/R/pkgsrc/vimcom/vimcom-master.Rcheck'
* using R version 2.15.2 (2012-10-26)
* using platform: x86_64-apple-darwin9.8.0 (64-bit)
* using session charset: UTF-8
* checking for file 'vimcom-master/DESCRIPTION' ... OK
* this is package 'vimcom' version '0.9-5'
* checking package namespace information ... OK
* checking package dependencies ... NOTE
Package suggested but not available for checking: 'knitr'
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking whether package 'vimcom' can be installed ... ERROR
Installation failed.
See '/Users/berendhasselman/Documents/Programming/R/pkgsrc/vimcom/vimcom-master.Rcheck/00install.out' for details.
Contents .../00install.out
* installing *source* package 'vimcom' ...
checking for pkg-config... no
ERROR: Cannot find pkg-config.
ERROR: configuration failed for package 'vimcom'
pkg-config is an application that knows what should be the values of
CPPFLAGS and LIBS. Sorry, but I don't know how you can get it
correctly installed on Mac OS X.
pkg-config is not available standard on Mac OS X.
It is probably available on the Mac binary package machine.
I don't think you may assume that an X11 installation on Mac OS X
has been registered with pkg-config or how you call that.
Your method is not foolproof.
Experts will have to enlighten you.
You are right, and I'm waiting for the experts advice!
Thanks for testing!
--
Jakson Alves de Aquino
Federal University of Cear?
Social Sciences Department
www.lepem.ufc.br/aquino.php