Inkscape0.47pre3 does not compile

Bug #437642 reported by theAdib
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Critical
theAdib

Bug Description

on win32 using the zip package I get following error:
    cc : compile of build/obj/file.o required by source: src/file.cpp
============ cmd ============
mingw32-g++ -c -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-
align -Wsign-compare -Woverloaded-virtual -Wswitch -O2 -mms-bitfields -fopenmp -
DVERSION=\"0.47pre3\" -DHAVE_CONFIG_H -D_INTL_REDIRECT_INLINE -DHAVE_SSL -DRELAY
TOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused
)) libssl_symbol_is_present(char *s){ return 1; }" -DPOPPLER_NEW_GFXFONT -I. -Ic
:/devlibs/include -Ic:/devlibs/include/gtkmm-2.4 -Ic:/devlibs/lib/gtkmm-2.4/incl
ude -Ic:/devlibs/include/glibmm-2.4 -Ic:/devlibs/lib/glibmm-2.4/include -Ic:/de
vlibs/include/glib-2.0 -Ic:/devlibs/lib/glib-2.0/include -mms-bitfields -Ic:/dev
libs/include/sigc++-2.0 -Ic:/devlibs/lib/sigc++-2.0/include -Ic:/devlibs/include
/gdkmm-2.4 -Ic:/devlibs/lib/gdkmm-2.4/include -Ic:/devlibs/include/pangomm-1.4 -
Ic:/devlibs/include/pango-1.0 -Ic:/devlibs/include/pango-1.0 -Ic:/devlibs/includ
e/cairo -Ic:/devlibs/include/gtk-2.0 -Ic:/devlibs/lib/gtk-2.0/include -Ic:/devli
bs/include/gtk-2.0 -Ic:/devlibs/include/pango-1.0 -Ic:/devlibs/include/cairomm-1
.0 -Ic:/devlibs/include/atkmm-1.6 -Ic:/devlibs/include/atk-1.0 -Ic:/devlibs/inc
lude/gtk-2.0 -mms-bitfields -Ic:/devlibs/include/gtk-2.0 -Ic:/devlibs/lib/gtk-2.
0/include -Ic:/devlibs/include/libxml2 -Ic:/devlibs/include/freetype2 -Ic:/devli
bs/include -Ic:/devlibs/include/cairo -Ic:/devlibs/include/poppler -Ic:/devlibs/
include/gc -Ic:/devlibs/include/libwpg-0.1 -Ic:/devlibs/include/libwpd-0.8 -Ic:/
devlibs/include/libwpg-0.1 -Ic:/devlibs/include/libwpd-0.8 -Icxxtest -Ic:/devlib
s/python/include -Isrc/bind/javainc -Isrc/bind/javainc/win32 -Isrc -Isrc/2geom
 -Isrc/2geom/numeric -Isrc/application -Isrc/bind -Isrc/debug -Isrc/dialogs -Isr
c/display -Isrc/dom -Isrc/dom/io -Isrc/dom/odf -Isrc/dom/util -Isrc/extension -I
src/extension/implementation -Isrc/extension/internal -Isrc/extension/internal/b
itmap -Isrc/extension/internal/filter -Isrc/extension/internal/pdfinput -Isrc/ex
tension/script -Isrc/filters -Isrc/graphlayout -Isrc/helper -Isrc/inkjar -Isrc/i
o -Isrc/libavoid -Isrc/libcola -Isrc/libcroco -Isrc/libgdl -Isrc/libnr -Isrc/lib
nrtype -Isrc/libvpsc -Isrc/libvpsc/pairingheap -Isrc/livarot -Isrc/live_effects
-Isrc/live_effects/parameter -Isrc/removeoverlap -Isrc/svg -Isrc/trace -Isrc/tra
ce/potrace -Isrc/ui -Isrc/ui/cache -Isrc/ui/dialog -Isrc/ui/view -Isrc/ui/widget
 -Isrc/util -Isrc/widgets -Isrc/xml src/file.cpp -o build/obj/file.o
=============================
Make error line 291: problem compiling: src/file.cpp:72:47: error: jabber_whiteb
oard/session-manager.h: No such file or directory

Tags: build win32
theAdib (theadib)
Changed in inkscape:
importance: Undecided → Critical
milestone: none → 0.47
tags: added: build
Revision history for this message
ScislaC (scislac) wrote : Re: [Bug 437642] [NEW] Inkscape0.47pre3 does not compile

Given that the whiteboard was removed, that seems incredibly strange...

On Sun, 2009-09-27 at 13:12 +0000, theAdib wrote:
> Public bug reported:
>
> on win32 using the zip package I get following error:
> cc : compile of build/obj/file.o required by source: src/file.cpp
> ============ cmd ============
> mingw32-g++ -c -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-
> align -Wsign-compare -Woverloaded-virtual -Wswitch -O2 -mms-bitfields -fopenmp -
> DVERSION=\"0.47pre3\" -DHAVE_CONFIG_H -D_INTL_REDIRECT_INLINE -DHAVE_SSL -DRELAY
> TOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unused
> )) libssl_symbol_is_present(char *s){ return 1; }" -DPOPPLER_NEW_GFXFONT -I. -Ic
> :/devlibs/include -Ic:/devlibs/include/gtkmm-2.4 -Ic:/devlibs/lib/gtkmm-2.4/incl
> ude -Ic:/devlibs/include/glibmm-2.4 -Ic:/devlibs/lib/glibmm-2.4/include -Ic:/de
> vlibs/include/glib-2.0 -Ic:/devlibs/lib/glib-2.0/include -mms-bitfields -Ic:/dev
> libs/include/sigc++-2.0 -Ic:/devlibs/lib/sigc++-2.0/include -Ic:/devlibs/include
> /gdkmm-2.4 -Ic:/devlibs/lib/gdkmm-2.4/include -Ic:/devlibs/include/pangomm-1.4 -
> Ic:/devlibs/include/pango-1.0 -Ic:/devlibs/include/pango-1.0 -Ic:/devlibs/includ
> e/cairo -Ic:/devlibs/include/gtk-2.0 -Ic:/devlibs/lib/gtk-2.0/include -Ic:/devli
> bs/include/gtk-2.0 -Ic:/devlibs/include/pango-1.0 -Ic:/devlibs/include/cairomm-1
> .0 -Ic:/devlibs/include/atkmm-1.6 -Ic:/devlibs/include/atk-1.0 -Ic:/devlibs/inc
> lude/gtk-2.0 -mms-bitfields -Ic:/devlibs/include/gtk-2.0 -Ic:/devlibs/lib/gtk-2.
> 0/include -Ic:/devlibs/include/libxml2 -Ic:/devlibs/include/freetype2 -Ic:/devli
> bs/include -Ic:/devlibs/include/cairo -Ic:/devlibs/include/poppler -Ic:/devlibs/
> include/gc -Ic:/devlibs/include/libwpg-0.1 -Ic:/devlibs/include/libwpd-0.8 -Ic:/
> devlibs/include/libwpg-0.1 -Ic:/devlibs/include/libwpd-0.8 -Icxxtest -Ic:/devlib
> s/python/include -Isrc/bind/javainc -Isrc/bind/javainc/win32 -Isrc -Isrc/2geom
> -Isrc/2geom/numeric -Isrc/application -Isrc/bind -Isrc/debug -Isrc/dialogs -Isr
> c/display -Isrc/dom -Isrc/dom/io -Isrc/dom/odf -Isrc/dom/util -Isrc/extension -I
> src/extension/implementation -Isrc/extension/internal -Isrc/extension/internal/b
> itmap -Isrc/extension/internal/filter -Isrc/extension/internal/pdfinput -Isrc/ex
> tension/script -Isrc/filters -Isrc/graphlayout -Isrc/helper -Isrc/inkjar -Isrc/i
> o -Isrc/libavoid -Isrc/libcola -Isrc/libcroco -Isrc/libgdl -Isrc/libnr -Isrc/lib
> nrtype -Isrc/libvpsc -Isrc/libvpsc/pairingheap -Isrc/livarot -Isrc/live_effects
> -Isrc/live_effects/parameter -Isrc/removeoverlap -Isrc/svg -Isrc/trace -Isrc/tra
> ce/potrace -Isrc/ui -Isrc/ui/cache -Isrc/ui/dialog -Isrc/ui/view -Isrc/ui/widget
> -Isrc/util -Isrc/widgets -Isrc/xml src/file.cpp -o build/obj/file.o
> =============================
> Make error line 291: problem compiling: src/file.cpp:72:47: error: jabber_whiteb
> oard/session-manager.h: No such file or directory
>
> ** Affects: inkscape
> Importance: Critical
> Status: New
>
> ** Changed in: inkscape
> Importance: Undecided => Critical
>
> ** Changed in: inkscape
> Milestone: None => 0.47
>

Revision history for this message
ScislaC (scislac) wrote :

I just commented out the offending ifdef in file.cpp while working on disabling the ocal-export dialog.

Either way, the configure flag should not have been allowed though to begin with... so this is incredibly strange. When I am done compiling I will commit.

Revision history for this message
theAdib (theadib) wrote :

as win32 uses different buildsystem we have to adjust an other file.

Attached patch does this. works on my win32 box. And now compiles fine.

Changed in inkscape:
status: New → In Progress
assignee: nobody → theAdib (theadib)
theAdib (theadib)
tags: added: win32
Revision history for this message
theAdib (theadib) wrote :

notices an other packaging error: the file packagin/win32/simpchinese.nsh is missing from the archive.

attched patch adds the file to the distrib section in Makefile.am

Pls. also commit this.

Revision history for this message
ScislaC (scislac) wrote :

Thanks Adib! Second one committed, first one updated and committed.

Changed in inkscape:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.