LinuxQuestions.org
Visit Jeremy's Blog.
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 06-13-2008, 08:00 AM   #1
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Some issues about building Inkscape from source


I need to use Inkscape for an specific task and since my Slackware didn't have it I decided to install it. Since I try to always compile from source I went to the Inkscape site and downloaded what they say is necessary to successfully compile (there-s a specific section called "Compiling Inkscape"). I compiled without any issues the following dependencies:

Required Dependencies
* Boehm-GC (version 6.7)
* libsigc++ (version 2.0)
* glibmm (version 2.8)
* gtkmm (version 2.8)

Extension Dependencies
* XML::Parser
* XML::XQL

After this it was supposed that I would be able to compile Inkscape, but this is the first thing I found upon ./configure:

...
checking for INKSCAPE... configure: error: Package requirements (gdkmm-2.4 glibmm-2.4 gtkmm-2.4 >= 2.10.0 gtk+-2.0 libxml-2.0 >= 2.6.11 libxslt >= 1.0.15 cairo sigc++-2.0 >= 2.0.12 gthread-2.0 >= 2.0 libpng >= 1.2) were not met:

Requested 'gtkmm-2.4 >= 2.10.0' but version of gtkmm is 2.8.12

Finally, I was able to compile everything required but with version gtkmm v2.10.10. But after that I still had to add cairomm-1.2.0. When running ./configure on the inkscape-0.46/ dir I started to get an error message saying that I didn't have the boost package. So I went to the boost site and downloaded boost_1_35_0, which I was also able to install without any issues. This is what I get when doing slocate, here I don't see any libboost-dev, but googling about it didn't throw any solid results (a lot of mentions to Debian, though):

/usr/local/lib/libboost_regex-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_prg_exec_monitor-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_filesystem-gcc41-mt-1_35.so
/usr/local/lib/libboost_iostreams-gcc41-mt.so
/usr/local/lib/libboost_test_exec_monitor-gcc41-mt.a
/usr/local/lib/libboost_date_time-gcc41-mt.so
/usr/local/lib/libboost_wave-gcc41-mt-1_35.so
/usr/local/lib/libboost_program_options-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_python-gcc41-mt-1_35.so
/usr/local/lib/libboost_wserialization-gcc41-mt.so
/usr/local/lib/libboost_program_options-gcc41-mt-1_35.so
/usr/local/lib/libboost_iostreams-gcc41-mt-1_35.so
/usr/local/lib/libboost_system-gcc41-mt-1_35.so
/usr/local/lib/libboost_signals-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_signals-gcc41-mt.so
/usr/local/lib/libboost_date_time-gcc41-mt-1_35.so
/usr/local/lib/libboost_wave-gcc41-mt.so
/usr/local/lib/libboost_program_options-gcc41-mt.so
/usr/local/lib/libboost_iostreams-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_serialization-gcc41-mt.so
/usr/local/lib/libboost_wave-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_prg_exec_monitor-gcc41-mt.so
/usr/local/lib/libboost_thread-gcc41-mt.so
/usr/local/lib/libboost_graph-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_serialization-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_python-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_signals-gcc41-mt-1_35.so
/usr/local/lib/libboost_test_exec_monitor-gcc41-mt-1_35.a
/usr/local/lib/libboost_regex-gcc41-mt-1_35.so
/usr/local/lib/libboost_date_time-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_system-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_wserialization-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_python-gcc41-mt.so
/usr/local/lib/libboost_serialization-gcc41-mt-1_35.so
/usr/local/lib/libboost_graph-gcc41-mt.so
/usr/local/lib/libboost_thread-gcc41-mt-1_35.so
/usr/local/lib/libboost_unit_test_framework-gcc41-mt.so
/usr/local/lib/libboost_regex-gcc41-mt.so
/usr/local/lib/libboost_unit_test_framework-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_thread-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_filesystem-gcc41-mt.so
/usr/local/lib/libboost_wserialization-gcc41-mt-1_35.so
/usr/local/lib/libboost_graph-gcc41-mt-1_35.so
/usr/local/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0
/usr/local/lib/libboost_prg_exec_monitor-gcc41-mt-1_35.so
/usr/local/lib/libboost_system-gcc41-mt.so
/usr/local/lib/libboost_unit_test_framework-gcc41-mt-1_35.so

And I keep getting the following message with ./configure for Inkscape:

...
checking for INKSCAPE... yes
checking for Mac OS X Carbon support... no
checking boost/concept_check.hpp usability... no
checking boost/concept_check.hpp presence... no
checking for boost/concept_check.hpp... no
configure: error: You need the boost package (e.g. libboost-dev)

I found information about this being a bug, but I still have a couple of questions:

1.- What am I missing? Is it possible for the compiling intructions from Inkscape's site be wrong?
2.- Where can I find libboost-dev? Because even though I've installed it I don't see it on the list.

Any light you can shed on this will be welcome.

Meanwhile I'll try out the package for Inkscape 0.45.1 from slacky.eu and see what happens.
 
Old 06-13-2008, 08:40 AM   #2
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
I installed Inscape using slackbuilds from Slackbuilds.org, and it worked with no problem. The dependency chain is incredibly long, but there where no problems during the installation. Check out the scripts to see what they do differently.
 
Old 06-13-2008, 09:05 AM   #3
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 732

Rep: Reputation: 173Reputation: 173
Agreed - the slackbuild from slackbuilds.org works great and all the dependencies are there as well.
 
Old 06-13-2008, 09:42 AM   #4
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
+1 for SlackBuilds. I just installed Inkscape this morning in fact. There aren't that many dependencies (depending on what you have installed already). I only needed four of them myself. Plus you'll still be compiling it specifically for your own machine and creating a package you can install and remove cleanly. Take a look. At the very least you'll get an idea what you're missing.

Last edited by digger95; 06-13-2008 at 09:44 AM.
 
Old 06-13-2008, 09:50 AM   #5
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Original Poster
Rep: Reputation: 16
Cool. I've downloaded the the SlackBuilds and I'll try those. I'm not at home right now but I'll be in about an hour. I'll let you know how it goes.
 
Old 06-13-2008, 11:51 AM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,388

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
Quote:
Originally Posted by chess View Post
Agreed - the slackbuild from slackbuilds.org works great and all the dependencies are there as well.
Of course it does - look who the author and maintainer is... ;-)

-RW
 
Old 06-14-2008, 06:51 AM   #7
imciberrana43
LQ Newbie
 
Registered: Jul 2007
Location: New York City
Distribution: Slackware 10.2
Posts: 7

Rep: Reputation: 1
Some issues about building Inkscape from source

The resolution is devious. When make installed the Boost app it created a directory in /usr/local/include called boost-1_35 as the upper-level boost header directory. below that directory is the actual boost directory. What you need to do create a link named boost in /usr/local/include . /usr/local/include/boost link to /usr/local/include/boost-1_35/boost. This will resolve the problem.
 
Old 06-15-2008, 12:00 PM   #8
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Original Poster
Rep: Reputation: 16
It worked!!

Hi, sorry for taking so long to reply.

I was having some trouble using the SlackBuilds, but mostly due to my little experience with them (I will have to practice that ), so, I decided to give a try to imciberrana43 suggestion. I did this as root within the /user/local/include/ directory following the instructions provided (after reviewing the man for ln ):

#ln --symbolic /usr/local/include/boost_1_35_0/boost/ boost

No errors happened, so I went back to the inkscape directory and configured, which now passed successfully. I'm now within the make stage. I'll let you know how it goes.

Thanks a lot!

Last edited by Choucete; 09-24-2008 at 02:11 AM.
 
Old 06-16-2008, 06:14 AM   #9
imciberrana43
LQ Newbie
 
Registered: Jul 2007
Location: New York City
Distribution: Slackware 10.2
Posts: 7

Rep: Reputation: 1
Smile I'm happy it worked!

I'm happy your problem was resolved.
 
  


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
Issues Building Python-ldap Pratt Slackware 5 07-24-2008 04:45 PM
issues building 2.6.19.2 kernel with SMP somnambulist Linux - General 3 02-05-2007 08:35 PM
LXer: Inkscape - Open Source Vector Graphics Editor LXer Syndicated Linux News 0 07-02-2006 09:03 PM
building from source Protex Slackware 2 02-24-2004 08:26 PM
Building Galeon from source abmhmd Slackware 2 05-22-2002 03:07 PM

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

All times are GMT -5. The time now is 04:58 AM.

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