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