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 10-23-2008, 05:48 PM   #1
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Inkscape compilation error: *** [extension/internal/pdfinput/pdf-parser.o] Error 1


*** Problem solved by astrogeek (see: below) ***

I'm trying to install Inkscape from SlackBuilds in Slackware 12.1.

At the beginning I installed a few packages taken from SlackBuilds: PyXML, libwpg, loudmouth, libsigc++, glibmm, cairomm, gtkmm, and gc. I installed also libboost-dev 1.33.1 package -- because I couldn't find its Slackware's version I grabbed .deb package and converted it to .tgz package.

Then I tried to compile inkscape package taken from SlackBuilds. The compilation stopped with the error message:

Code:
extension/internal/pdfinput/pdf-parser.cpp: In member function 'void PdfParser::opEndImage(Object*, int)':
extension/internal/pdfinput/pdf-parser.cpp:2943: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [extension/internal/pdfinput/pdf-parser.o] Error 1
make[2]: Leaving directory `/tmp/SBo/inkscape-0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/inkscape-0.46'
make: *** [all] Error 2
Somebody posted that error as bug in Gentoo Bugzilla. Someone else published it in bugs.launchpad.net. The latter received the answer: ``I think this is because you're using Poppler 0.8.3, but the Inkscape code is designed for Poppler 0.8.2''.

There is no any Poppler in Slackware 12.1.

What can I do now to compile Inkscape in my system?

Have a nice day...

Last edited by w1k0; 10-24-2008 at 07:27 AM.
 
Old 10-23-2008, 06:13 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,257
Blog Entries: 24

Rep: Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193
Just built inkscape - had some problem - solved

Hi,

I just built Inkscape 0.46 using the slack build script from slackbuilds.org.

After building all the dependencies I got the exact same error when running the inkscape.SlackBuild script.

I found that I had to comment out the patch line and it worked perfectly. The patch was provided to solve this compile error so maybe someone changed something else that fixed it and made the patch generate the error... anyway, in inkscape.SlackBuild just comment out:

#patch -p1 < $CWD/inkscape-0.46-poppler-0.8.3.patch
 
Old 10-23-2008, 06:56 PM   #3
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
Thank you very much for that tip, astrogeek. It works.

Where did you find libboost-dev package or how did you manage to compile Inkscape without it?

Last edited by w1k0; 10-23-2008 at 08:12 PM.
 
Old 10-23-2008, 07:27 PM   #4
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Rep: Reputation: 16
Actually there's a slackbuild script for the boost library.
Just type in 'boost' in the search box.
 
Old 10-23-2008, 08:11 PM   #5
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
Thank you, sleekslack. Earlier I sought it using the wrong name. Now I found it.
 
Old 10-23-2008, 09:19 PM   #6
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,257
Blog Entries: 24

Rep: Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193
Boost and Inkscape bug to be aware of

Sorry to be so long responding.

Yes, just build the current 'boost' package (I think used 1.36 - different box). Thanks sleekslack.

After running it I found that it did not handle font selection from the toolbar widget correctly. I thought I missed something in the build but it turns out to be a problem with Inkscape itself - workaround is to use the menu based text tool for font selection, works painlessly. Look at the inkscape site and forums for more on that one.

Glad you got it going.
 
Old 10-24-2008, 07:08 AM   #7
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
I'm not sure what font selection tool you mean. I see two fonts oriented tools and one menu position:

* Create and edit text objects (F8) -- on the left vertical toolbar.
* View and select font family -- on the top horizontal toolbar.
* Text | Text and font... Shift+Ctrl+T -- in the main menu.

All these work well in my Inkscape.

If one of them don't work for you it's maybe boost package issue. As I mentioned above I used Debian package instead of SlackBuilds package. Or maybe you omitted to install some package. I mentioned all the packages I installed in the first post.
 
Old 10-24-2008, 11:38 AM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,257
Blog Entries: 24

Rep: Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193
Quote:
Originally Posted by w1k0 View Post
I'm not sure what font selection tool you mean...

* View and select font family -- on the top horizontal toolbar.
It is the one in the toolbar. From what I read, if the default font is not on your system when it is first started it corrupts the user config file or something like that, then the drop list won't close.

Quote:
Originally Posted by w1k0 View Post
All these work well in my Inkscape.
Maybe we have different fonts installed, I have changed mine since slack was installed.

I did not install boost from a package, I built it with a SlackBuild, so there may be some difference there too.

Thanks for the info, maybe I'll have another look at it - but it has not interfered with my use of Inkscape so I haven't thought much about it.
 
Old 10-24-2008, 12:53 PM   #9
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
I updated TTF font directory after Slackware installation. First I installed Microsoft fonts: Arial, Courier New, Georgia, Symbol, Times New Roman, Trebuchet, Verdana, Webdings, and Windings. I don't suppose Inkscape depends on Microsoft fonts.

Because I wasn't satisfied with these fonts I installed three FreeFonts: FreeMono, FreeSans, and FreeSerif (see: http://ftp.gnu.org/gnu/freefont/ directory freefont-ttf-20080912.tar.gz file). I strongly recommend these fonts. They look beautiful and contain a lot of useful characters and symbols. You can read about them here: http://directory.fsf.org/project/freefont/.

Until now I had the version of FreeFonts made in 2005. Current version is much better than that older one -- first of all it has corrected default line spacing. I wonder why Patrick didn't include FreeFonts in Slackware. Default Liberation fonts look ugly in comparison to FreeFonts and contain only basic set of characters.

If you suspect that because of lacking of some fonts at startup of Inkscape config file was corrupted just remove ~/.inkscape directory, install those fonts, and run Inkscape once again.

Probably I'll install boost package from SlackBuilds soon. If it'll corrupt my Inkscape I'll report it here.

Last edited by w1k0; 10-24-2008 at 01:13 PM.
 
Old 10-24-2008, 07:51 PM   #10
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
I just removed Debian libboost-dev package and installed SlackBuilds boost package. ``View and select font family'' button in Inskscape still works. Maybe your problem is a font issue as you suggested above.
 
Old 10-24-2008, 11:15 PM   #11
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,257
Blog Entries: 24

Rep: Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193
Thanks w1k0 - I'll have another looks at it

I'll have a look at the fonts you linked - I have never actually paid much attention to what fonts I had on my systems before. I always seemed to have what I needed but I work mostly through one terminal window or another so as long as I have a decent terminal font I don't pay much attention.

But I am working up a transition to Slack 12.1 for multiple systems, some used by other people, so I have tweaked the fonts mostly to learn how that part of the box works - and one thing I think I need to do is trim down the list I am working with now! Too many! I need to come up with my own list of 'good' fonts and clean up some others.

I would also be glad to have Inkscape working at 100%, although the font selector thing is mostly a minor nuisance - once I saw that it was not just my installation I didn't think much more of it either - but if it can be fixed by my font selection then I will.

Thanks again.
 
Old 10-25-2008, 09:06 AM   #12
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
There are a lot of fonts in Internet. If you look for some set of basic fonts I recommend http://directory.fsf.org/category/fonts/. These fonts are delivered by Free Software Foundation. For last ten years I limited myself to Microsoft fonts for compatibility with Windows users. A few days ago I compared those fonts with Freefont set. Freefonts have the same width and height as Microsoft fonts. It means if you prepare some document using FreeSerif, FreeSans and FreeMono it'll look the same on machine with Times New Roman, Arial, and Courier New (three standard Microsoft fonts).
 
Old 10-25-2008, 09:53 AM   #13
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
I just looked at the directory mentioned above. The best set of fonts delivered there is my favorite GNU Freefont: http://www.gnu.org/software/freefont/. It's good for everyday usage as well as for different special purposes. It contains all basic western characters including Latin Extended A and B, IPA characters (phonetic alphabet), Greek, Cyrillic, Hebrew, Arabic, and some exotic characters (for example: Devangari, Bengali, Tamil, Thai, and Ethiopic), a lot of Latin Extended Additionals, General punctuation, Currency Symbols, Letterlike Symbols (mostly used in mathematics), big set of Mathematical Operators, Miscellaneous Symbols, Dingbats, and much more. I recommend it strongly.

Last edited by w1k0; 11-03-2008 at 09:26 AM.
 
  


Reply

Tags
compilation, courier, error, font, inkscape, linux, times, windows


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
login error can's start session due to internal error wiisikke Fedora 3 05-11-2010 01:29 AM
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
compilation error : /tmp/cczC6Kc3.s:7368: Error: unknown pseudo-op: `.ltorg' nankie Red Hat 0 08-19-2008 10:15 AM
error when boot the linux kernel:Internal error: Oops: 7 [#1] JammyWei Linux - Embedded & Single-board computer 2 06-25-2008 02:23 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM

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

All times are GMT -5. The time now is 06:10 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
Open Source Consulting | Domain Registration