compiling gimp 2.1.1 snapshot on freebsd ends in tears
Lauri J Järvenpää (Lauri.Jarvenpaa@students.turkuamk.fi) wrote:
I need to get gimp 2.1.1 development snapshot to run on my freebsd system
but build fails and I cry (I'm sensitive to build fails).
[...]
all -c `test -f 'gimpitemtreeview.c' || echo './'`gimpitemtreeview.c
gimpitemtreeview.c: In function `gimp_item_tree_view_size_changed':
gimpitemtreeview.c:1226: syntax error before `preview_size'
gimpitemtreeview.c:1229: `preview_size' undeclared (first use in this
function)
gimpitemtreeview.c:1229: (Each undeclared identifier is reported only once
gimpitemtreeview.c:1229: for each function it appears in.)
gimpitemtreeview.c:1229: `border_width' undeclared (first use in this
function)
[...]
Any ideas?
I guess you are using gcc-2.95. This one is sensitive to double
semicolons in certain places. We don't always notice when they
sneak in, since gcc-3.3 happily eats them.
We fixed some of that kind of stuff in gimpitemtreeview after
gimp 2.1.1 has been released. The fix is in the current CVS.
As an alternative to the (recommended) GIMP-CVS sourcecode you can
remove the double semicolons near to the lines where the compiler
complains - or upgrade your gcc.
I hope this helps,
Simon