Error repetido: #error "Sólose puede incluir directamente."

Error repetido: #error "Sólose puede incluir directamente."

Tengo una investigación sobre la distancia de compresión de la atribución del autor. Y debería utilizar "Complearn", que es un programa de compresión, en mi trabajo. Pero al principio tuve problemas al instalar este programa.

1) Descargo el programa desde este enlace en Linux Mint (que está en la máquina virtual de mi computadora con Windows (VM en VirtualBox));

http://www.complearn.org/downloads/libcomplearn-1.1.7.tar.gz

2) Escribí en la ventana de terminal del programa uno por uno (en el directorio del programa, por supuesto),

./configure

(Después del paso de configuración, recibí algunos errores sobre las dependencias de requisitos, por ejemplo, gsl, zlib, etc. Los instalé todos. Finalmente se requirió glib. Y lo instalé pero me dio un error más: se trata de la versión anterior, existe glib .El error fue este:

    checking for GLIB - version >= 2.0.0... 
*** 'pkg-config --modversion glib-2.0' returned 2.42.0, but GLIB (2.40.2)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: must have glib >= 2.0.0 and gobject installed

Lo resolví con este comando:

eco $LD_LIBRARY_PATH exportar LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Después de eso, intenté el paso ./configure, pero no falló).

entonces

 make

Y falló con este error:

> In file included from anydecompress.c:32:0:
> /usr/local/include/glib-2.0/glib/garray.h:29:2: error: #error "Only <glib.h> can be included directly."
>   #error "Only <glib.h> can be included directly."
>   ^
> In file included from /usr/local/include/glib-2.0/glib/garray.h:32:0,
>                  from anydecompress.c:32:
> /usr/local/include/glib-2.0/glib/gtypes.h:29:2: error: #error "Only <glib.h> can be included directly."
>  #error "Only <glib.h> can be included directly."
>  ^
> In file included from /usr/local/lib/glib-2.0/include/glibconfig.h:9:0,
>                  from /usr/local/include/glib-2.0/glib/gtypes.h:32,
>                  from /usr/local/include/glib-2.0/glib/garray.h:32,
>                  from anydecompress.c:32:
> /usr/local/include/glib-2.0/glib/gmacros.h:33:2: error: #error "Only <glib.h> can be included directly."
>   #error "Only <glib.h> can be included directly."
>  ^ 
> In file included from /usr/local/include/glib-2.0/glib/gtypes.h:34:0,
>                  from /usr/local/include/glib-2.0/glib/garray.h:32,
>                  from anydecompress.c:32:
> /usr/local/include/glib-2.0/glib/gversionmacros.h:29:2: error: #error "Only <glib.h> can be included directly."
>  #error "Only <glib.h> can be included directly." 
>  ^ 
> anydecompress.c: In function ‘main’:
> anydecompress.c:59:3: warning: ‘g_type_init’ is deprecated (declared at /usr/local/include/glib-2.0/gobject/gtype.h:679) [-Wdeprecated-declarations]    
>  g_type_init ();   
> ^
> make[2]: *** [anydecompress-anydecompress.o] Error 1
> make[2]: Leaving directory `/home/kubra/libcomplearn-1.1.7/src' 
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/kubra/libcomplearn-1.1.7/src' 
> make: *** [all-recursive] Error 1

¿Qué significa? ¿Qué debo hacer para solucionar este problema? ¿Me podría ayudar? No encontré ninguna sugerencia para corregir este error en mi búsqueda en Google.

Gracias.

información relacionada