There were quite a few "implicit declaration" warning messages when I followed Phil's advice, but I do seem to get a complete build on a Mac 10.5.8 running 64 bit R 2.10.0.

Have you installed the Xcode package? The gcc-4.2?

--
David.
On Nov 22, 2009, at 3:15 PM, SL wrote:

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 <spec...@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
                                        spec...@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@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.



______________________________________________
R-help@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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@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.

Reply via email to