running gnucash on cygwin
Derek Atkins
warlord at MIT.EDU
Mon May 12 23:19:41 CDT 2003
Unfortunately you've reached the limit of my windows programming
knowledge. Hopefully some other cygwin expert can help you here.
I wish you luck, and if you have gnucash-specific questions I'll try
to answer them as best as I can. can you dynamic-link libgncmod-engine?
I wonder if windows makes a difference between libraries and modules?
-derek
Ivan Middleton <idmiddle at umich.edu> writes:
> Well, I have things narrowed down a bit. After adding some `display'
> statements to the scheme code, I've confirmed my suspicions that guile is
> having trouble loading modules. Essentially the backtrace at the point
> where it gets stuck is
>
> gnucash/main.scm: (use-modules (g-wrapped gw-gnc))
>
> g-wrapped/gw-gnc.scm: (dynamic-call "gw_init_wrapset_gw_gnc"
> (dynamic-link "libgw-gnc"))
>
> Many of the dependencies of libgw-gnc get loaded, but not all. At some
> point it stops loading DLL's, but is still using CPU cycles. One of the
> dependencies of libgw-gnc is libgncmod-app-utils, and this may be the
> problem library. I can load all the dependencies of libgncmod-app-utils
> using `dynamic-link', but
>
> (dynamic-link "libgncmod-app-utils")
>
> gives "dlopen: Win32 error 31". This is the unhelpful error code
> ERROR_GEN_FAILURE, "A device attached to the system is not functioning."
>
> I'll ask around on the Cygwin mailing lists as to whether anyone has had
> any similar experiences with dynamic loading. Otherwise I'm probably
> close to being stuck. I guess I could try recompiling libgncmod-app-utils
> in various ways, maybe leaving out some functionality to see what happens.
> Error 31 certainly doesn't give any clues.
>
> Ivan
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list