On Tue, 4 Feb 2014, Allin Cottrell wrote:Just in case someone is interested, this is a quick HOWTO on building X13ARIMA-SEATS on Linux: I just did on my Mint laptop. It should work ok on any debian-based distro (Ubuntu, for one).
First question, where did you get x13as, and what's the exact
version? I'm running X-13ARIMA-SEATS Version 1.1 Build 9 (self
compiled from the sources at
http://www.census.gov/srd/www/x13as/x13down_unix.html )
and I'm getting text output OK.
1) Download the source from
http://www.census.gov/ts/x13as/unix/x13assrc.tar.gz
and unpack in a directory of your choice
2) Install gfortran, if necessary:
sudo apt-get install gfortran
or via synaptic, aptitude, whatever you like best
3) move to the directory containing the fortran sources and edit the file "makefile.g77": change lines 2 and 3
FC = /usr/bin/g77
LINKER = /usr/bin/g77
to
FC = /usr/bin/gfortran
LINKER = /usr/bin/gfortran
4) run "make -f makefile.g77"; this will take some time and produce a few "warning" messages; it's perfectly safe to ignore them. At the end, you should have an executable file called "x13as".
5) copy the executable file to a directory in your path; eg,
sudo cp x13as /usr/local/bin/
6) Open gretl, go to Tools>Preferences>General; in the "Programs" tab, choose "Path to x12arima" and write "x13as" in the text box. Click "OK".
7) Enjoy!!!
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Universitą Politecnica delle Marche
(formerly known as Universitą di Ancona)
r.lucchetti@univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users