Continuing problems with GnuCash
Triston Whetten
tw.lbean at gmail.com
Sun Jan 20 07:03:26 PST 2008
On Jan 19, 2008, at 7:17 PM, Ryan Schmidt wrote:
>
> On Jan 19, 2008, at 18:27, Kurt Hillig wrote:
>
>> The good news: I finally managed to get Gnucash to build without
>> errors, after we got evince to build (see the e-mails a few days
>> ago), though I did have to manually update guile and install slib-
>> guile - apparently gnucash doesn't use guile16 and slib-guile16,
>> even though both of these were built and installed as part of the
>> gnucash build process.
>>
>> (Note: my interleaved comments below are prefixed with "###" so
>> you cspot them):
>>
>> G5Q:khillig > sudo port install -f gnucash
>> ---> Fetching zip
>> ---> Attempting to fetch zip232.tgz from ftp://ftp.info-zip.org/
>> pub/infozip/src/
>> ---> Verifying checksum(s) for zip
>> ---> Extracting zip
>> ---> Configuring zip
>> ---> Building zip with target generic
>> [snip]
>> ---> Fetching guile16
>> ---> Attempting to fetch guile-1.6.8.tar.gz from http://
>> ftp.gnu.org/gnu/guile
>> ---> Verifying checksum(s) for guile16
>> ---> Extracting guile16
>> ---> Applying patches to guile16
>> ---> Configuring guile16
>> ---> Building guile16 with target all
>> ---> Staging guile16 into destroot
>> ---> Installing guile16 1.6.8_2+darwin_8
>> ---> Activating guile16 1.6.8_2+darwin_8
>> ---> Cleaning guile16
>> [snip]
>> ---> Fetching slib-guile16
>> ---> Verifying checksum(s) for slib-guile16
>> ---> Extracting slib-guile16
>> ---> Configuring slib-guile16
>> ---> Building slib-guile16 with target all
>> ---> Staging slib-guile16 into destroot
>> ---> Installing slib-guile16 1.0_1
>> ---> Activating slib-guile16 1.0_1
>> ---> Cleaning slib-guile16
>> ---> Fetching gnucash
>> ---> Attempting to fetch gnucash-2.2.1.tar.bz2 from http://
>> downloads.sourceforge.net/gnucash
>> ---> Verifying checksum(s) for gnucash
>> ---> Extracting gnucash
>> ---> Configuring gnucash
>> Error: Target org.macports.configure returned: configure failure:
>> shell command " cd "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnom
>> e_gnucash/work/gnucash-2.2.1" && ./configure --prefix=/opt/local --
>> disable-glibtest --disable-debug --disable-profile --disable-
>> dependency-tracking --enable-hbci --enable-ofx " returned error 1
>> Command output: checking for unistd.h... (cached) yes
>> checking wctype.h usability... yes
>> checking wctype.h presence... yes
>> checking for wctype.h... yes
>> checking for dlsym... yes
>> checking for dlerror... yes
>> checking for darwin... yes, moving on...
>> checking for qt_null in -lqthreads... no
>> checking for qt_null in -lqt... no
>> checking for main in -ltermcap... yes
>> checking for main in -lreadline... yes
>> checking for guile-config... no
>> checking for build-guile... (cached) no
>> checking for sin in -lm... yes
>> checking for main in -lrx... no
>> checking for qt_null in -lqt... (cached) no
>> checking for dlopen in -ldl... (cached) yes
>> checking for t_accept in -lnsl... no
>> checking for socket in -lsocket... no
>> checking whether guile works... no
>> configure: WARNING: Can not find Guile on this system
>> checking for guile... no
>> checking for guile - 1.6.0 <= version < 99.99.99... no:
>> configure: WARNING: guile version check failed
>> configure: error:
>>
>> guile does not appear to be installed correctly, or is not in the
>> correct version range. Perhaps you have not installed the guile
>> development packages? Gnucash requires at least version 1.6 to
>> build.
>>
>>
>> Error: Status 1 encountered during processing.
>>
>> ### I installed guile manually:
>>
>> G5Q:khillig > sudo port install -f guile
>> ---> Fetching gmp
>> ---> Attempting to fetch gmp-4.2.2.tar.bz2 from http://
>> ftp.gnu.org/gnu/gmp
>> ---> Verifying checksum(s) for gmp
>> ---> Extracting gmp
>> ---> Configuring gmp
>> ---> Building gmp with target all
>> ---> Staging gmp into destroot
>> ---> Installing gmp 4.2.2_1
>> ---> Activating gmp 4.2.2_1
>> ---> Cleaning gmp
>> ---> Fetching guile
>> ---> Attempting to fetch guile-1.8.3.tar.gz from ftp://
>> ftp.gnu.org/pub/gnu/guile/
>> ---> Verifying checksum(s) for guile
>> ---> Extracting guile
>> ---> Applying patches to guile
>> ---> Configuring guile
>> ---> Building guile with target all
>> ---> Staging guile into destroot
>> ---> Installing guile 1.8.3_0+darwin_8
>> ---> Activating guile 1.8.3_0+darwin_8
>> ---> Cleaning guile
>>
>> ### After installing guile I found the dependency on slib-guile:
>>
>> G5Q:khillig > sudo port install -f gnucash
>> ---> Configuring gnucash
>> Error: Target org.macports.configure returned: configure failure:
>> shell command " cd "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnom
>> e_gnucash/work/gnucash-2.2.1" && ./configure --prefix=/opt/local --
>> disable-glibtest --disable-debug --disable-profile --disable-
>> dependency-tracking --enable-hbci --enable-ofx " returned error 1
>> Command output: checking for locale.h... (cached) yes
>> checking mcheck.h usability... no
>> checking for mcheck.h... no
>> checking for unistd.h... (cached) yes
>> checking wctype.h usability... yes
>> checking wctype.h presence... yes
>> checking for wctype.h... yes
>> checking for dlsym... yes
>> checking for dlerror... yes
>> checking for darwin... yes, moving on...
>> checking for qt_null in -lqthreads... no
>> checking for qt_null in -lqt... no
>> checking for main in -ltermcap... yes
>> checking for main in -lreadline... yes
>> checking for guile-config... yes
>> checking whether guile-config works... yes
>> checking for sin in -lm... yes
>> checking for guile libraries... -D_THREAD_SAFE -lguile -lltdl -L/
>> opt/local/lib -L/opt/local/lib -lgmp -lm -lltdl
>> checking for guile headers... -I/opt/local/include -D_THREAD_SAFE
>> checking whether guile works... yes
>> checking for guile... /opt/local/bin/guile
>> checking for guile - 1.6.0 <= version < 99.99.99... yes: 1.8.3
>> checking for guile - 1.8.0 <= version < 99.99.99... yes: 1.8.3
>> checking for SLIB support... configure: error:
>>
>> Cannot find SLIB. Are you sure you have it installed?
>> See http://bugzilla.gnome.org/show_bug.cgi?id=347922
>>
>>
>>
>> Error: Status 1 encountered during processing.
>>
>> ### The error message here is misleading - it says "SLIB" but it
>> really ### means "slib-guile" - which I discovered by installing
>> slib (and a few other things) with no effect):
>>
>> G5Q:khillig > sudo port install -f slib-guile
>> ---> Fetching slib-guile
>> ---> Verifying checksum(s) for slib-guile
>> ---> Extracting slib-guile
>> ---> Configuring slib-guile
>> ---> Building slib-guile with target all
>> ---> Staging slib-guile into destroot
>> ---> Installing slib-guile 1.0_2
>> ---> Activating slib-guile 1.0_2
>> Warning: File /opt/local/share/guile/slib already exists. Moving
>> to: /opt/local/share/guile/slib.mp_1200717763.
>> ---> Cleaning slib-guile
>> G5Q:khillig > sudo port install -f gnucash
>> ---> Configuring gnucash
>> ---> Building gnucash with target all
>> ---> Staging gnucash into destroot
>> ---> Installing gnucash 2.2.1_2+guile16
>> ---> Activating gnucash 2.2.1_2+guile16
>> ---> Cleaning gnucash
>>
>>
>> ### So, finally, I fire up X11 and in the xterm window I start
>> gnucash:
>>
>> G5Q:khillig > gnucash
>> gnc.bin-Message: main: binreloc relocation support was disabled at
>> configure time.
>>
>> Backtrace:
>> In current input:
>> 1: 0* [gnc:reldate-initialize]
>> In /opt/local/share/gnucash/scm/date-utilities.scm:
>> 844: 1* [gnc:make-reldate-hash #(() () () () ...) (# # # # ...)]
>> 382: 2 (map (lambda (reldate) (hash-set! hash # reldate))
>> reldate-list)
>>
>> /opt/local/share/gnucash/scm/date-utilities.scm:382:3: In
>> expression (map (lambda # #) reldate-list):
>> /opt/local/share/gnucash/scm/date-utilities.scm:382:3: Unbound
>> variable: map
>>
>>
>> ### AAARRRGGGHHH!
>>
>>
>> I suspect this is all tied up somehow in the guile/guile16 and
>> slib-guile/slib-guile16 confusion. I could try removing guile and
>> symlinking it to guile16 (or vice versa), ditto for slib-guile -
>> but 1) I don't know what all of these even do, and 2) it's a lot
>> of work to find all the things that might need to be symlinked,
>> and to get them all right, and to undo later if it doesn't work.
>> So I'm hoping someone who's done this before will have a solution
>> handy so I don't have to experiment with all this...
>
> As I understand it, gnucash does not work with guile 1.8. Therefore
> the gnucash port was changed to depend on guile16. But gnucash
> perhaps s
Take a look at ticket #13472 (gloss over the title and look through
it anyway). The basic problem appears to be the incomplete
installation of guile16 and/or the incomplete isolation of the
guile16 port from the guile port. A complicated juggling act at the
very least...
Gnucash has a default variant of guile16. According to the wiki at
gnucash (which could be out of date), 1.8.1 is still not supported.
http://wiki.gnucash.org/wiki/MacOSX/MacPortsDetail#guile_1.8.1
More information about the macports-users
mailing list