I get segmentation fault on startup of gretl. Here are some steps I took to make it run again
on my 64 bit ACER laptop. Download the 1.9.5 source code by clicking on
Now go to the directory where the bzip file is, and unpack it with
Here are some errors I got when compiling the sources:
Typing gretl on the command line does not do anything! So we type gretl again and the TAB key:
gretl
gretl gretlcli gretl_x11
Trying out gretlcli,
Darn, I still get the error!
on my 64 bit ACER laptop. Download the 1.9.5 source code by clicking on
sourceforge: gretlThe actual download site link I got was
http://nchc.dl.sourceforge.net/project/gretl/gretl/1.9.5/gretl-1.9.5.tar.bz2and if you prefer the command line(with a network connection!)
wget -ct0 http://nchc.dl.sourceforge.net/project/gretl/gretl/1.9.5/gretl-1.9.5.tar.bz2,but that is not recommeded as the actual download site may be too busy!
Now go to the directory where the bzip file is, and unpack it with
tar xjvvf gretl-1.9.5.tar.bz2then, goto the gretl-1.9.5 directory, and perform the standard
./configure; make; make installincantation to compile and install from source files.
Here are some errors I got when compiling the sources:
../lib/src/gretl_fft.c:22:19: fatal error: fftw3.h: No such file or directoryFix: install libfftw3 development files.(libfftw3-dev)
../lib/src/monte_carlo.c:40:17: fatal error: gmp.h: No such file or directoryFix: install gmp development files. (libgmp3-dev)
Typing gretl on the command line does not do anything! So we type gretl again and the TAB key:
gretl
gretl gretlcli gretl_x11
Trying out gretlcli,
toto@toto-Aspire-4520:~/Downloads/gretl-1.9.5$ gretlcliSo back to installing omp (open MP). Fix: install libgomp-1-dbg
gretlcli: symbol lookup error: /usr/lib/libgretl-1.0.so.0: undefined symbol: omp_get_wtime
Darn, I still get the error!
gretlcli: symbol lookup error: /usr/lib/libgretl-1.0.so.0: undefined symbol: omp_get_wtimeSo I thought that that we remove some remaining packages which are not in use anymore.
sudo apt-get autoremove.Now we get a sweet response from grelcli:
gretlcliand typing gretl now give us a more familiar qui (from our experience with previous versions).
gretl version 1.9.5
Copyright Ramu Ramanathan, Allin Cottrell and Riccardo "Jack" Lucchetti
This is free software with ABSOLUTELY NO WARRANTY
Current session: 2011-09-09 09:45
gretl is process 20218, '/usr/local/bin/gretlcli'
gretldir is maybe '/usr/local/share/gretl/'?
"help" gives a list of commands
Type "open filename" to open a data set
? ^C
I ahve upgraded to the newest Ubuntu distribution Oneiric Ocelot and gretl seems to work ("seemst to") because I have to spend more time with this econometrics software.
No comments:
Post a Comment