Hi!
I have downloaded this source snapshot: http://inkscape.modevia.com/svn-snap/inkscape-20060516-0400.tar.bz2
I have debian sid, what I did: tar -xjvf inkscape-20060516-0400.tar.bz2 cd inkscape-20060516-0400 cat debian/control |grep -i build # install all the dependencies chmod +x debian/rules dpkg-buildpackage -rfakeroot -uc -b
It fails with the following compile error: if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/freetype2 -DPOTRACE="potrace" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I../../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT dialogs/layer-properties.o -MD -MP -MF "dialogs/.deps/layer-properties.Tpo" \ -c -o dialogs/layer-properties.o `test -f 'dialogs/layer-properties.cpp' || echo '../../src/'`dialogs/layer-properties.cpp; \ then mv -f "dialogs/.deps/layer-properties.Tpo" "dialogs/.deps/layer-properties.Po"; \ else rm -f "dialogs/.deps/layer-properties.Tpo"; exit 1; \ fi /usr/include/gtkmm-2.4/gtkmm/treeview.h: In member function 'int Gtk::TreeView::append_column_editable(const Glib::ustring&, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1424: warning: statement has no effect /usr/include/gtkmm-2.4/gtkmm/treeview.h: In function 'void Gtk::TreeView_Private::_connect_auto_store_editable_signal_handler(Gtk::TreeView*, Gtk::CellRenderer*, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1681: warning: statement has no effect if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/freetype2 -DPOTRACE="potrace" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I../../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT dialogs/layers-panel.o -MD -MP -MF "dialogs/.deps/layers-panel.Tpo" \ -c -o dialogs/layers-panel.o `test -f 'dialogs/layers-panel.cpp' || echo '../../src/'`dialogs/layers-panel.cpp; \ then mv -f "dialogs/.deps/layers-panel.Tpo" "dialogs/.deps/layers-panel.Po"; \ else rm -f "dialogs/.deps/layers-panel.Tpo"; exit 1; \ fi ../../src/dialogs/layers-panel.cpp:27:30: error: src/widgets/icon.h: No such file or directory /usr/include/gtkmm-2.4/gtkmm/treeview.h: In member function 'int Gtk::TreeView::append_column_editable(const Glib::ustring&, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1424: warning: statement has no effect /usr/include/gtkmm-2.4/gtkmm/treeview.h: In function 'void Gtk::TreeView_Private::_connect_auto_store_editable_signal_handler(Gtk::TreeView*, Gtk::CellRenderer*, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1681: warning: statement has no effect ../../src/dialogs/layers-panel.cpp: In member function 'void Inkscape::UI::Dialogs::LayersPanel::_styleButton(Gtk::Button&, SPDesktop*, unsigned int, const char*)': ../../src/dialogs/layers-panel.cpp:70: error: 'sp_icon_new' was not declared in this scope make[3]: *** [dialogs/layers-panel.o] Error 1 make[3]: Leaving directory `/home/lama/Desktop/down/inkscape-20060516-0400/builddir/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/lama/Desktop/down/inkscape-20060516-0400/builddir' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/lama/Desktop/down/inkscape-20060516-0400/builddir' make: *** [build] Error 2
Can somebody help me what is wrong? For the record the simple ./configure && make success, without error. What information should I provide for further help?
Best regards, Khiraly
On Tue, May 16, 2006 at 02:51:44PM +0200, Khiraly wrote:
Hi!
I have downloaded this source snapshot: http://inkscape.modevia.com/svn-snap/inkscape-20060516-0400.tar.bz2
I have debian sid, what I did: tar -xjvf inkscape-20060516-0400.tar.bz2 cd inkscape-20060516-0400 cat debian/control |grep -i build # install all the dependencies chmod +x debian/rules dpkg-buildpackage -rfakeroot -uc -b
It fails with the following compile error: if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/freetype2 -DPOTRACE="potrace" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I../../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT dialogs/layer-properties.o -MD -MP -MF "dialogs/.deps/layer-properties.Tpo" \ -c -o dialogs/layer-properties.o `test -f 'dialogs/layer-properties.cpp' || echo '../../src/'`dialogs/layer-properties.cpp; \ then mv -f "dialogs/.deps/layer-properties.Tpo" "dialogs/.deps/layer-properties.Po"; \ else rm -f "dialogs/.deps/layer-properties.Tpo"; exit 1; \ fi /usr/include/gtkmm-2.4/gtkmm/treeview.h: In member function 'int Gtk::TreeView::append_column_editable(const Glib::ustring&, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1424: warning: statement has no effect /usr/include/gtkmm-2.4/gtkmm/treeview.h: In function 'void Gtk::TreeView_Private::_connect_auto_store_editable_signal_handler(Gtk::TreeView*, Gtk::CellRenderer*, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1681: warning: statement has no effect if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/freetype2 -DPOTRACE="potrace" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I../../cxxtest -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT dialogs/layers-panel.o -MD -MP -MF "dialogs/.deps/layers-panel.Tpo" \ -c -o dialogs/layers-panel.o `test -f 'dialogs/layers-panel.cpp' || echo '../../src/'`dialogs/layers-panel.cpp; \ then mv -f "dialogs/.deps/layers-panel.Tpo" "dialogs/.deps/layers-panel.Po"; \ else rm -f "dialogs/.deps/layers-panel.Tpo"; exit 1; \ fi ../../src/dialogs/layers-panel.cpp:27:30: error: src/widgets/icon.h: No such file or directory /usr/include/gtkmm-2.4/gtkmm/treeview.h: In member function 'int Gtk::TreeView::append_column_editable(const Glib::ustring&, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1424: warning: statement has no effect /usr/include/gtkmm-2.4/gtkmm/treeview.h: In function 'void Gtk::TreeView_Private::_connect_auto_store_editable_signal_handler(Gtk::TreeView*, Gtk::CellRenderer*, const Gtk::TreeModelColumn<ColumnType>&)': /usr/include/gtkmm-2.4/gtkmm/treeview.h:1681: warning: statement has no effect ../../src/dialogs/layers-panel.cpp: In member function 'void Inkscape::UI::Dialogs::LayersPanel::_styleButton(Gtk::Button&, SPDesktop*, unsigned int, const char*)': ../../src/dialogs/layers-panel.cpp:70: error: 'sp_icon_new' was not declared in this scope make[3]: *** [dialogs/layers-panel.o] Error 1 make[3]: Leaving directory `/home/lama/Desktop/down/inkscape-20060516-0400/builddir/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/lama/Desktop/down/inkscape-20060516-0400/builddir' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/lama/Desktop/down/inkscape-20060516-0400/builddir' make: *** [build] Error 2
Can somebody help me what is wrong? For the record the simple ./configure && make success, without error. What information should I provide for further help?
This layers dialog is currently under very heavy development, so it is likely this is just a routine development issue; you've provided exactly the information needed. It's likely the developers have already found and fixed this issue, so I would recommend trying the latest snapshot; this issue should be gone -- if not, report again.
Oh, one other thing that is sometimes useful with this class of issue is the version of gcc, gtkmm, and libsigc++ installed on your system.
Bryce
../../src/dialogs/layers-panel.cpp:70: error: 'sp_icon_new' was not declared in this scope
Can somebody help me what is wrong? For the record the simple ./configure && make success, without error. What information should I provide for further help?
are you building in the source directory or elsewhere ? that's the same problem I had this afternoon... when I sent a patch to the list.
I think it'll solve your problem
mtou
Index: src/dialogs/layers-panel.cpp =================================================================== --- src/dialogs/layers-panel.cpp (r��vision 11806) +++ src/dialogs/layers-panel.cpp (copie de travail) @@ -24,7 +24,7 @@ #include "desktop.h" #include "sp-object.h" #include "sp-item.h" -#include "src/widgets/icon.h" +#include "widgets/icon.h" #include <gtkmm/widget.h>
//#define DUMP_LAYERS 1
2006. 05. 16, kedd keltezéssel 10.09-kor Bryce Harrington ezt írta:
This layers dialog is currently under very heavy development, so it is likely this is just a routine development issue; you've provided exactly the information needed. It's likely the developers have already found and fixed this issue, so I would recommend trying the latest snapshot; this issue should be gone -- if not, report again.
Thanks for the quick reponse Bryce, Mathieu, Micheal. I have downloaded the newest available snapshot tarball: http://inkscape.modevia.com/svn-snap/inkscape-20060517-0200.tar.bz2
I have tried to rebuild from source, and now it is builded correctly! Its really great! I have found a bug, but I will write in a following message, because it dependson an idea.
Thank you very much!
I used exactly the same steps, what I have written in my previous mail. (maybe the debian/ directory is not really up-to-date?)
Oh, one other thing that is sometimes useful with this class of issue is the version of gcc, gtkmm, and libsigc++ installed on your system.
ii gcc 4.0.3-3 ii gcc-3.3-base 3.3.6-13 ii gcc-3.4 3.4.6-1 ii gcc-3.4-base 3.4.6-1 ii gcc-4.0 4.0.3-2 ii gcc-4.0-base 4.0.3-2 ii gcc-4.0-locales 4.0.3-2 ii gcc-4.1 4.1.0-1+b1 ii gcc-4.1-base 4.1.0-1+b1 ii libgcc1 4.1.0-1+b1 ii libgtkmm-2.4-1c2a 2.6.5-1+b1 ii libgtkmm-2.4-dev 2.6.5-1+b1 ii libsigc++-1.2-5c102 1.2.5-4 ii libsigc++-2.0-0c2a 2.0.16-3 ii libsigc++-2.0-dev 2.0.16-3
gcc -v
Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2)
g++ -v
Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2)
i486-linux-gnu-g++ -v
Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2)
i486-linux-gnu-gcc -v
Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c ++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2)
cd /usr/bin; ls i486-linux-gnu*
i486-linux-gnu-cpp i486-linux-gnu-g++-4.0 i486-linux-gnu-gcc-4.1 i486-linux-gnu-cpp-3.4 i486-linux-gnu-g++-4.1 i486-linux-gnu-gcj i486-linux-gnu-cpp-4.0 i486-linux-gnu-gcc i486-linux-gnu-gcj-4.0 i486-linux-gnu-cpp-4.1 i486-linux-gnu-gcc-3.4 i486-linux-gnu-g++ i486-linux-gnu-gcc-4.0
cd /usr/bin; ls gcc*
gcc gcc-4.0 gccbug gccbug-4.0 gccmakedep gcc-3.4 gcc-4.1 gccbug-3.4 gccbug-4.1
cd /usr/bin; ls g++*
g++ g++-4.0 g++-4.1
On Tue, 16 May 2006, Khiraly wrote:
I have debian sid, what I did: tar -xjvf inkscape-20060516-0400.tar.bz2 cd inkscape-20060516-0400 cat debian/control |grep -i build # install all the dependencies chmod +x debian/rules dpkg-buildpackage -rfakeroot -uc -b
It fails with the following compile error:
../../src/dialogs/layers-panel.cpp:27:30: error: src/widgets/icon.h: No such file or directory
Mathieu Dimanche pointed out this problem in a previous message along with a trivial change to the file to fix it. The fix is in SVN.
Michael
participants (4)
-
Bryce Harrington
-
Khiraly
-
Mathieu Dimanche
-
Michael Wybrow