gnome compilation problems

Barry Schiffman schiffo2000 at yahoo.com
Wed Oct 24 10:52:59 PDT 2007


Help! Any insight on my four problems with completing
the installation of gnome? I'm getting many
compilation errors -- conflicting and missing
declarations -- not just dependency issues. 

1. gedit:

I get down to compiling gedit-languages-manager.o and
the following is reported:

gedit-languages-manager.c:115: error: conflicting
types for 'gdk_color_to_string'

/opt/local/include/gtk-2.0/gdk/gdkcolor.h:137: error:
previous declaration of 'gdk_color_to_string' was here

make[4]: *** [gedit-languages-manager.lo] Error 1

I believe that conflict with gdkcolor.h is the result
of my having installed gnucash first and then going on
to gnome.

I tried upgrading gtk2, but port didn't seem to think
it was necessary. 

2. gnome-applets -- an undeclared variable on 'make
all' -- what's missing?

Command output: applet.c:1036: error: 'applet'
undeclared (first use in this function)

applet.c: At top level:

applet.c:1062: error: parse error before '*' token

applet.c: In function 'gnome_volume_applet_refresh':

applet.c:1075: error: 'applet' undeclared (first use
in this function)

applet.c:1100: error: 'force_refresh' undeclared
(first use in this function)

applet.c: In function 'cb_check':

applet.c:1160: error: parse error before ')' token

applet.c:1160: error: parse error before ')' token

applet.c: In function 'cb_gconf':

applet.c:1175: error: 'applet' undeclared (first use
in this function)

applet.c: In function 'cb_prefs_destroy':

applet.c:1273: error: parse error before ')' token

applet.c:1273: error: parse error before ')' token

applet.c: In function 'cb_verb':

applet.c:1281: error: 'applet' undeclared (first use
in this function)

applet.c:1281: error: parse error before ')' token

applet.c:1281: error: parse error before ')' token

applet.c: In function 'cb_ui_event':

applet.c:1357: error: 'applet' undeclared (first use
in this function)

applet.c:1357: error: parse error before ')' token

applet.c:1357: error: parse error before ')' token

applet.c: In function 'cb_theme_change':

applet.c:1377: error: 'applet' undeclared (first use
in this function)

applet.c:1377: error: parse error before ')' token

applet.c:1377: error: parse error before ')' token

make[3]: *** [applet.o] Error 1


3. seahorse fails compiling seahorse-secure-memory.o 

/usr/bin/ld: multiple definitions of symbol _g_free

/opt/local/lib/libglib-2.0.dylib(gmem.o) definition of
_g_free

../../libseahorse/libseahorse.a(seahorse-secure-memory.o)
definition of _g_free in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _g_malloc

/opt/local/lib/libglib-2.0.dylib(gmem.o) definition of
_g_malloc

../../libseahorse/libseahorse.a(seahorse-secure-memory.o)
definition of _g_malloc in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _g_malloc0

/opt/local/lib/libglib-2.0.dylib(gmem.o) definition of
_g_malloc0

../../libseahorse/libseahorse.a(seahorse-secure-memory.o)
definition of _g_malloc0 in section (__TEXT,__text)

/usr/bin/ld: multiple definitions of symbol _g_realloc

/opt/local/lib/libglib-2.0.dylib(gmem.o) definition of
_g_realloc

../../libseahorse/libseahorse.a(seahorse-secure-memory.o)
definition of _g_realloc in section (__TEXT,__text)

collect2: ld returned 1 exit status


4. This one may be covered by ticket #10880
gnome-desktop-suite:

gedit fails to compile (see below), and I get this:

Error: The following dependencies failed to build:
gedit gnome-applets seahorse

Error: Status 1 encountered during processing.

I looked for the package ports file, thinking I could
try to build without those, but didn't find it.

Maybe all my problems are the result of installing
gnucash first? 

Thanks






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the macports-users mailing list