On Wed, 25 Jun 2008, Gordon Hughes wrote:
A. The problem with the undefined symbol.
I did have g77 installed, but removing it did not solve the
problem...
Did you also install the gfortran package?
B. Files in the wrong place
I don't know about ldconfig, but you are correct in identifying
the file ~/.gretl2rc as the source of the problem, though
because it is being wrongly created rather than because it is a
stale version.
As a test I cleaned every vestige of gretl off my OpenSUSE
system and emptied the trash. Then I recompiled gretl from
scratch with the default options. Finally, I ran gretl - exactly
the same problem as before : the program looks for files in
/usr/share/gretl/ rather than /usr/local/share/gretl/. I
checked the contents of .gret2rc and this contains the following
lines at the top
# gretl config file
# Main gretl directory
gretldir = /usr/share/gretl/
I assume that gretldir should be /usr/local/share/gretl/.
Yes. After running configure, what's the definition of
GRETL_PREFIX in the generated file config.h ?
If there's no ~/.gretl2rc then the gretl shared directory defaults
to GRETL_PREFIX/share/gretl -- unless the environment variable
GRETL_HOME is set (but that should not usually be the case).
Allin.