LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2017, 02:28 PM   #1
theCapitain
Member
 
Registered: Jul 2010
Location: Northern Italy
Distribution: Slackware, Slax
Posts: 32

Rep: Reputation: 1
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
that solved the issue.

I'm stuck with the second error:
Code:
/usr/lib64/libgtkmm-2.4.so: undefined reference to `sigc::slot_base::operator=(sigc::slot_base&&)'
collect2: error: ld returned 1 exit status
Makefile:7230: recipe for target 'inkscape' failed
make[3]: *** [inkscape] Error 1
make[3]: Leaving directory '/tmp/SBo/inkscape-0.92.1/src'
Makefile:5290: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/SBo/inkscape-0.92.1/src'
Makefile:1471: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/inkscape-0.92.1'
Makefile:1127: recipe for target 'all' failed
make: *** [all] Error 2
I don't understand. Does anyone know how to solve it?
Thanks
 
Old 08-12-2017, 06:44 PM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 385

Rep: Reputation: Disabled
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
to verify which png related things inkscape needs. If, as expected, it's only libpng16.so.16 then you'll need to look beyond inkscape to find the culprit.

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

Last edited by chris.willing; 08-13-2017 at 07:35 AM. Reason: typo
 
1 members found this post helpful.
Old 08-13-2017, 02:32 AM   #3
theCapitain
Member
 
Registered: Jul 2010
Location: Northern Italy
Distribution: Slackware, Slax
Posts: 32

Original Poster
Rep: Reputation: 1
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.
 
Old 08-13-2017, 07:54 AM   #4
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 385

Rep: Reputation: Disabled
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
 
Old 08-13-2017, 11:01 AM   #5
orbea
Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 664

Rep: Reputation: Disabled
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
 
Old 08-13-2017, 11:15 AM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,509

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
I haven't got it running to check, but I think Inkscape as a binary is in the Salix repository.
 
Old 08-13-2017, 01:04 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,558

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
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
------------------------------------------------------------------------

Last edited by Didier Spaier; 08-13-2017 at 02:44 PM.
 
Old 08-14-2017, 07:46 AM   #8
theCapitain
Member
 
Registered: Jul 2010
Location: Northern Italy
Distribution: Slackware, Slax
Posts: 32

Original Poster
Rep: Reputation: 1
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help installing inkscape from source wus34 Linux - Software 12 06-17-2012 09:49 PM
Need help installing inkscape RNanney56 Linux - Software 3 12-16-2011 08:26 AM
Installing new fonts with Inkscape PhilTR Linux - Software 0 01-11-2006 09:10 PM
installing Inkscape ZaphyR Linux - Software 22 02-15-2005 09:27 AM
Installing Inkscape (RPM?) nistelrooy Fedora 3 10-15-2004 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration