Why don't you try to install it manually? Just download from cran and
install from local archive. Maybe that works better.
From: gov2001-l-bounces at
lists.fas.harvard.edu
[mailto:gov2001-l-bounces at
lists.fas.harvard.edu] On Behalf Of Ben Michel
Sent: Wednesday, April 30, 2008 4:21 AM
To: gov2001-l at
lists.fas.harvard.edu
Subject: Re: [gov2001-l] gov2001-l Digest, Vol 40, Issue 20
Hi all,
I'm having trouble installing MatchIt, or more specifically, lpSolve... it
looks like the Mac binary isn't working (according to CRAN), though I had it
working last week before I updated R to 2.7.0...
I get the following error when installing from the source:
gcc -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-mmacosx-version-min=10.4 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/ppc
-I/usr/local/include -I . -DINTEGERTIME -DPARSER_LP -DBUILDING_FOR_R
-DYY_NEVER_INTERACTIVE -DUSRDLL -DCLOCKTIME -DRoleIsExternalInvEngine
-DINVERSE_ACTIVE=INVERSE_LUSOL -DINLINE=static -DParanoia -fPIC -g -O2 -c
lpslink55.c -o lpslink55.o
lpslink55.c:11:20: error: malloc.h: No such file or directory
make: *** [lpslink55.o] Error 1
chmod:
/Library/Frameworks/R.framework/Versions/2.7/Resources/library/lpSolve/libs/
ppc/*: No such file or directory
ERROR: compilation failed for package 'lpSolve'
Any thoughts?
Thanks,
Ben