[R] mac os X: mprobit fails to install

SL sl465 at yahoo.fr
Sun Nov 22 21:15:18 CET 2009


I have tried your command but without success. Any idea? Here is my log:

Macbook:$ PKG_CFLAGS=-I/usr/include/sys R CMD INSTALL mprobit_0.9-2.tar.gz

* Installing to library ‘/Users/stephaneluchini/Library/R/2.9/library’
* Installing *source* package ‘mprobit’ ...
** libs
** arch - i386
sh: make: command not found
ERREUR : compilation failed pour le package ‘mprobit’
* Removing ‘/Users/stephaneluchini/Library/R/2.9/library/mprobit’

2009/11/22 Phil Spector <spector at stat.berkeley.edu>:
> Stephane -
>    The check log indicated that malloc.h couldn't be found.
> Since that header file  is located  in /usr/include/sys on Macs,
> you could do the following:
>
> 1.  Download mprobit_0.9-2.tar.gz from your local CRAN mirror.
> 2.  At a terminal, type
>
>      PKG_CFLAGS=-I/usr/include/sys R CMD INSTALL mprobit_0.9-2.tar.gz
>
> They'll be some warning messages, but the package should get built.
>
>                                        - Phil Spector
>                                         Statistical Computing Facility
>                                         Department of Statistics
>                                         UC Berkeley
>                                         spector at stat.berkeley.edu
>
> On Sun, 22 Nov 2009, stephane Luchini wrote:
>
>> Hi all,
>>
>> any chance that someone got through the installation problem of
>> mprobit on mac os X?
>>
>> Stephane
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>




More information about the R-help mailing list