[Slackbuilds-users] Unable to build gnumeric

Niels Horn niels.horn at gmail.com
Tue Jul 12 13:33:25 UTC 2011


On Sun, Jul 10, 2011 at 4:48 PM, DEFRANCE CLARKE <defrance at usa.net> wrote:
> 1. I am getting the following error from gnumeric.SlackBuild:
>
> ../../../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../..
> -DGNOMELOCALEDIR=\""/us
> r/share/locale"\" -I../../.. -I../../../src -I../../../src/dialogs
> -I../../../sr
> c/tools -I../../../src/tools/solver -I../../../src/tools/solver/glpk/include
> -DG
> NUMERIC_INTERNAL -pthread -DORBIT2=1 -I/usr/include/libgoffice-0.8
> -I/usr/includ
> e/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1
> -I/usr/include/li
> bxml2 -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/us
> r/include/gconf/2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/inclu
> de/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/includ
> e/libpng14 -I/usr/include/orbit-2.0 -I/usr/include/libglade-2.0
> -DG_DISABLE_
> DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
> -DGDK_DISA
> BLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED
> -DLIBGLADE_DISABLE_DEPRECATED -Wall -Wmissing-prototypes  -Wsign-compare
> -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings
> -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
> -Wno-pointer-sign -MT solver.lo -MD -MP -MF .deps/solver.Tpo -c -o solver.lo
> solver.c
> In file included from solver.c:45:0:
> ../../../src/xml-io.h:22:2: error: expected specifier-qualifier-list before
> 'IOContext'
> solver.c: In function 'solver_run':
> solver.c:732:2: warning: #warning what is the equivalent of times for win32
> make[6]: *** [solver.lo] Error 1
> make[6]: Leaving directory `/tmp/SBo/gnumeric-1.9.1/src/tools/solver'
> make[5]: *** [all-recursive] Error 1
>
> 2. Before that I had an error about a missing goffice/graph/gog-style.h file.
>  a. I found a mention of that problem and a solution for the gnucash build.
>  b. I hacked the patch for gnucash and created the file:
>   /usr/include/libgoffice-0.8/goffice/graph/gog-style.h
>  c. The file I created looks like this:
>
> /* /usr/include/libgoffice-0.8/goffice/graph/gog-style.h - replacement
>   10Jul11 - from gnucash patch */
>
> # include <goffice/utils/go-style.h>
> # include <goffice/utils/go-styled-object.h>
>
> 3. Prerequisite files:
>  a. slackpkg install GConf ORBit2
>  b. ./goffice.SlackBuild
>  c. installpkg /tmp/goffice-0.8.14-i486-1_SBo.tgz
>
> 4. This is a nearly new installation of 13.37 with most packages installed
> from a ap d f l n x xap.
>
> 5. Output from df:
> Filesystem          1K-blocks    Used Available Use% Mounted on
> /dev/root              771044  301904    469140  40% /
> /dev/sdb5              256948   79960    176988  32% /var
> /dev/sdb6              514028  155408    358620  31% /home
> /dev/sdb8             1028060  209752    818308  21% /tmp
> /dev/sdb9             9253088 3839072   5414016  42% /usr
> /dev/sdb10           10482376 6063680   4418696  58% /dos/J
> /dev/sdb2               64116   35278     28838  56% /dos/D
> /dev/sdb3             1027888  751648    276240  74% /dos/eXtra
> tmpfs                  251124       0    251124   0% /dev/shm
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>

I built gnumeric just a few days ago on a clean 13.37 system without problems.

Do you use -current?
Multilib?

--
Niels


More information about the SlackBuilds-users mailing list