Mac OS X v10.6 Snow Leopard (i386) + Homebrew 0.9.4

Install packages needed for "FLOW"
First, you have to run the following commands to install some packages.
[~]$ brew install lua cfitsio libpng pkg-config jpeg
Install SPICE Toolkits for C
Download the SPICE toolkits for C (Mac/Intel, OSX, Apple C, 32bit) from the NAIF SPICE page (, and compile it:
[~/tmp]$ curl -O
[~/tmp]$ tar zxvf cspice.tar.Z
[~/tmp]$ cd cspice
[~/tmp/cspice]$ csh makeall.csh
[~/tmp/cspice]$ cd ..
Install "FLOW"
[~/tmp]$ curl -O
[~/tmp]$ tar zxvf flow-1.3.tar.gz
[~/tmp]$ cd flow-1.3
[~/tmp/flow-1.3]$ export PKG_CONFIG_PATH=/usr/local/Cellar/libpng/1.5.14/lib/pkgconfig
[~/tmp/flow-1.3]$ CFLAGS="-I/usr/local/Cellar/jpeg/8d/include" ./configure --with-libpng --with-libjpeg=/usr/local/Cellar/jpeg/8d \
--with-cfitsio --with-cspice=$HOME/tmp/cspice --enable-wms
[~/tmp/flow-1.3]$ make
[~/tmp/flow-1.3]$ sudo make install
Run "FLOW"
The "flow_ig" command may occur the following error:
dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib
Then, try the following command to set the environment vairable DYLD_LIBRARY_PATH:
[~]$ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/Cellar/jpeg/8d/lib

license and policy

darts c-soda isas jaxa