Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem compiling freemind
Date: Sun, 07 Feb 2010 15:05:29
Message-Id: 201002071446.15863.peter@humphrey.ukfsn.org
1 Hello List,
2
3 I thought I'd have a play with a mind mapping program, so I tried to
4 install freemind on this ~amd64 box. This is an excerpt from the log:
5
6 --------
7 >>> Compiling source in /tmp/portage/app-
8 misc/freemind-0.9.0_rc6/work/freemind ...
9 * Using following ANT_TASKS: ant-nodeps ant-trax jibx xsd2jibx
10 Buildfile: build.xml
11
12 init:
13 [echo] FreeMind Version = 0.9.0_RC_6, build 11.
14
15 xmlbind.checkStatusOfGeneration:
16
17 gen:
18 [mkdir] Created dir: /tmp/portage/app-
19 misc/freemind-0.9.0_rc6/work/freemind/binding
20 [mkdir] Created dir: /tmp/portage/app-
21 misc/freemind-0.9.0_rc6/work/freemind/binding/src
22 [mkdir] Created dir: /tmp/portage/app-
23 misc/freemind-0.9.0_rc6/work/freemind/binding/run
24 [mkdir] Created dir: /tmp/portage/app-
25 misc/freemind-0.9.0_rc6/work/freemind/binding/classes
26 [javac] Compiling 1 source file to /tmp/portage/app-
27 misc/freemind-0.9.0_rc6/work/freemind/binding/run
28 [delete] Deleting directory /tmp/portage/app-
29 misc/freemind-0.9.0_rc6/work/freemind/binding/run
30 [javac] Compiling 100 source files to /tmp/portage/app-
31 misc/freemind-0.9.0_rc6/work/freemind/binding/classes
32 [echo] Running binding compiler...
33 [bind] Failed setting classpath from Ant task
34 [jar] Building jar: /tmp/portage/app-
35 misc/freemind-0.9.0_rc6/work/freemind/lib/bindings.jar
36 [delete] Deleting directory /tmp/portage/app-
37 misc/freemind-0.9.0_rc6/work/freemind/binding
38
39 build:
40 [...etc...]
41 --------
42
43 Successful completion is announced, but when I run the program from a
44 terminal I get this:
45
46 --------
47 $ freemind
48 Traceback (most recent call last):
49 File "/usr/bin/gjl-2.6", line 266, in <module>
50 vm = get_vm(pkg)
51 File "/usr/bin/gjl-2.6", line 159, in get_vm
52 target, needs_jdk = get_needed_target2(pkg)
53 File "/usr/bin/gjl-2.6", line 51, in get_needed_target2
54 target = pkg.target()
55 File "/usr/lib64/python2.6/site-packages/java_config_2/Virtual.py", line
56 112, in target
57 return self.get_provider().query("TARGET")
58 AttributeError: 'NoneType' object has no attribute 'query'
59 Couldn't get needed information
60 --------
61
62 Can someone who knows more Java than I do see what's missing?
63
64 This may help:
65
66 $ java-config -L
67 The following VMs are available for generation-2:
68 1) IcedTea6-bin 1.7 [icedtea6-bin]
69 *) Sun JDK 1.5.0.22 [sun-jdk-1.5]
70
71 --
72 Rgds
73 Peter.

Replies

Subject Author
Re: [gentoo-user] Problem compiling freemind Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Problem compiling freemind "Arttu V." <arttuv69@×××××.com>