libgsf, goffice and gnucash
Neil Williams
linux at codehelp.co.uk
Sun Nov 20 05:53:24 EST 2005
On Sunday 20 November 2005 3:11 am, Josh Sled wrote:
> I've made the necessary changes on the
> svn+ssh://svn.gnucash.org/repo/gnucash/branches/goffice-update branch.
> I would appreciate some testing, especially from you Neil. One thing to
> note is that this version initializes (external) goffice correctly and
> thus will display graphs; if you use the `Sample Graphs` report you
> should see 4 graphs (pie, scatter, bar and stacked-bar). I'd also love
> some testing on OSX, as I have no idea about that scene.
OK, OSX build halted:
in lib/libgsf-1.12.3/gsf-gnome/
gsf-input-bonobo.c:In function 'gsf_input_bonobo_read':
gsf-input-bonobo.c:211: warning: int format, size_t arg (arg 5)
Installed packages on OSX:
libgsf-dev 1.10.1-1
libgsf-gnome-dev 1.10.1-1
libgsf-gnome-shlibs 1.01.1-1
libgsf-shlibs 1.10.1-1
It fails at:
} else {
g_warning ("Only read %d bytes, asked for %d",
num_read, num_bytes);
return NULL;
}
}
Making that:
g_warning ("Only read %d bytes, asked for %d",
num_read, (int)num_bytes);
allows the build to continue but that's just my quick and dirty hack!
The build continues only as far as:
go-pattern.c:150:2: #warning This result is actually an xmlChar we could run
into trouble with g_free vs xmlFree. Can we change the interface?
In
lib/goffice-0.0.4/goffice/utils/go-pattern.c
That just seems strange - what is the purpose of the syntax:
#warning
?
Commenting out line 150 appears sufficient, but I doubt it is the solution you
intended!
It appears again later:
file.c:373:2: #warning mime disabled
In lib/goffice-0.0.4/goffice/app/file.c
And: gog-graph.c:373
lib/goffice-0.0.4/goffice/graph/gog-graph.c
Each time it halts the OSX build. Should goffice be built without -Werror?
I'll start the Debian test in an hour or two.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20051120/4a513fa7/attachment.bin
More information about the gnucash-devel
mailing list