On Tue, 19 Feb 2008, Sven Schreiber wrote:
[ instructions on building CVS gretl ]
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? ;-)
If you're taking the trouble to install gretl from CVS, one
possibility for making things "cleaner" is to install outside of
the standard Ubuntu tree. For example, you can configure with
./configure --prefix=/opt/gretl
then when you do "make install" everything will go under
/opt/gretl, where you can blow it all away if you wish to. This
does mean, however, that you'll have to do a couple of little
things to make gretl work:
* Either add /opt/gretl/bin to your PATH, or (as root) create a
symbolic link to gretl
cd /usr/bin
ln -s /opt/gretl/bin/gretl .
* Make the gretl dynamic library available: either add
/opt/gretl/lib to your LD_LIBRARY_PATH, or (as root), open
/etc/ld.so.conf in a text editor, append the line
/opt/gretl/lib
save the file, then run
/sbin/ldconfig
Allin Cottrell