Difference between revisions of "CompilingSlackware"

From Inkscape Wiki
Jump to navigation Jump to search
(Categorization)
Line 64: Line 64:


Lazzaro
Lazzaro
----
Has anyone experiences compiling Inkscape 0.44 with the upcoming Slackware11? I have successfully compiled gc, libsigc++, glibmm, gtkmm, but Inkscape fails:
ui/widget/libuiwidget.a(page-sizer.o)(.text+0x10fe): In function `Inkscape::UI::Widget::PageSizer::setDim(double, double, bool)':
ui/widget/page-sizer.cpp:284: undefined reference to `Gtk::OptionMenu::set_history(unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [inkscape] Error 1
make[2]: Leaving directory `/tmp/inkscape-0.44/src'
I have removed all old inkscape packages and updated ldconfig and everything, but nothing helped. I could image it is related to the removed GNOME packages from Slackware like gconf, gnome-vfs, etc? How do I know which package I need now exactly that I can compile it again? ./configure didn't showed a warning or error that could help me.


[[Category:Developer Documentation]]
[[Category:Developer Documentation]]

Revision as of 10:49, 4 August 2006

Slackware 10

Had a problem with the configure script of inkscape not finding my installed libsigc++ setting the system variable as follows did the trick:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

where the config file sigc++-1.2.pc was installed in /usr/local/lib/pkgconfig/sigc++-1.2.pc which if found using: locate sigc++ |grep pc

--Luke Munholand

[pbhj: I had to upgrade to libsigc++-2.0.3 (available at linuxpackages, eg via swaret, to compile inkscape-0.40]




Hi,

I have not found difficulty in compiling inkscape (cvs-snap 20041114-2240) on slackware 10, simply I have installed before the required libs in order to satisfy the dependencies in this way:

download, build and install libs:

http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3.tar.gz [pbhj: note that linuxpackages has this as gc-6.3.tgz, I installed with "swaret --install gc-6"]

./configure --enable-cplusplus --prefix=/usr

make

make install

http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.4/glibmm-2.4.5.tar.bz2

./configure --prefix=/usr

make

make install

http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/gtkmm-2.4.7.tar.bz2

./configure --prefix=/usr

make

make install


and finally:

http://www.inkscape.org/cvs-snap/inkscape-current.tar.bz2 (inkscape-20041114-2240/)

./configure --prefix=/usr

make

make install

it work fine


Lazzaro



Has anyone experiences compiling Inkscape 0.44 with the upcoming Slackware11? I have successfully compiled gc, libsigc++, glibmm, gtkmm, but Inkscape fails:

ui/widget/libuiwidget.a(page-sizer.o)(.text+0x10fe): In function `Inkscape::UI::Widget::PageSizer::setDim(double, double, bool)':
ui/widget/page-sizer.cpp:284: undefined reference to `Gtk::OptionMenu::set_history(unsigned int)'
collect2: ld returned 1 exit status
make[2]: *** [inkscape] Error 1
make[2]: Leaving directory `/tmp/inkscape-0.44/src'

I have removed all old inkscape packages and updated ldconfig and everything, but nothing helped. I could image it is related to the removed GNOME packages from Slackware like gconf, gnome-vfs, etc? How do I know which package I need now exactly that I can compile it again? ./configure didn't showed a warning or error that could help me.