Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/~mperrin/software/arroyo/install_mac.html
Дата изменения: Tue May 3 01:54:19 2005 Дата индексирования: Sat Mar 1 16:14:11 2014 Кодировка: |
doxygen: There's a binary Mac OS X version of Doxygen available here. Use this rather than Fink because fink is now stupid on 10.4 and wants to compile and install all of tcl-tk as a dependency for doxygen, which is unnecessary because Apple ships their own tcl/tk with 10.4. The binary installer is for a Mac-OS-X-ized version of doxygen; to get the command line version in your path do this:
sudo ln -s /Applications/Doxygen.app/Contents/Resources/doxygen /usr/local/bin/doxygen
** Required Libraries **
BLAS and LAPACK come standard on all Mac OS X computers as part of the vecLib library. These take advantage of the AltiVec instructions in the PowerPC, which are 128-bit vector instructions similar to MMX/SSE on Intel. I'm not sure how whether Arroyo will benefit from these; there's also a -faltivec option to GCC that I haven't experimented with yet.
CFITSIO is easily installed from the source.
./configure --prefix=/usr/local make ; sudo make installDON'T install the precompiled fftw3 from fink; it ends up having linking errors for some unknown reason. Installing directly from the source works fine..
Installing FFTW from source
./configure; make; sudo make install ./configure --enable-float; make; sudo make install
** Arroyo itself **
Here is a patch for ./configure to detect Mac OS and use the vecLib frameworks.
---------------------------- 19840a19841,19842 > powerpc) > LAPACK_LIBS="-framework vecLib -dynamic";; ----------------------------The same change needs to be made in the tutorials/arroyo_codelets directory, which has its own Makefile. Here's a patch for that:
---------------------------- 4,5c4,8 < LIBS = -L../../lib/.libs -larroyo -lcfitsio -lfftw3 -lfftw3f -llapack -lblas -lg2c -lstdc++ -lm < --- > ifeq "${MACHTYPE}" "powerpc" > LIBS = -L../../lib/.libs -larroyo -lcfitsio -lfftw3 -lfftw3f -framework vecLib -dynamic -lstdc++ -lm > else > LIBS = -L../../lib/.libs -larroyo -lcfitsio -lfftw3 -lfftw3f -llapack -lblas -lg2c -lstdc++ -lm > endif ----------------------------