On 29/11/2012 17:37, Federico Calboli wrote:
On 29 Nov 2012, at 17:29, Jochen <[email protected]> wrote:

Just a guess, but maybe XCode and its command line tools need to be installed?

I don't know for third parties, but I do have the latest XCode + command line 
tools installed (and I would need them for MacPorts in the first place).  As by 
my previous email that's obviously not enough.

Correct, pkg-config is not part of Xcode. It is also not a good way to find out where X11 is. I did suggest following R, not a randomly chosen package for a different piece of software (GTK+, sic).

As ever, this is covered in the R manuals, which it seems none of you have the courtesy to read. Search for pkg-config in 'Writing R Extensions'.



BW

F







Am 29.11.2012 um 18:09 schrieb Jakson Alves de Aquino <[email protected]>:

On Thu, Nov 29, 2012 at 1:49 PM, Berend Hasselman <[email protected]> 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

_______________________________________________
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


--
Federico C. F. Calboli
Neuroepidemiology and Ageing Research
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



--
Brian D. Ripley,                  [email protected]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to