Problem installing inkscape on Slackware 14.2
Hello, I'm trying to install Inkscape using the SlackBuilds script. I've installed the dependencies requested but I got two errors: the first one because it needs libpng14.la, not present in Slackware, so I made a symlink
Code:
ln -s /usr/lib64/libpng16.la /usr/lib64/libpng14.la I'm stuck with the second error: Code:
/usr/lib64/libgtkmm-2.4.so: undefined reference to `sigc::slot_base::operator=(sigc::slot_base&&)' Thanks |
It may not be inkscape itself that needs libpng14.la, rather some other software on which inkscape depends. Try running:
Code:
ldd /usr/bin/inkscape | grep png Using a fully loaded & clean VM is probably a better way to build inkscape if your system is incomplete or has lots of other softwares installed already. chris |
Thank you for your quick reply. I think ldd will be useful to diagnose the problem once I will succeed installing Inkscape. At the moment I failed to build the package ... actually png is a minor issue since, somehow, I managed to overcome it. The big problem is libgtkmm error.
|
Sorry for the misunderstanding - I thought you had already installed and were experiencing a runtime error.
For building then, although you think you have "fixed" the png problem, you may also wonder why that is necessary in your case and no others (I just rebuilt inkscape here to check - no problems). You could also wonder if "fixing" the png problem in the way that you have is contributing to your second problem with libgtkmm. Sometimes, the ability to build correctly may be compromised if your system is incomplete or you if have some software installed from strange repos or if you're been experimenting with updated versions of some Slackware packages. Any doubts about that sort of thing can be overcome by building in a clean VM. chris |
You need to rebuild w/e dependency inkscape is using that is linked against libpng14 instead of libpng16 found in 14.2 and current.
If you run this script it should ldd your system and print the 'not found' messages which would include what programs should be recompiled. It may take some time to complete. https://notabug.org/orbea/SlackBuild...ipts/brokenpkg |
I haven't got it running to check, but I think Inkscape as a binary is in the Salix repository.
|
In case you'd like to try it I have also a binary package here (64-bit) for Inkscape 0.92.2:
http://slackware.uk/slint/x86_64/slint-testing/slint/ It includes all features, thus needs these dependencies: libcdr BeautifulSoup numpy python-lxml potrace All available in the same repository. You can check the configuration summary below. ------------------------------------------------------------------------ Configuration Summary ------------------------------------------------------------------------ PROJECT_NAME: inkscape INKSCAPE_VERSION: 0.92.2 INKSCAPE_DIST_PREFIX: inkscape-0.92.2 CMAKE_BINARY_DIR: (specific to the build host - Didier) CMAKE_INSTALL_PREFIX: /usr PACKAGE_LOCALE_DIR /usr/share/locale CMAKE_SYSTEM_NAME: Linux CMAKE_SYSTEM_VERSION: 4.4.75 CMAKE_SYSTEM_PROCESSOR: x86_64 CMAKE_C_COMPILER: /usr/bin/cc CMAKE_CXX_COMPILER: /usr/bin/c++ CMAKE_BUILD_TYPE: Release ENABLE_LCMS: ON ENABLE_POPPLER: ON ENABLE_POPPLER_CAIRO: ON GMOCK_PRESENT: ON WITH_DBUS: OFF WITH_GNOME_VFS: OFF WITH_GTK3_EXPERIMENTAL: OFF WITH_GTKSPELL: 1 WITH_IMAGE_MAGICK: ON WITH_LIBCDR: ON WITH_LIBVISIO: ON WITH_LIBWPG: ON WITH_NLS: ON WITH_OPENMP: ON WITH_PROFILING: OFF ------------------------------------------------------------------------ |
Thank you all for your valuable help.
Was right chris.willing saying that the symbolic link I created could cause some problem, actually I noticed the make process went much further ahead without that workaround, but stopped because a missing libpng14.la. Very useful the ldd script from orbea that showed a bit of mess on my system, there were many missed library especially related to some dvd authoring tools. I removed those packages and their dependencies but still unable to build Inkscape. Even the binary package provided by Didier Spaier didn’t run for an incomprehensible runtime error. At the end I decided to uninstall and rebuild all the SBo packages, but realized that some of them were not longer present in the repository. So, what happened? Well, my system is quite old, probably 14.0, upgraded to 14.1, upgraded to 14.2. Some old SBo packages were included in the Slackware core but not replaced during the upgrade process so, after uninstalling them a “slackpkg install-new” completed the job. Then guess what? Inkscape built flawlessly. I’m really grateful to this forum, I would not have thought of that on my own. |
All times are GMT -5. The time now is 02:59 PM. |