Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#13852 closed defect (fixed)

gnucash fails to compile

Reported by: 24hesk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gnucash compile error Cc:
Port:

Description

When building gnucash, I get the following error message:

Users/he-sk] > install gnucash
--->  Building gnucash 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_gnome_gnucash/work/gnucash-2.2.1" && make all " returned error 2
Command output: swig-core-utils.c: In function '_wrap_gnc_scm_log_debug':
swig-core-utils.c:1338: error: 'SCM_UNSPECIFIED' undeclared (first use in this function)
swig-core-utils.c:1341: warning: return makes integer from pointer without a cast
swig-core-utils.c: At top level:
swig-core-utils.c:1348: error: '_wrap_gnc_utf8_strip_invalid_strdup' declared as function returning a function
swig-core-utils.c: In function '_wrap_gnc_utf8_strip_invalid_strdup':
swig-core-utils.c:1362: error: invalid lvalue in assignment
swig-core-utils.c:1364: error: invalid lvalue in assignment
swig-core-utils.c:1370: warning: return makes integer from pointer without a cast
swig-core-utils.c: In function 'SWIG_init':
swig-core-utils.c:1647: warning: implicit declaration of function 'scm_c_define_gsubr'
swig-core-utils.c:1647: error: 'swig_guile_proc' undeclared (first use in this function)
swig-core-utils.c:1647: error: syntax error before '_wrap_g_find_program_in_path'
swig-core-utils.c:1648: error: syntax error before '_wrap_gnc_is_debugging'
swig-core-utils.c:1649: error: syntax error before '_wrap_gnc_scm_log_warn'
swig-core-utils.c:1650: error: syntax error before '_wrap_gnc_scm_log_error'
swig-core-utils.c:1651: error: syntax error before '_wrap_gnc_scm_log_msg'
swig-core-utils.c:1652: error: syntax error before '_wrap_gnc_scm_log_debug'
swig-core-utils.c:1653: error: syntax error before '_wrap_gnc_utf8_strip_invalid_strdup'
swig-core-utils.c: In function 'SWIG_init_helper':
swig-core-utils.c:1664: warning: implicit declaration of function 'scm_c_export'
swig-core-utils.c: At top level:
swig-core-utils.c:1669: error: 'scm_init_sw_core_utils_module' declared as function returning a function
swig-core-utils.c: In function 'scm_init_sw_core_utils_module':
swig-core-utils.c:1670: warning: implicit declaration of function 'scm_c_define_module'
swig-core-utils.c:1672: error: 'SCM_UNSPECIFIED' undeclared (first use in this function)
make[3]: *** [swig-core-utils.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (3)

comment:1 Changed 13 years ago by jmpp@…

Milestone: Port Bugs

comment:2 Changed 12 years ago by reiffert@…

Resolution: fixed
Status: newclosed

Gnucash 2.2.4 made it into svn in r35110. Please reproduce your error on this version and *open a new ticket* if required. Please add detailed information on how to reproduce it. There have also been patches for guile16 and various other ports recently.

comment:3 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.