Source directory restructuring complete
Robert Fewell
14ubobit at gmail.com
Thu Aug 17 07:12:34 EDT 2017
Just built with the new structure and I see the following in the trace
file...
* 12:03:29 WARN <gnc.module> Could not locate module
gnucash/plugins/bi_import interface v.0
* 12:03:29 CRIT <gnc.gui.search> gnc_search_core_register_type: assertion
'typeTable' failed
The first one was easy, I had a config.user file with the load comand for
bi_import, removed it and that one cleared, I assume that is not required
any more.
The second comes from gnucash/gnome/top-level.c line 383 trying to register
gnc_search_owner_new
Just wondering if other people see this or just local to me ?
Bob
On 17 August 2017 at 09:06, Geert Janssens <geert.gnucash at kobaltwit.be>
wrote:
> On donderdag 17 augustus 2017 10:02:02 CEST John Ralls wrote:
> > Nope, the problem is at
> > https://github.com/Gnucash/gnucash/blob/master/
> libgnucash/engine/qof-backen
> > d.cpp#L141:
> > <https://github.com/Gnucash/gnucash/blob/master/
> libgnucash/engine/qof-backe
> > nd.cpp#L141:> /* Darwin modules can have either .so or .dylib for a
> suffix
> > */
> > if (!g_file_test (fullpath, G_FILE_TEST_EXISTS) &&
> > g_strcmp0 (G_MODULE_SUFFIX, "so") == 0)
> > {
> > auto modname = g_strdup_printf ("lib%s.dylib", module_name);
> > g_free (fullpath);
> > fullpath = g_build_filename (directory, modname, NULL);
> > g_free (modname);
> > }
> > auto backend = g_module_open (fullpath, G_MODULE_BIND_LAZY);
> >
> > follpath was "dbi/libgncmod-backend-dbi.dylib which exists only in an
> > autotools build and only before installation. Having directory="gnucash"
> is
> > correct after installation and always in a Cmake build. This will
> probably
> > break tests on an autotools build on Macs. I may decide I don't care and
> > that only CMake is supported there.
>
> Ah, I missed that. So the solution is simple IMO: fix the second creation
> of
> fullpath. Have it use absdir instead of directory. Of course that means
> absdir
> can only be freed after the Darwin test. I'll add push a change for you to
> test in a minute.
>
> Geert
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
More information about the gnucash-devel
mailing list