[R-SIG-Mac] library not found for -lX11
Federico Calboli
f.calboli at imperial.ac.uk
Thu Nov 29 18:07:32 CET 2012
On 29 Nov 2012, at 16:49, Berend Hasselman <bhh at xs4all.nl> wrote:
>
> Contents .../00install.out
>
> * installing *source* package 'vimcom' ...
> checking for pkg-config... no
> ERROR: Cannot find pkg-config.
> ERROR: configuration failed for package 'vimcom'
> * removing '/Users/berendhasselman/Documents/Programming/R/pkgsrc/vimcom/vimcom-master.Rcheck/vimcom'
>
>
> Install experiment
> -------------------------
> [.../vimcom]: R CMD INSTALL vimcom-master
> * installing to library '/Users/berendhasselman/Library/R/2.15/library'
> * installing *source* package 'vimcom' ...
> checking for pkg-config... no
> ERROR: Cannot find pkg-config.
> ERROR: configuration failed for package 'vimcom'
> * removing '/Users/berendhasselman/Library/R/2.15/library/vimcom'
>
> pkg-config is not available standard on Mac OS X.
> It is probably available on the Mac binary package machine.
well I do have pkg-config (from MacPorts):
$ which pkg-config
/opt/local/bin/pkg-config
which is in my $PATH
$ echo $PATH
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/julia:/usr/local/MacGPG/bin:/usr/texbin
additionally
$ pkg-config --exists x11
exits without saying/doing anything, which I presume means all is ok, as by Unix tradition. Unfortunately I do have the same issue:
* installing *source* package ‘vimcom’ ...
checking for pkg-config... no
ERROR: Cannot find pkg-config.
ERROR: configuration failed for package ‘vimcom’
I am not clear why pkg-config should not be successfully called by the build.
BW
F
--
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