Error with eggsmclient building evince 2.26.2
- From: Paulo Estrela <paulojbe gmail com>
- To: evince-list gnome org
- Subject: Error with eggsmclient building evince 2.26.2
- Date: Tue, 8 Sep 2009 09:23:30 -0300
Hi,
I'm trying to build evince 2.26.2 in RHEL4. I'm running:
SMCLIENT_CFLAGS="-I/usr/X11/include -I/usr/X11R6/include"
SMCLIENT_LIBS="-lSM -L/usr/X11/lib64 -L/usr/X11R6/lib64"
./configure --prefix=/usr/local/evince-2.26.2 --without-gconf --without-keyring
configure script seems to be ok, it shows me at the end (I just need TIFF support):
Configure summary:
GConf Support......: no
Keyring Support....: no
DBUS Support.......: no
Nautilus Plugin....: yes
Thumbnailer........: yes
Gtk-Doc Support....: no
Debug mode.........: no
GObj. Introspection: no
PDF Backend........: no
PostScript Backend.: no
TIFF Backend.......: yes
DJVU Backend.......: no
DVI Backend........: yes
Pixbuf Backend.....: no
Comics Backend.....: yes
Impress Backend....: no
But make gives me:
...
Making all in smclient
make[3]: Entering directory `/usr/src/evince-2.26.2/cut-n-paste/smclient'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\""EggSMClient"\" -DEGG_SM_CLIENT_BACKEND_XSMP -I/usr/X11/include -I/usr/X11R6/include -g -O2 -MT libsmclient_la-eggsmclient.lo -MD -MP -MF .deps/libsmclient_la-eggsmclient.Tpo -c -o libsmclient_la-eggsmclient.lo `test -f 'eggsmclient.c' || echo './'`eggsmclient.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"EggSMClient\" -DEGG_SM_CLIENT_BACKEND_XSMP -I/usr/X11/include -I/usr/X11R6/include -g -O2 -MT libsmclient_la-eggsmclient.lo -MD -MP -MF .deps/libsmclient_la-eggsmclient.Tpo -c eggsmclient.c -fPIC -DPIC -o .libs/libsmclient_la-eggsmclient.o
eggsmclient.c:23:24: glib/gi18n.h: No such file or directory
In file included from eggsmclient.c:25:
eggsmclient.h:23:25: glib-object.h: No such file or directory
In file included from eggsmclient.c:25:
eggsmclient.h:34: error: syntax error before "typedef"
eggsmclient.h:53: error: syntax error before "GObject"
eggsmclient.h:53: warning: no semicolon at end of struct or union
eggsmclient.h:59: error: syntax error before "GObjectClass"
eggsmclient.h:59: warning: no semicolon at end of struct or union
eggsmclient.h:63: error: syntax error before "GKeyFile"
eggsmclient.h:76: error: syntax error before "gboolean"
eggsmclient.h:77: error: syntax error before '*' token
eggsmclient.h:79: error: syntax error before "gboolean"
eggsmclient.h:79: error: `gboolean' declared as function returning a function
eggsmclient.h:79: warning: data definition has no type or storage class
eggsmclient.h:86: error: syntax error before '}' token
eggsmclient.h:88: error: syntax error before "egg_sm_client_get_type"
eggsmclient.h:88: error: syntax error before "G_GNUC_CONST"
eggsmclient.h:88: warning: data definition has no type or storage class
eggsmclient.h:90: error: syntax error before '*' token
eggsmclient.h:90: warning: data definition has no type or storage class
eggsmclient.h:98: error: syntax error before "egg_sm_client_is_resumed"
eggsmclient.h:98: warning: data definition has no type or storage class
eggsmclient.h:99: error: syntax error before '*' token
eggsmclient.h:99: warning: data definition has no type or storage class
eggsmclient.h:108: error: syntax error before "gboolean"
eggsmclient.h:111: error: syntax error before "egg_sm_client_end_session"
eggsmclient.h:112: error: syntax error before "gboolean"
eggsmclient.h:112: warning: data definition has no type or storage class
In file included from eggsmclient.c:26:
eggsmclient-private.h:23:23: gdkconfig.h: No such file or directory
In file included from eggsmclient.c:26:
eggsmclient-private.h:26: error: syntax error before "G_BEGIN_DECLS"
eggsmclient-private.h:28: warning: data definition has no type or storage class
eggsmclient.c:28: error: syntax error before "static"
eggsmclient.c:29: error: syntax error before "GLogLevelFlags"
eggsmclient.c:41: error: syntax error before "signals"
eggsmclient.c:41: warning: data definition has no type or storage class
eggsmclient.c:44: error: syntax error before "GKeyFile"
eggsmclient.c:44: warning: no semicolon at end of struct or union
eggsmclient.c:49: error: syntax error before "egg_sm_client"
eggsmclient.c: In function `G_DEFINE_TYPE':
eggsmclient.c:51: error: storage class specified for parameter `global_client'
eggsmclient.c:52: error: storage class specified for parameter `global_client_mode'
eggsmclient.c:52: error: parameter `global_client_mode' is initialized
eggsmclient.c:56: error: storage class specified for parameter `egg_sm_client_init'
eggsmclient.c:56: error: syntax error before '{' token
eggsmclient.c:179: error: storage class specified for parameter `sm_client_state_file'
eggsmclient.c:179: error: parameter `sm_client_state_file' is initialized
eggsmclient.c:180: error: storage class specified for parameter `sm_client_id'
eggsmclient.c:180: error: parameter `sm_client_id' is initialized
eggsmclient.c:181: error: storage class specified for parameter `sm_config_prefix'
eggsmclient.c:181: error: parameter `sm_config_prefix' is initialized
eggsmclient.c:184: error: storage class specified for parameter `gboolean'
eggsmclient.c:184: error: syntax error before "sm_client_post_parse_func"
eggsmclient.c:395: error: syntax error before "GError"
eggsmclient.c:404: error: parameter `__result' is initialized
eggsmclient.c:404: error: `__s2' undeclared (first use in this function)
eggsmclient.c:404: error: (Each undeclared identifier is reported only once
eggsmclient.c:404: error: for each function it appears in.)
eggsmclient.c:404: confused by earlier errors, bailing out
make[3]: *** [libsmclient_la-eggsmclient.lo] Error 1
make[3]: Leaving directory `/usr/src/evince-2.26.2/cut-n-paste/smclient'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/evince-2.26.2/cut-n-paste'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/evince-2.26.2'
make: *** [all] Error 2
Any ideas of what is happening? Change to RHEL5 is not an option :(
Best regards,
Paulo Estrela
http://tabugado.comhttp://pauloestrela.wordpress.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]