Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: vinnie on December 27, 2011, 08:22:57 PM

Title: inkscape no longer works, rebuild request
Post by: vinnie on December 27, 2011, 08:22:57 PM
Inkscape does not work anymore, I think because of ImageMagick http://forum.tinycorelinux.net/index.php/topic,9273.msg50608.html#msg50608 (http://forum.tinycorelinux.net/index.php/topic,9273.msg50608.html#msg50608) .
I tried to use the script on this page but did not succeed (I attach to the topic).

I need to work with vector drawings, you could rebuild?

P.s. I test with old imagemagick and work http://distro.ibiblio.org/tinycorelinux/3.x/tcz/ImageMagick.tcz (http://distro.ibiblio.org/tinycorelinux/3.x/tcz/ImageMagick.tcz) you can fix it?
Title: Re: inkscape no longer works, rebuild request
Post by: bmarkus on December 28, 2011, 01:55:25 AM
What is the error message when stated in a terminal window?
Title: Re: inkscape no longer works, rebuild request
Post by: vinnie on December 28, 2011, 06:20:19 AM
"inkscape: error while loading shared libraries: libMagick++.so.4: cannot open shared object file: No such file or directory"

I tried to make some simlink in /usr/lib/, I passed some requests of dependency but I being able to run it only with the old imagemagick,

I think it might be better to recreate the inkscape  package since the use of /usr/lib instead of /usr/local/lib
Title: Re: inkscape no longer works, rebuild request
Post by: nomer on February 11, 2012, 02:00:16 PM
+1 at reply #2

I installed inkscape.tcz as onDemand.
I tried running "tce-run inkscape" and got the above mentioned error message
Quote
inkscape: error while loading shared libraries: libMagick++.so.4: cannot open shared object file: No such file or directory
I moved inkscape.tcz to OnBoot and rebooted and got the same error when I tried to run Inkscape again.

For now I think that I'll give ImageMagick.tcz from the 3.x repo a try.

Thanks,
Nomer
Title: Re: inkscape no longer works, rebuild request
Post by: AbNoRMiS on February 11, 2012, 02:09:38 PM
yes, inkscape works perfect with imagemagick from the 3.x repo
Title: Re: inkscape no longer works, rebuild request
Post by: nomer on February 11, 2012, 03:28:51 PM
Okay, I removed inkscape.tcz from OnBoot and rebooted. I then replaced ImageMagick.tcz, *.tcz.dep, and *tcz.md5.txt in tce/optional with the ones from the 3.x repository.
When I entered "tce-run inkscape" on the commandline, it gave me some silly error twice and then started.
I can now start Inkscape without any errors.

The rulers don't seem to display quite right (see attached image* ), but there is an option to not display them and this probably an "upstream bug"

*Oh never mind, my internet connection is being stupid again
Title: Re: inkscape no longer works, rebuild request
Post by: AbNoRMiS on February 11, 2012, 04:03:07 PM
try run without tce-run:
inkskape
for me all works fine
Title: Re: inkscape no longer works, rebuild request
Post by: vinnie on February 12, 2012, 01:52:25 AM
Code: [Select]
tc@box:~$ inkscape
inkscape: error while loading shared libraries: libMagick++.so.4: cannot open shared object file: No such file or directory
tc@box:~$
the only way for me is to load the old imagemagick, inkscape should repackaged, now that I could use a half-time arslan's tools maybe I'll try (but i do not thrust in my abilities)
Title: Re: inkscape no longer works, rebuild request
Post by: bmarkus on February 12, 2012, 02:04:24 AM
Did someone asked creator of inkscape.tcz?
Title: Re: inkscape no longer works, rebuild request
Post by: vinnie on February 12, 2012, 02:12:09 AM
I've tried in the annunciation topic but he no answers, I have not tried a pm but in the end should be almost the same thing?

plus I remembered wrong, the script is not of arslan but of svolli, then what I have said before is not worth
Title: Re: inkscape no longer works, rebuild request
Post by: bmarkus on February 12, 2012, 02:19:02 AM
Send a PM.
Title: Re: inkscape no longer works, rebuild request
Post by: vinnie on February 12, 2012, 02:23:34 AM
ok, i do
Title: Re: inkscape no longer works, rebuild request
Post by: dentonlt on February 12, 2012, 12:26:47 PM
Hi -

Sorry to miss the thread! Yep, it was done w/ svolli's build kit. I'll rebuild and repost asap.

Vinnie, if you have really have something that needs to be done immediately, try:
Code: [Select]
tce-load -i inkscape
cd /lib
sudo ln -s /usr/local/lib/libMagick++.so.5 libMagick++.so.4
sudo ln -s /usr/local/lib/libMagickCore.so.5 libMagickCore.so.4

The ImageMagick libs are [partly] binary compatible, but I imagine Inkscape will crash when you find out where they're -not- compatible ...

Again, I'll rebuild and repost asap - probably in about 12 hours (evening my time).

Hope this helps!

DLT
Title: Re: inkscape no longer works, rebuild request
Post by: vinnie on February 12, 2012, 02:11:06 PM
ok, with this simlink it works, I had tried other paths.
Thanks denton, (and markus) ;)
Title: Re: inkscape no longer works, rebuild request
Post by: dentonlt on February 21, 2012, 01:06:47 AM
Hmm. Not to dig up an old topic ... but I'm having a bit of trouble with the rebuild.

All libs are new, and Inkscape compiles fine. Despite compiling with ImageMagick 5 libs, the Inkscape binary keeps asking for ImageMagick 4.0. No relevant option in ./configure ...

The hack above "works", but I doubt it can be stable.

Maybe this is a common thing, and someone can provide a quick answer? I'm digging through the Inkscape docs to figure out what's up.
Title: Re: inkscape no longer works, rebuild request
Post by: vinnie on February 21, 2012, 04:20:23 AM
I think it is more useful to find people with the same problem on internet or ask a question to some developers.
However, at worst you could create a script "tce.installed" that will create simlink  :-\
Title: Re: inkscape no longer works, rebuild request
Post by: gutmensch on February 21, 2012, 12:28:17 PM
Sounds like he's missing or not finding the version 5 libs, could you check config.log after running configure for occurances of special version checks? Tried to add -I/usr/local/include/ImageMagick to CPPFLAGS? PKG_CONFIG_PATH is correctly set to at least /usr/local/lib/pkgconfig:/usr/lib/pkgconfig?
Title: Re: inkscape no longer works, rebuild request
Post by: dentonlt on February 21, 2012, 10:27:51 PM
Thanks for the advice, gutmensch -

Quote
could you check config.log after running configure for occurances of special version checks?

Nope, doesn't seem to be any version checking.

Quote
Tried to add -I/usr/local/include/ImageMagick to CPPFLAGS? PKG_CONFIG_PATH is correctly set to at least /usr/local/lib/pkgconfig:/usr/lib/pkgconfig?

I'll try a rebuild using -I and see what happens.

The weird part is that it all just compiles/builds fine ... it's the final binary that demands v4 libs. They're not even on my system during the build, so I don't know why the whole build process accepts v5 but the binary doesn't. I'll keep working at it.

[EDIT:] +1 to gutmensch - adding the include directory to CPPFLAGS solved this. Thank you much!
Title: Re: inkscape no longer works, rebuild request
Post by: AbNoRMiS on February 28, 2012, 06:01:46 PM
finally it happened
very thanks :)
Title: Re: inkscape no longer works, rebuild request
Post by: vinnie on February 29, 2012, 02:30:48 AM
Also today I tried to start it and everything went well  :)