I tried to install gretl from CVS but in running "make" I am obtaining an
error. It seems that the file glib.h cannot be found. I have this file
in /usr/include/glib-2.0/
¿Any suggestion?
The result of the "make" command is:
-----------
# sudo make
make -C lib
make[1]: se ingresa al directorio `/home/etpdihei/gretl/lib'
../libtool --mode=compile
gcc -c -g -O2 -I.. -I.. -I../lib/src -I/usr/include/libxml2 -DHAVE_CONFIG_H -o
gretl_commands.lo ../lib/src/gretl_commands.c
gcc -c -g -O2 -I.. -I.. -I../lib/src -I/usr/include/libxml2 -DHAVE_CONFIG_H
../lib/src/gretl_commands.c -fPIC -DPIC -o .libs/gretl_commands.o
../lib/src/gretl_commands.c:24:18: error: glib.h: No such file or directory
../lib/src/gretl_commands.c:182: error: expected '=', ',', ';',
'asm'
or '__attribute__' before '*' token
../lib/src/gretl_commands.c: In function 'gretl_command_hash_init':
../lib/src/gretl_commands.c:188: error: 'ht' undeclared (first use in this
function)
../lib/src/gretl_commands.c:188: error: (Each undeclared identifier is
reported only once
../lib/src/gretl_commands.c:188: error: for each function it appears in.)
../lib/src/gretl_commands.c:188: error: 'g_str_hash' undeclared (first use in
this function)
../lib/src/gretl_commands.c:188: error: 'g_str_equal' undeclared (first use in
this function)
../lib/src/gretl_commands.c:191: error: 'gpointer' undeclared (first use in
this function)
../lib/src/gretl_commands.c:191: error: expected ')' before 'gretl_cmds'
../lib/src/gretl_commands.c:196: error: expected ')'
before 'gretl_cmd_aliases'
../lib/src/gretl_commands.c: In function 'gretl_command_number':
../lib/src/gretl_commands.c:203: error: 'gpointer' undeclared (first use in
this function)
../lib/src/gretl_commands.c:203: error: expected ';' before 'p'
../lib/src/gretl_commands.c:206: error: 'ht' undeclared (first use in this
function)
../lib/src/gretl_commands.c:210: error: 'p' undeclared (first use in this
function)
../lib/src/gretl_commands.c: In function 'gretl_command_hash_cleanup':
../lib/src/gretl_commands.c:220: error: 'ht' undeclared (first use in this
function)
make[1]: *** [gretl_commands.lo] Error 1
make[1]: se sale del directorio `/home/etpdihei/gretl/lib'
make: *** [lib] Error 2
----
Ignacio Díaz-Emparanza