This process has felt like a rite of passage. I'm wondering if I did everything in a way that I have a good build.
I was going to work on the OFX/aqbanking parser. Importing from a file and importing online data parses differently. I have been importing from a file and have switched to online and don't want the change. Plus it's just wrong that there are two parsers. I have been trying to build consistently for the past week. Trying different things and basically "tuning" my brain. I have been successful in making some changes in the code, building (in Eclipse) and copying the dylibs to the correct spot in my existing installed location (not the one that make install generates). But this was just to play around. Now I want to do this for real. (So sorry that this email is a little large but I like to provide a lot of detail. If this is not acceptable, let me know how to break it down. I didn't want to break it into an email for every failure but I could do that. I've joined the mailing list and registered in bugzilla. Anything else I should do to be a good contributor?) --------------------------------------------------------------------------------------------------------------------------- Here goes: Using the instructions here: http://wiki.gnucash.org/wiki/MacOSX/Quartz http://sourceforge.net/apps/trac/gtk-osx/wiki/Build and https://github.com/jralls/gnucash-on-osx --------------------------------------------------------------------------------------------------------------------------- "jhbuild bootstrap" built fine. --------------------------------------------------------------------------------------------------------------------------- Reading some posts on the web (and several attempts at building on the "gnucash" account I had made), I found that we no longer need "gettext-fw". In ".jhbuildrc-custom", I replaced: modules = ["gettext-fw", "meta-gtk-osx-bootstrap", "meta-gtk-osx-core", "gnucash"] with modules = ["meta-gtk-osx-bootstrap", "meta-gtk-osx-core", "gnucash"] I'm on 10.6.8 so I added: setup_sdk("10.6", "10.6",["i386"]) and changed the SDK to "MacOSX10.6.sdk". And added: moduleset = "http://github.com/jralls/gtk-osx-build/raw/master/modulesets-stable/gtk-osx.modules" per the instructions. I also added "setup_debug()" since I planned on debugging. --------------------------------------------------------------------------------------------------------------------------- "jhbuild build" gave me this: jhbuild build: failed to parse /Users/john/GTK-OSX/gtk-osx-build/modulesets-stable/gtk-osx.modules: (2, 'No such file or directory') I contacted John directly and he told me where that reference was. So I worked around it by using a local copy of the repo (/Users/gnucash2/gnucash-on-os) that I modified to replace the path. In ".jhbuildrc-custom" I replaced: moduleset = "http://github.com/jralls/gnucash-on-osx/raw/master/modulesets/gnucash.modules" with moduleset = "/Users/gnucash2/gnucash-on-osx/modulesets/gnucash.modules" In "gnucash.modules", I replaced: <include href="/Users/john/GTK-OSX/gtk-osx-build/modulesets-stable/gtk-osx.modules"/> with <include href="/Users/gnucash2/gtk-osx-build/modulesets-stable/gtk-osx.modules"/> ("gnucash2" being the account I created to work on GnuCash.) And I left the rev alone: <branch module="gnucash" revision="20418" repo="svn.gnucash.org"> --------------------------------------------------------------------------------------------------------------------------- "jhbuild build" gave me this: jhbuild build: failed to parse /Users/gnucash2/gnucash-on-osx/modulesets/finance-quote.modules: (2, 'No such file or directory') In "gnucash.modules" I removed: <include href="finance-quote.modules"/> But that makes for an incomplete install so I'd like to figure that out. --------------------------------------------------------------------------------------------------------------------------- "jhbuild build" gave me this: *** Error during phase build of gnutls: ########## Error running make *** [30/67] In "/Users/gnucash2/gtk/source/gnutls-2.10.4/src/serv.c": There is an issues with how the macro: #define tmp2 &http_buffer[strlen(http_buffer)], len-strlen(http_buffer) is expanded. Reference: http://comments.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/4825 http://jira.freeswitch.org/browse/FS-3136?page=com.atlassian.jirafisheyeplugin%3Afisheye-issuepanel So I modified "serv.c" as the references suggested. --------------------------------------------------------------------------------------------------------------------------- "jhbuild build" gave me this: *** Error during phase build of WebKit: ########## Error running make *** [59/67] CXXLD libwebkit-1.0.la CXX JavaScriptCore/Programs_jsc-jsc.o CXXLD Programs/jsc Undefined symbols: "_ctiOpThrowNotCaught", referenced from: _ctiOpThrowNotCaught$non_lazy_ptr in libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o) (maybe you meant: _ctiOpThrowNotCaught$non_lazy_ptr) "_ctiTrampoline", referenced from: JSC::Interpreter::execute(JSC::CallFrameClosure&, JSC::JSValue*) in libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o) JSC::Interpreter::execute(JSC::FunctionExecutable*, JSC::ExecState*, JSC::JSFunction*, JSC::JSObject*, JSC::ArgList const&, JSC::ScopeChainNode*, JSC::JSValue*)in libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o) JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::ScopeChainNode*, JSC::JSObject*, JSC::JSValue*)in libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o) JSC::Interpreter::execute(JSC::EvalExecutable*, JSC::ExecState*, JSC::JSObject*, int, JSC::ScopeChainNode*, JSC::JSValue*)in libJavaScriptCore.a(libJavaScriptCore_la-Interpreter.o) "_ctiVMThrowTrampoline", referenced from: _ctiVMThrowTrampoline$non_lazy_ptr in libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o) _ctiVMThrowTrampoline$non_lazy_ptr in libJavaScriptCore.a(libJavaScriptCore_la-JITOpcodes.o) (maybe you meant: _ctiVMThrowTrampoline$non_lazy_ptr) ld: symbol(s) not found Looks like the culprit is: /Users/gnucash2/gtk/source/webkit-1.1.15.4/JavaScriptCore/jit/JITStubs.cpp But it didn't make sense since I had done a build on the old account that got through this build. (But I had not added "setup_debug()" to ".jhbuildrc-custom" on my previous attempts. Keep reading.) Did a diff on the previous attempt folder and this new attempt and found that it looked like some debug flags were getting set up now. I removed "setup_debug()" and tried to rerun this phase. That didn't work, same error. So I guessed that the debug was messing with something else that was built so I manually cleaning out the "gtk" build area and "gnucash-stable" and restarted from "jhbuild bootstrap". This got me through this module on the complete rebuild. --------------------------------------------------------------------------------------------------------------------------- "jhbuild build" gave me this: (Forgot to cut and paste exact text...) Ugh. rpm5.org site is now down. Copied the pkg from my previous attempt and unarchived. --------------------------------------------------------------------------------------------------------------------------- "jhbuild build" gave me this: *** Error during phase build of guile: ########## Error running make *** [60/67] Didn't find much help on the web. Looking at the code, it looks like it was specific to "vi" so I made a decision... In "/Users/gnucash2/gtk/source/guile-1.8.8/guile-readline/readline.c" I replaced: if (strncmp (rl_get_keymap_name (rl_get_keymap ()), "vi", 2)) with if (0) --------------------------------------------------------------------------------------------------------------------------- "jhbuild build" gave me this: *** success *** [67/67] --------------------------------------------------------------------------------------------------------------------------- Per the instructions, entered: "/Users/gnucash2/gnucash-stable/bin/gnucash" Which brought me to the dialogs about not being set up which I expected. After accepting the deafult values and "Apply" I got: Failed to execute child process "gconftool-2" (No such file or directory) Here is the console output: This is a development version. It may or may not work. Report bugs and other problems to gnucash-devel@gnucash.org. You can also lookup and file bug reports at http://bugzilla.gnome.org The last stable version was GnuCash 2.4.0 The next stable version will be GnuCash 2.6 Failed to load key /apps/gnucash/general/show_splash_screen: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/account_separator: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/auto_decimal_point: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/auto_decimal_places: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/date_format: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/date_completion: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/date_backmonths: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to save key /apps/gnucash/general/date_completion: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to save key /apps/gnucash/general/date_backmonths: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to add history section to watched directories in gconf: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to add history section to watched directories in gconf: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/toolbar_style: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /desktop/gnome/interface/toolbar_style: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/general/tab_position: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. )Failed to load key /apps/gnucash/dialogs/tip_of_the_day/show_at_startup: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: /Users/gnucash2/gnucash-stable/bin/dbus-launch terminated abnormally with the following error: Autolaunch requested, but X11 support not compiled in. Cannot continue. --------------------------------------------------------------------------------------------------------------------------- I wasn't going to try to bundle it until I got past this point. _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel