That is correct! My fault! Simon, I didn't want to blame you with this one.
It compiles know and it works perfectly on the console. I am still interested, why it does not compile with aqua. Can somebody explain me why? Best regards Simon On Sep 14, 2012, at 4:38 PM, Berend Hasselman <[email protected]> wrote: > > On 14-09-2012, at 16:01, Simon Zehnder wrote: > >> Running through the errors of my make output on http://pastebin.com/HXqLgH4b >> (without aqua) pulled my attention to the following error: >> >> In file included from ../../../../src/modules/lapack/vecLibg95c.c:5:0: >> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:22:4: error: >> #error "<vecLib/vecLib.h> is deprecated. Please #include >> <Accelerate/Accelerate.h> and link to Accelerate.framework." >> >> This error is, I think from you Simon, already commented on >> http://permalink.gmane.org/gmane.comp.lang.r.mac/7293. So I followed your >> advice there and added the flag CPPFLAGS=-D ACCELERATE to my configure >> command: >> >> 1. (Configure) The whole command is: >> >> ../configure CC="gcc-4.7 -arch $arch" CXX="g++-4.7 -arch $arch" >> F77="gfortran-4.7 -arch $arch" FC="gfortran-4.7 -arch $arch" OBJC="gcc-4.7 >> -arch $arch" --x-includes=/usr/X11/include/ --x-libraries=/usr/X11/lib/ >> --with-blas='-framework libVec' --with-lapack --without-aqua CPPFLAGS="-D >> ACCELERATE" >> >> All runs fine - no errors nor warnings. >> >> 2. (Make) I run the make via: >> >> make -j 8 >> >> and I get the following errors: http://pastebin.com/5UfaMK6r >> >> It seems that the flag CPPFLAGS=-D ACCELERATE does not modify the compilers >> work. >> >> Any suggestions here? > > Reading the reply by Simon tells me that your CPPFLAGS doesn't agree with > Simon's fix. It should be CPPFLAGS=-D__ACCELERATE__ > > Berend > _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
