Kiwix and Freemind (strange dependencies issues)

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Kiwix and Freemind (strange dependencies issues)

Postby hxod » Mon Mar 12, 2012 17:07

Hello, everybody,

I'm not sure if I am posting into the correct place. If not, (I beg your pardon and) let me know and I'll move it as soon as possible. Anyway,

I'm running Sabayon 8 with Gnome, but since the installation I'm only using the fluxbox (got tired of gnome's out of box tecnology). The machine is a Zitech tempo laptop, 32b.

Firstly,
I installed Kiwix (zim readear, wikipedia offline reader). But it keeps saying that Xulrunner is not installed, eventhough it is. Herehttp://packages.sabayon.org/show/kiwix,71841,sabayon-weekly,amd64,5,standard/dependencies#package-widget-show-what I found out that the kiwix's dependency is net-libs/xulrunner:1.9, but the one I have installed (and the only one I can find by equo search) is net-libs/xulrunner-2.0.1-r1. Am I supposed to compile the 1.9?

Sencondly,
I installed freemind by equo (not sulfur!). When I try to run, that's what I get:

~ $ freemind
Traceback (most recent call last):
File "/usr/bin/gjl-2.7", line 264, in <module>
vm = get_vm(pkg)
File "/usr/bin/gjl-2.7", line 157, in get_vm
target, needs_jdk = get_needed_target2(pkg)
File "/usr/bin/gjl-2.7", line 49, in get_needed_target2
target = pkg.target()
File "/usr/lib/python2.7/site-packages/java_config_2/Virtual.py", line 112, in target
return self.get_provider().query("TARGET")
File "/usr/lib/python2.7/site-packages/java_config_2/Virtual.py", line 216, in get_provider
vm = self._manager.get_active_vm()
File "/usr/lib/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 128, in get_active_vm
self.load_active_vm()
File "/usr/lib/python2.7/site-packages/java_config_2/EnvironmentManager.py", line 121, in load_active_vm
raise InvalidVMError("Unable to determine valid vm. Please see http://www.gentoo.org/doc/en/java.xml#doc_chap4")
java_config_2.Errors.InvalidVMError: Unable to determine valid vm. Please see http://www.gentoo.org/doc/en/java.xml#doc_chap4
Couldn't get needed information

Well, I'm using Virtualbox (for archlinux, trying to learn I little more about linux, ehe), and I'm also running Juggling lab (java based app), so as far as I'm concerned, I do have java installed. I read a lot about java into Gentoo's documention, but English is not my first language (pardon my mistakes!), and I'm not sure I understand what I'm supposed to do. And Also, everytime I tried to use portage or gentoo's issues, I screwd the whole system (that's why I'm trying to fix it by equo). And I do have a recent installed Sabayon because when I was trying to follow gentoo's documentation about intel hda sound card I lost the system (well, let's say that I was unable to fix, as far as my knowledge doesn't go as far I would like it to).
Because all the reasons mentioned above I hadn't try to follow the gentoo's instructions - yet.

So, anyhow I'm here not looking for a babysister, but at least some tips about what I'm supposed to do... Since weeks I've been trying to fix it without any progress, so here I am, and Kiwix and Freemind are tools that I REALLY need for my studings and works.


Friendly,
Hxod ;)
hxod
Baby Hen
 
Posts: 13
Joined: Tue Oct 06, 2009 4:53

Re: Kiwix and Freemind (strange dependencies issues)

Postby joost » Mon Mar 12, 2012 19:00

Code: Select all
eselect java-vm list

then:
eselect java-vm set number
to the vm you desire to use. (most likely icedtea-7)
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Kiwix and Freemind (strange dependencies issues)

Postby hxod » Mon Mar 12, 2012 19:58

Joost, thank you for your attention! I tried as normal and as root, and I got the same answers:

# eselect java-vm list
Available Java Virtual Machines:
grep: /usr/share/java-config-2/vm/sun-jdk-1.6: No such file or directory
[1] icedtea-7
[2] icedtea-bin-6
[3] sun-jdk-1.6 system-vm

# eselect java-vm set 1
!!! Error: Usage [user|system] [vm]
exiting
# eselect java-vm set 2
!!! Error: Usage [user|system] [vm]
exiting
# eselect java-vm set 3
!!! Error: Usage [user|system] [vm]
exiting

Noneof them working. Should I (re)install one of them (like icedtea, as far it is open, I would prefer it)?

(:

Sammondane,
Hxod
hxod
Baby Hen
 
Posts: 13
Joined: Tue Oct 06, 2009 4:53

Re: Kiwix and Freemind (strange dependencies issues)

Postby joost » Mon Mar 12, 2012 23:31

you want to set it system wide (as root)
so as root do it like this:

Code: Select all
eselect java-vm set system 1


Welcome to the Gentoo way of doing things.
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Kiwix and Freemind (strange dependencies issues)

Postby hxod » Thu Mar 15, 2012 12:44

Thank you, Joost! Now I can lunch freemind! :idea:
But, I got curious and went to the terminal, and got this:

$ freemind
Checking Java Version...

STDOUT: User patterns file /home/mar/.freemind/patterns.xml not found.
STDOUT: User patterns file /home/mar/.freemind/patterns.xml not found.

I'm using freemind without problem, as far as I am concerned there's nothing "not working". Should I worry about this?


And are there any tips about what to do with Kiwix? Is there a way to tell kiwix that Xulrunner IS installed?


Sammondane,
Hxod
hxod
Baby Hen
 
Posts: 13
Joined: Tue Oct 06, 2009 4:53

Re: Kiwix and Freemind (strange dependencies issues)

Postby joost » Thu Mar 15, 2012 13:53

Kiwix seems to depend on old xulrunner. It will probably be dropped from tree soon, unless upstream releases something new that works with latest xulrunner.
User avatar
joost
Sagely Hen
 
Posts: 2313
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests