Am 18.02.2008 17:44, Daniel Arribas schrieb:
Hi there!
I have a problem when I try to install gretl on Ubuntu 7.10. I´ve tried
both the binaries and from source. Apparently I do success with the
binaries since gretl´s icon shows up on Applications, but when i click
on it, nothing happens.
Of course the shipped ubuntu gretl package works fine, but you probably
wanted a newer version, right? The newer packages from upcoming Ubuntu
8.04 didn't work for me either. So for Ubuntu 7.10 no current gretl
binary is available AFAIK.
Trying to install it from source code stops when
it asks me to install a package I already have installed from
synaptic.
Any suggestions on how to have it running on Ubuntu 7.10? Thanks a lot.
As Allin said, you should uninstall the binary gretl package (with
synaptic).
Then the steps are (you may know this, but maybe it's interesting for
others who are not used to cvs):
0. install a bunch of devel packages with synaptic, like gnome-devel,
gcc, and many others... check out the gretl homepage and proceed on a
trial-and-error basis until somebody posts a list here
1. create a directory "gretlcvs" (or whatever you want to call it) where
you have write access (presumably in your home dir)
2. in a terminal from within gretlcvs, type:
cvs -d:pserver:anonymous@gretl.cvs.sourceforge.net:/cvsroot/gretl login
3. you get a password prompt, simply hit return
4. then type:
cvs -z3 -d:pserver:anonymous@gretl.cvs.sourceforge.net:/cvsroot/gretl co
-P gretl
(without line breaks that may be introduced by the mail program here)
5. after the source has been downloaded from cvs, change to the new
gretl dir (cd gretl)
6.a) type
make clean (for the second and subsequent iterations)
6.b) type
./configure --without-gnome
or
./configure --without-gnome --enable-build-doc
or
./configure
or
./configure --enable-build-doc
depending on your tastes (I guess that for --enable-build-doc you also
need a (La)TeX system installed)
7. type
make
(then wait)
8. type
sudo make install
(this is not very clean because uninstalling the compiled gretl version
will be a bit difficult, but when do you really want to uninstall gretl?
;-) -- and updating to newer versions has always worked for me so far,
though I cannot guarantee anything. The alternative could be do use
checkinstall.)
good luck,
sven