VectorLinux

The nuts and bolts => Software General => Topic started by: vvucic on June 08, 2007, 02:42:26 am

Title: installing Inkscape [SOLVED]
Post by: vvucic on June 08, 2007, 02:42:26 am
Hello,
I use VL 5.8 SOHO FInal on Pentium III Machine.
I downloaded latest version of Inkscape from www.linuxpackages.net. installed necessary libraries.
 installed inkscape by using KDE's KPackage just to test it.

I was prompted that installation was OK Result=0 and Inkscape appeared in the Graphics menu.

But when I start it it doe snot appear on the screen.

I started it from console and I got the following message:
inkscape: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory


Please advise,

veki
Title: Re: installing Inkscape
Post by: The Headacher on June 08, 2007, 02:59:14 am
Apparently, libgc is some sort of "garbage collector". You should be able to get the source here: http://www.hpl.hp.com/personal/Hans_Boehm/gc/#where
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 03:10:09 am
Hello,

So you suggest that install it and try to reinstall Inkscape?
Anyway, I downloaded gc source.tgz and unpacked it  folder gc7.7 compiled successfully and uninstalled inskcape, installed again and problem is the same/

Thanx,

veki
Title: Re: installing Inkscape
Post by: lagagnon on June 08, 2007, 07:43:25 am
Somewhat off topic but you don't like Xara Xtreeme which is provided with VL 5.8? It does the same things as InkScape AFAIK...
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 08:00:26 am
Hello,

I like Xara :)
Just testing various packages since school of graphic design here in belgrade wants to use Linux in tehir educational work.  So, since I found Inscape o Linuxpackages.net I thought it might be good to check it. ::)

Thanx,


veki


Title: Re: installing Inkscape
Post by: rbistolfi on June 08, 2007, 08:18:51 am
hi veki! Are you sure the error is exactly the same? You are having some depedencies issues. To say it short, inkscape needs another programms to run and you dont have them. You should run inkscape from the console again, and then check what library is missing, or check the dependencies on the inkscape site and install them all:

http://wiki.inkscape.org/wiki/index.php/CompilingInkscape#Getting_and_Installing_Source_packages

You dont need to install them all from source, try slapt-get first  ;)

If the problem still is libgc, post back here.

Hope this help!

PS: I installed inkscape on vl5.1 some time ago, so is not very difficult.
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 08:24:10 am
Hello,

I installed dependencies that are listed on www.linuxpackages.net
I noticed that during installation of  glibmm there were additional automatic update of glibc.

Maybe that is an issue.  I am sure that teh problem is the same and that all libraries listed on www.linuxpackages.net are installed.



WIth best wishes,


veki
Title: Re: installing Inkscape
Post by: rbistolfi on June 08, 2007, 08:27:41 am
the output of the terminal is still the same after the libgc install?
check this and see if can help you:

http://wiki.inkscape.org/wiki/index.php/CompilingSlackware this an issue related to the location of some files.
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 08:59:10 am
Hello,

Yes, output of the terminal is the same.  It seems to me that packager on linuxpackages.net does not have a habit to reply on posted questions.

From my pont there are possible failures:
1. there is more depndencies than listed there
2. dependencies listed on linuxpackages.net are not well for VL 5.8 SOHO
3. some of dependencies should be additional twekaed, but that is not documented

I ma investigating what may be issue.  All depndencies are liste din my gslapt as installed.
Best wishes,

veki
Title: Re: installing Inkscape
Post by: Triarius Fidelis on June 08, 2007, 09:02:43 am
Where did libgc install? Did it leave a file called libgc.so.1? Did you run /sbin/ldconfig after installing it?
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 09:13:01 am
Hello,

After running /sbin/ldconfig I can run Inkscape normally.
I think that such a thing should be documented.

Congratulations and thanks on helping me and students of graphic design school.


Sincerely,


veki
Title: Re: installing Inkscape
Post by: Triarius Fidelis on June 08, 2007, 09:18:59 am
I'd call it [SOLVED] then...
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 09:25:51 am
yes indeed.


 ;D
veki
Title: Re: installing Inkscape
Post by: Triarius Fidelis on June 08, 2007, 09:28:20 am
yes indeed.


 ;D
veki

The custom is to edit your original post so that it has [SOLVED] or something similar in the title.

Sorry to be so blunt.
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 09:50:52 am
hello,

It si not blunt.  It is normal so people who do have the same issue may be sure that they will find answer for their question.

I will these days pay more attention to upgrade of some libs through gslapt since it seems to me that it can render some packages unusable.

By asking and looking for answers we help other members of our community to use VL easier.

:)


veki
Title: Re: installing Inkscape
Post by: Masta on June 08, 2007, 02:07:05 pm
vvucic,
           If you would please, add the word [solved] into your topic tittle. If you would like help on how to do that, a moderator or administrator may be able to assist you.
   
Thanks.
Title: Re: installing Inkscape
Post by: vvucic on June 08, 2007, 02:14:05 pm
Hello,

I will add.but I am testing still because after solution of the probelm some other packages could not work.  SO i am trying  to investigate whether that probelm is related to solution of inkscape installation or with something else.

Thanks,

veki
Title: Re: installing Inkscape
Post by: GrannyGeek on June 08, 2007, 07:15:31 pm
After running /sbin/ldconfig I can run Inkscape normally.
I think that such a thing should be documented.

It probably is documented somewhere. Otherwise how would I have ever heard of it?<g> I always run ldconfig after I install anything, even if libraries don't seem to be involved. It can't do any harm. I don't run ldconfig if I install something through gslapt because gslapt is supposed to take care of everything.

By the way, you don't have to uninstall and reinstall Inkscape as you're installing the missing dependencies. Just keep running Inkscape from the command line and take *careful* note of any complaints. A lot of those dependencies have very similar names. You have to run ldconfig after you install each and every dependency and before you run Inkscape again. Eventually the messages will stop and Inkscape will start.

I've compiled Inkscape .45 and previous versions, too. And believe me, I would never have believed I'd be compiling programs when I first started using Linux. The great thing about being able to compile a program is that we don't have to wait for someone to make a package--sometimes it's a long wait, or the package doesn't quite work on our system.
--GrannyGeek
Title: Re: installing Inkscape [SOLVED]
Post by: vvucic on June 09, 2007, 12:07:08 am
Sure,

Since program exists there may be a couple of words about it.  But, my point is not about that.
After  years of working with Linux I have I always the same problem.  If I want to behave as average SOHO or private user in some cases as this one it is not possible to solve the problem without asking someone to help.
If I work as someone who is very knowledgeable than I miss the point, freedom should be accessible for everyone.  Besides, distro specific things, some distros do not require users to do ldconfig after each installation.

It is good if you do it and that Slack is made in that way , but some other well know distros do not require that.  My point is that editions as SOHO and the likes that are targeted to ordinary people should have clear and documented tow possible approaches:
1. do things automatically and document possible issues and ways how to solve them
2. do things  manually and document that precisely not only in "man foopcakage" but in "man goal user has to accomplish"

I test more than 20 distros and as far as I see all suffer from that and all of them are struggling with that from the point of system integration mainly.
Actually, setting up hardware, packages, file system, interconnectivity between applications.
I those fields there is no in many cases consistent approach and if there is real reason why is that , there i sno documentation explaining that.  I am willing to join those who would like to write that.  Any volunteers?

Thanx,

veki
Title: Re: installing Inkscape [SOLVED]
Post by: lagagnon on June 09, 2007, 10:58:17 am
Besides, distro specific things, some distros do not require users to do ldconfig after each installation.

Veki: you have to remember your situation loading InkScape from source is much different than a normal Linux package. You also had to load libraries after the fact. Whenever libraries are loaded after the fact you must run ldconfig on ANY Unix/Linux system unless you reboot the system, during which ldconfig is run anyways.

It is unfortunate we did not have a pre-packaged InkScape package - you would not have had those hassles and you would not have had to run ldconfig. You must remember you were right down to source code base to get what you wanted and in ANY operating system you have to do special things to then get that compiled code running properly. (and remember: you would not even get that opportunity in MS Windows!).

Anyways, I'm glad you finally got Inkscape working.
Title: Re: installing Inkscape [SOLVED]
Post by: rbistolfi on June 09, 2007, 12:18:59 pm
I am glad you solved too! I think you have a good point. For well or not, there is no standard way to install software in linux. The dependencies issue is the bigger challenge for any distro, because the regular user is not used to work with them. The most popular OS have static packages (they include everything needed on each package of software) and is more easy for the user. But the price is a bigger package, and a less flexible system. So both have pro and cons. And many of the linux pros have a price: an extra effort is needed and the learning curve is a little hard. I think is our choice what kind of system we want, and the big linux challenge is make things more user friendly without lose the freedom and flexibility of the system.

cheers, Rodrigo

PS: There is an argentinian project (finally one from home!  :D) called Ututo Linux, implementing a system called check-ldd, aparently the system can solve the 99% of the dependencies problems, supporting even differents versions of almost every library. Looks promising.
https://www.ututo.org/www/index.php?country=ENGLISH
Title: Re: installing Inkscape [SOLVED]
Post by: vvucic on June 09, 2007, 02:43:38 pm
Hello,

yes, I know.  I work with linux approx 12 years :p

I am trying as much as possible to behave as an ordinary user since forums and IRC channels should not be places where meet people that know a lot of things anyway..  I am aware of Ututo and I heard about it from Richard Stallman when he was giving lecture here.
I am not against complexities, please do not get me wrong.  I am FOR complexities but t such a complexities give you freedom if you know how to handle them and I am trying to find a way how to creat documentation which will inform users about that without necessity to fiddle 3 years and read 65 books.
I install VL often in schools including many other distros, but I found VL the best and the most flexible especially for the computer with modes tech. specifications.
Consequently, I am trying to sound as an ordinary teacher in my post since I want to encourage as much as possible ordinary people to write and to make forums places for "the rest of us", although I am personally experienced.  Also, it is good for us to get habit to think as ordinary people.
Believe me, after 40 installations on one day you cannot think at all :p

Thanks,

veki
Title: Re: installing Inkscape [SOLVED]
Post by: rbistolfi on June 09, 2007, 03:03:01 pm
Well, looks like your experience is giving to you a nice point of view, as I said, I agree with you about the linux issues and the documentation subject. I really see your point, and I think linux needs to become more user friendly, making more easy-to-manage systems or writing more and better documents. Of course, there is no freedom if the options are unreachable (that is why a good interface is needed).
About the forum, I think this is a very comfortable place for a newbie, I can say it because I am a relative new linux user, and I learn a lot here and the guys are really helpful. Is pretty much for "the rest of us".

Quote
Believe me, after 40 installations on one day you cannot think at all :p
Wow! We can say you are busy! give some rest to those eyes, you'll need them in a few years too  ;)

I like your point of view, nice to have you as a forum member, I hope you stay around.
cheers, Rodrigo