libglade problems

Will Marshall marshaw3 at imail.losrios.edu
Thu Nov 1 01:04:13 PDT 2007


I was trying to build libglade, and got the following error:

#port install libglade
--->  Building libglade with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libglade/work/libglade-0.17"
&& make all " returned error 2
Command output: glade-init.c: In function 'glade_init':
glade-init.c:41: error: nested functions are disabled, use
-fnested-functions to re-enable
glade-init.c:41: error: syntax error before 'initialised'
glade-init.c:43: error: 'initialised' undeclared (first use in this
function)
glade-init.c:43: error: (Each undeclared identifier is reported only once
glade-init.c:43: error: for each function it appears in.)
glade-init.c:44: error: 'TRUE' undeclared (first use in this function)
glade-init.c: In function 'glade_load_module':
glade-init.c:66: error: 'GModule' undeclared (first use in this function)
glade-init.c:66: error: 'mod' undeclared (first use in this function)
glade-init.c:68: error: 'NULL' undeclared (first use in this function)
glade-init.c:70: warning: implicit declaration of function
'g_module_supported'
glade-init.c:71: warning: implicit declaration of function 'g_warning'
glade-init.c:76: warning: implicit declaration of function 'g_strdup'
glade-init.c:76: warning: assignment makes pointer from integer without
a cast

How would one go about fixing this problem?

--
Regards,
Will

"We are all agreed that your theory is crazy. The question that divides
us is whether it is crazy enough to have a chance of being correct."
  - Neils Bohr



More information about the macports-users mailing list