Ok,
I just corrected the paths as you wrote.
This prolem seems to be fixed. But trying to start gretl via command
line shows that the programm files (the gretl folder) can't be find
under /usr/share/gretl but /usr/local/share/gretl:
artur@artur-laptop:~$ gretl
setlocale(LC_NUMERIC, "de_DE.UTF-8") returned de_DE.UTF-8
get_gretl_charset: using UTF-8
Hilfedatei /usr/share/gretl/gretlcmd.hlp ist nicht erreichbar
Hilfedatei /usr/share/gretl/gretlgui.hlp ist nicht erreichbar
GError details from g_file_get_contents
message: 'Datei »/usr/share/gretl/ui/gretlmain.xml« konnte nicht
geöffnet werden: No such file or directory'
domain = 635, code = 4
How can one change the folder directory to /usr/local/share/gretl?
regards
Artur
Message: 9
Date: Wed, 6 Aug 2008 19:22:53 -0400 (EDT)
From: Allin Cottrell <cottrell(a)wfu.edu>
Subject: Re: [Gretl-users] can't start self-compiled gretl
To: Gretl list <gretl-users(a)lists.wfu.edu>
Message-ID: <alpine.LRH.1.10.0808061911570.8330(a)ricardo.ecn.wfu.edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Wed, 6 Aug 2008, artur wrote:
> Allin: I just sent you the make.log and install.log file.
These log files seem to show that "make" and "make install" went
fine. One of the few remaining explanations for your problem is
that libraries in /usr/local/lib are not known to the run-time
linker.
Please try these experiments (at a command prompt):
First,
ldd /usr/local/bin/gretl_x_11
On the basis of what you have reported, I would expect to see a
line saying something like
libgretl-1.0.so.0 => not found
Then try
LD_LIBRARY_PATH=/usr/local/lib ldd /usr/local/bin/gretl_x_11
Based on your install.log, I would expect that to work OK (that
is, no "not found" line).
If I'm right so far, try
LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/gretl_x_11
Does gretl start OK? If not, I'm flummoxed. If so, make your
good fortune permanent by doing:
sudo sh -c "echo /usr/local/lib >> /etc/ld.so.conf && ldconfig"
That is, add /usr/local/lib to the path that the run-time linker
expects to use, and update the linker's cache.
Allin.