Ubuntu 12.04 (x86_64)


Install packages needed for "FLOW"
First, you have to run the following command as the administrator to install some packages.
# apt-get install csh gcc make libxml2-dev lua5.2 lua5.2-dev libcurl4-nss-dev libpng-dev libjpeg-dev libcfitsio3-dev
important assuming the working directory is $HOME/tmp.
Install SPICE Toolkits for C
Download the SPICE toolkits for C (PC, Linux, gCC, 64bit) from the NAIF SPICE page (http://naif.jpl.nasa.gov/naif/toolkit_C.html), and compile it:
[~/tmp]$ wget ftp://naif.jpl.nasa.gov/pub/naif/toolkit/C/PC_Linux_GCC_64bit/packages/cspice.tar.Z
[~/tmp]$ tar zxvf cspice.tar.Z
[~/tmp]$ cd cspice
[~/tmp/cspice]$ csh makeall.csh
[~/tmp/cspice]$ cd ..
Install "FLOW"
[~/tmp]$ curl -O https://darts.isas.jaxa.jp/planet/tools/flow/flow-1.3.tar.gz
[~/tmp]$ tar zxvf flow-1.3.tar.gz
[~/tmp]$ cd flow-1.3
[~/tmp/flow-1.3]$ ./configure --with-lua-inc=/usr/include/lua5.2 --with-lua-suffix=5.2 --with-cspice=$HOME/tmp/cspice --enable-wms
[~/tmp/flow-1.3]$ make
[~/tmp/flow-1.3]$ su
[~/tmp/flow-1.3]# make install
[~/tmp/flow-1.3]# exit

license and policy

darts c-soda isas jaxa