[R] mac os X: mprobit fails to install
Marc Schwartz
marc_schwartz at me.com
Sun Nov 22 23:07:09 CET 2009
Xcode is available for download here:
http://developer.apple.com/technology/xcode.html
As David noted, you do need to register, but it is free. Note also
that it is a 750 Mb download.
HTH,
Marc Schwartz
On Nov 22, 2009, at 3:11 PM, David Winsemius wrote:
>
> On Nov 22, 2009, at 4:00 PM, stephane Luchini wrote:
>
>> Thanks.
>>
>> I have 10.5.8 with R 2.10.0 now (i still had 2.9 in my previous
>> messages). I also have gcc-4.2 installed but no Xcode package.
>>
>> It still fails to install - can it be the Xcode package? Where can I
>> find it - I don't have my install CDs with me and will not get them
>> soon?
>
> Xcode is distributed free by Apple through its developer program.
> All you need to do is register, again, free, or at least it used to
> be so. You could also check the tools section of CRAN. I am not
> sufficient UNIXified to be an authoritative source on these issues.
>
> --
> David
>>
>> Stephane
>>
>>
>> 2009/11/22 David Winsemius <dwinsemius at comcast.net>:
>>> 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 <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.
>>>>>>
>>>>>
>>>>
>>>> ______________________________________________
>>>> 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.
>>>
>>> David Winsemius, MD
>>> Heritage Laboratories
>>> West Hartford, CT
>>>
>>> ______________________________________________
>>> 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.
>>>
>>
>> ______________________________________________
>> 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.
>
> David Winsemius, MD
> Heritage Laboratories
> West Hartford, CT
>
> ______________________________________________
> 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