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
Try using libglade2 instead. On 1 Nov 2007, at 04:04, Will Marshall wrote:
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
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com http://shyramblings.blogspot.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."
participants (2)
-
Randall Wood
-
Will Marshall