[R-SIG-Mac] library not found for -lX11

Federico Calboli f.calboli at imperial.ac.uk
Thu Nov 29 18:37:06 CET 2012


On 29 Nov 2012, at 17:29, Jochen <jochen.laubrock at gmail.com> 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.

BW

F





> 
> 
> 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
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> 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



More information about the R-SIG-Mac mailing list