public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problem compiling freemind
@ 2010-02-07 14:46 Peter Humphrey
  2010-02-07 15:06 ` Mark Knecht
  2010-02-08 13:05 ` Arttu V.
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Humphrey @ 2010-02-07 14:46 UTC (permalink / raw
  To: gentoo-user

Hello List,

I thought I'd have a play with a mind mapping program, so I tried to 
install freemind on this ~amd64 box. This is an excerpt from the log:

--------
>>> Compiling source in /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind ...
 * Using following ANT_TASKS: ant-nodeps ant-trax jibx xsd2jibx                   
Buildfile: build.xml                                                              

init:
     [echo] FreeMind Version = 0.9.0_RC_6, build 11.

xmlbind.checkStatusOfGeneration:

gen:
    [mkdir] Created dir: /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding                                                                             
    [mkdir] Created dir: /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding/src                                                                         
    [mkdir] Created dir: /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding/run                                                                         
    [mkdir] Created dir: /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding/classes                                                                     
    [javac] Compiling 1 source file to /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding/run                                                           
   [delete] Deleting directory /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding/run                                                                   
    [javac] Compiling 100 source files to /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding/classes                                                    
     [echo] Running binding compiler...                                           
     [bind] Failed setting classpath from Ant task                                
      [jar] Building jar: /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/lib/bindings.jar                                                                   
   [delete] Deleting directory /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding                                                                       

build:
[...etc...]
--------

Successful completion is announced, but when I run the program from a 
terminal I get this:

--------
$ freemind
Traceback (most recent call last):
  File "/usr/bin/gjl-2.6", line 266, in <module>
    vm = get_vm(pkg)
  File "/usr/bin/gjl-2.6", line 159, in get_vm
    target, needs_jdk = get_needed_target2(pkg)
  File "/usr/bin/gjl-2.6", line 51, in get_needed_target2
    target = pkg.target()
  File "/usr/lib64/python2.6/site-packages/java_config_2/Virtual.py", line 
112, in target
    return self.get_provider().query("TARGET")
AttributeError: 'NoneType' object has no attribute 'query'
Couldn't get needed information
--------

Can someone who knows more Java than I do see what's missing?

This may help:

$ java-config -L
The following VMs are available for generation-2:
1)      IcedTea6-bin 1.7 [icedtea6-bin]
*)      Sun JDK 1.5.0.22 [sun-jdk-1.5]

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-07 14:46 [gentoo-user] Problem compiling freemind Peter Humphrey
@ 2010-02-07 15:06 ` Mark Knecht
  2010-02-07 15:25   ` Mark Knecht
  2010-02-07 17:16   ` Peter Humphrey
  2010-02-08 13:05 ` Arttu V.
  1 sibling, 2 replies; 11+ messages in thread
From: Mark Knecht @ 2010-02-07 15:06 UTC (permalink / raw
  To: gentoo-user

On Sun, Feb 7, 2010 at 6:46 AM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> Hello List,
>
> I thought I'd have a play with a mind mapping program, so I tried to
> install freemind on this ~amd64 box. This is an excerpt from the log:
>
<SNIP>
>
> Can someone who knows more Java than I do see what's missing?
>
> This may help:
>
> $ java-config -L
> The following VMs are available for generation-2:
> 1)      IcedTea6-bin 1.7 [icedtea6-bin]
> *)      Sun JDK 1.5.0.22 [sun-jdk-1.5]
>
> --
> Rgds
> Peter.
>
>
Runs for me. I don't know how to use it but the GUI comes up and it
allows me to start creating something.

AMD64 stable except for a few packages.

mark@firefly ~/Desktop $ java-config -L
The following VMs are available for generation-2:
1)	IcedTea6-bin 1.6.2 [icedtea6-bin]
*)	Sun JRE 1.6.0.17 [sun-jre-bin-1.6]

VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.
Gentoo recommends not setting these VMs as either your System or User VM.
Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information
mark@firefly ~/Desktop $

mark@firefly ~/Desktop $ cat /etc/portage/package.keywords
sys-kernel/gentoo-sources ~amd64
sys-apps/portage ~amd64
sys-apps/sandbox ~amd64
app-cdr/cdrtools ~amd64
x11-misc/read-edid ~amd64
sys-kernel/rt-sources ~amd64
media-sound/alsa-tools ~amd64
games-action/extreme-tuxracer ~amd64
media-sound/jack-audio-connection-kit ~amd64
dev-php5/php-gtk ~amd64
media-tv/huludesktop ~amd64
mark@firefly ~/Desktop $


- Mark



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-07 15:06 ` Mark Knecht
@ 2010-02-07 15:25   ` Mark Knecht
  2010-02-07 17:16   ` Peter Humphrey
  1 sibling, 0 replies; 11+ messages in thread
From: Mark Knecht @ 2010-02-07 15:25 UTC (permalink / raw
  To: gentoo-user

On Sun, Feb 7, 2010 at 7:06 AM, Mark Knecht <markknecht@gmail.com> wrote:
> On Sun, Feb 7, 2010 at 6:46 AM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
>> Hello List,
>>
>> I thought I'd have a play with a mind mapping program, so I tried to
>> install freemind on this ~amd64 box. This is an excerpt from the log:
>>
> <SNIP>
>>
>> Can someone who knows more Java than I do see what's missing?
>>
>> This may help:
>>
>> $ java-config -L
>> The following VMs are available for generation-2:
>> 1)      IcedTea6-bin 1.7 [icedtea6-bin]
>> *)      Sun JDK 1.5.0.22 [sun-jdk-1.5]
>>
>> --
>> Rgds
>> Peter.
>>
>>
> Runs for me. I don't know how to use it but the GUI comes up and it
> allows me to start creating something.
>
> AMD64 stable except for a few packages.
>
> mark@firefly ~/Desktop $ java-config -L
> The following VMs are available for generation-2:
> 1)      IcedTea6-bin 1.6.2 [icedtea6-bin]
> *)      Sun JRE 1.6.0.17 [sun-jre-bin-1.6]
>
> VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.
> Gentoo recommends not setting these VMs as either your System or User VM.
> Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information
> mark@firefly ~/Desktop $
>
> mark@firefly ~/Desktop $ cat /etc/portage/package.keywords
> sys-kernel/gentoo-sources ~amd64
> sys-apps/portage ~amd64
> sys-apps/sandbox ~amd64
> app-cdr/cdrtools ~amd64
> x11-misc/read-edid ~amd64
> sys-kernel/rt-sources ~amd64
> media-sound/alsa-tools ~amd64
> games-action/extreme-tuxracer ~amd64
> media-sound/jack-audio-connection-kit ~amd64
> dev-php5/php-gtk ~amd64
> media-tv/huludesktop ~amd64
> mark@firefly ~/Desktop $
>
>
> - Mark
>

NOTE: It also worked the same for me when I switched to Iced-Tea6-bin,
both stable and ~amd64.

mark@firefly ~/Desktop $ java-config -L
The following VMs are available for generation-2:
*)	IcedTea6-bin 1.6.2 [icedtea6-bin]
2)	Sun JRE 1.6.0.17 [sun-jre-bin-1.6]

VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.
Gentoo recommends not setting these VMs as either your System or User VM.
Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information
mark@firefly ~/Desktop $



mark@firefly ~/Desktop $ java-config -L
The following VMs are available for generation-2:
*)	IcedTea6-bin 1.7 [icedtea6-bin]
2)	Sun JRE 1.6.0.17 [sun-jre-bin-1.6]

VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.
Gentoo recommends not setting these VMs as either your System or User VM.
Please see http://www.gentoo.org/doc/en/java.xml#build-only for more information
mark@firefly ~/Desktop $

mark@firefly ~/Desktop $ java-config -l
[ant-core] Java-based build tool similar to 'make' that uses XML
configuration files. (/usr/share/ant-core/package.env)
[cyrus-sasl-2] The Cyrus SASL (Simple Authentication and Security
Layer). (/usr/share/cyrus-sasl-2/package.env)
[db-4.7] Oracle Berkeley DB (/usr/share/db-4.7/package.env)
[antlr] A parser generator for C++, C#, Java, and Python
(/usr/share/antlr/package.env)
[gjdoc] A javadoc compatible Java source documentation generator.
(/usr/share/gjdoc/package.env)
[xulrunner-1.9] Mozilla runtime package that can be used to bootstrap
XUL+XPCOM applications (/usr/share/xulrunner-1.9/package.env)
[pdflib-5] A library for generating PDF on the fly.
(/usr/share/pdflib-5/package.env)
[subversion] Advanced version control system (/usr/share/subversion/package.env)
[pilot-link] suite of tools for moving data between a Palm device and
a desktop (/usr/share/pilot-link/package.env)
[freemind] Mind-mapping software written in Java
(/usr/share/freemind/package.env)
[libidn] Internationalized Domain Names (IDN) implementation
(/usr/share/libidn/package.env)
mark@firefly ~/Desktop $

Cheers,
Mark

Cheers,
Mark



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-07 15:06 ` Mark Knecht
  2010-02-07 15:25   ` Mark Knecht
@ 2010-02-07 17:16   ` Peter Humphrey
  2010-02-07 18:12     ` Mark Knecht
  1 sibling, 1 reply; 11+ messages in thread
From: Peter Humphrey @ 2010-02-07 17:16 UTC (permalink / raw
  To: gentoo-user

On Sunday 07 February 2010 15:06:37 Mark Knecht wrote:

> Runs for me. I don't know how to use it but the GUI comes up and it
> allows me to start creating something.

Hmm. After switching to iced-tea I get the same compile error* but the GUI 
comes up and the program appears to work. What the hell.

*     [javac] Compiling 100 source files to /tmp/portage/app-
misc/freemind-0.9.0_rc6/work/freemind/binding/classes                                                    
     [echo] Running binding compiler...                                           
     [bind] Failed setting classpath from Ant task                                


Thanks for the reply, Mark.

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-07 17:16   ` Peter Humphrey
@ 2010-02-07 18:12     ` Mark Knecht
  2010-02-07 23:57       ` Peter Humphrey
  0 siblings, 1 reply; 11+ messages in thread
From: Mark Knecht @ 2010-02-07 18:12 UTC (permalink / raw
  To: gentoo-user

On Sun, Feb 7, 2010 at 9:16 AM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> On Sunday 07 February 2010 15:06:37 Mark Knecht wrote:
>
>> Runs for me. I don't know how to use it but the GUI comes up and it
>> allows me to start creating something.
>
> Hmm. After switching to iced-tea I get the same compile error* but the GUI
> comes up and the program appears to work. What the hell.
>
> *     [javac] Compiling 100 source files to /tmp/portage/app-
> misc/freemind-0.9.0_rc6/work/freemind/binding/classes
>     [echo] Running binding compiler...
>     [bind] Failed setting classpath from Ant task
>
>
> Thanks for the reply, Mark.
>
> --
> Rgds
> Peter.
>
>

What do you see with java-config -l ?

In my previous response it showed some ant stuff. Seems like that's
possibly part of the difference?

Note that I didn't look very hard for compile errors or anything else.
If you want me to let me know what to look for. I just built it and
ran it.

Cheers,
Mark



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-07 18:12     ` Mark Knecht
@ 2010-02-07 23:57       ` Peter Humphrey
  2010-02-08 19:36         ` Mark Knecht
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Humphrey @ 2010-02-07 23:57 UTC (permalink / raw
  To: gentoo-user

On Sunday 07 February 2010 18:12:58 Mark Knecht wrote:

> What do you see with java-config -l ?

$ java-config -L
The following VMs are available for generation-2:
*)      IcedTea6-bin 1.7 [icedtea6-bin]
2)      Sun JDK 1.5.0.22 [sun-jdk-1.5]

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-07 14:46 [gentoo-user] Problem compiling freemind Peter Humphrey
  2010-02-07 15:06 ` Mark Knecht
@ 2010-02-08 13:05 ` Arttu V.
  2010-02-08 19:29   ` Peter Humphrey
  1 sibling, 1 reply; 11+ messages in thread
From: Arttu V. @ 2010-02-08 13:05 UTC (permalink / raw
  To: gentoo-user

On 2/7/10, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> Can someone who knows more Java than I do see what's missing?

I claim no knowledge over java on Gentoo (they changed it again when I
just thought I had it figured out).

But you could try running a small sanity check for java: java-check-environment

-- 
Arttu V.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-08 13:05 ` Arttu V.
@ 2010-02-08 19:29   ` Peter Humphrey
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Humphrey @ 2010-02-08 19:29 UTC (permalink / raw
  To: gentoo-user

On Monday 08 February 2010 13:05:25 Arttu V. wrote:

> But you could try running a small sanity check for java:
> java-check-environment

It reports sanity and offers me congratulations.

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-07 23:57       ` Peter Humphrey
@ 2010-02-08 19:36         ` Mark Knecht
  2010-02-09  0:50           ` Peter Humphrey
  0 siblings, 1 reply; 11+ messages in thread
From: Mark Knecht @ 2010-02-08 19:36 UTC (permalink / raw
  To: gentoo-user

On Sun, Feb 7, 2010 at 3:57 PM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> On Sunday 07 February 2010 18:12:58 Mark Knecht wrote:
>
>> What do you see with java-config -l ?
>
> $ java-config -L
> The following VMs are available for generation-2:
> *)      IcedTea6-bin 1.7 [icedtea6-bin]
> 2)      Sun JDK 1.5.0.22 [sun-jdk-1.5]
>
> --
> Rgds
> Peter.
>
>
I actually meant to try the lower case L. Mine shows some ant stuff
which I think you were having trouble with, at least in the compile
messages?

- Mark

mark@firefly ~/Desktop $ java-config -l
[cyrus-sasl-2] The Cyrus SASL (Simple Authentication and Security
Layer). (/usr/share/cyrus-sasl-2/package.env)
[antlr] A parser generator for C++, C#, Java, and Python
(/usr/share/antlr/package.env)
[gjdoc] A javadoc compatible Java source documentation generator.
(/usr/share/gjdoc/package.env)
[xulrunner-1.9] Mozilla runtime package that can be used to bootstrap
XUL+XPCOM applications (/usr/share/xulrunner-1.9/package.env)
[pdflib-5] A library for generating PDF on the fly.
(/usr/share/pdflib-5/package.env)
[subversion] Advanced version control system (/usr/share/subversion/package.env)
[pilot-link] suite of tools for moving data between a Palm device and
a desktop (/usr/share/pilot-link/package.env)
[db-4.7] Oracle Berkeley DB (/usr/share/db-4.7/package.env)
[libidn] Internationalized Domain Names (IDN) implementation
(/usr/share/libidn/package.env)
mark@firefly ~/Desktop $



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-08 19:36         ` Mark Knecht
@ 2010-02-09  0:50           ` Peter Humphrey
  2010-02-09  1:54             ` Mark Knecht
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Humphrey @ 2010-02-09  0:50 UTC (permalink / raw
  To: gentoo-user

On Monday 08 February 2010 19:36:49 Mark Knecht wrote:

> I actually meant to try the lower case L. Mine shows some ant stuff
> which I think you were having trouble with, at least in the compile
> messages?

Hmm. That gave me the clue; yes, freemind was throwing an ant error 
during compilation (but that didn't prevent emerge from reporting 
success), so I recompiled all the ant* packages on the system and that's 
fixed it.

Problem now is that I asked for ant-core, ant-nodeps, ant-trax and antlr 
to be remerged, but I saw this:

$ eix -I ant
...
[U] dev-java/antlr (2.7.7@22/01/10 -> 2.7.7{tbz2} 3.1.3-r2(3)): A parser 
generator for C++, C#, Java, and Python
...

That's a puzzle, because I'd only just run an emerge --sync and -uaDv 
world, so why was antlr not upgraded then?

The upgrade of antlr pulled in a new package, stringtemplate.

Whatever was wrong, reinstalling those four packages solved my problem. 
Thanks for the hint, Mark.

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Problem compiling freemind
  2010-02-09  0:50           ` Peter Humphrey
@ 2010-02-09  1:54             ` Mark Knecht
  0 siblings, 0 replies; 11+ messages in thread
From: Mark Knecht @ 2010-02-09  1:54 UTC (permalink / raw
  To: gentoo-user

On Mon, Feb 8, 2010 at 4:50 PM, Peter Humphrey <peter@humphrey.ukfsn.org> wrote:
> On Monday 08 February 2010 19:36:49 Mark Knecht wrote:
>
>> I actually meant to try the lower case L. Mine shows some ant stuff
>> which I think you were having trouble with, at least in the compile
>> messages?
>
> Hmm. That gave me the clue; yes, freemind was throwing an ant error
> during compilation (but that didn't prevent emerge from reporting
> success), so I recompiled all the ant* packages on the system and that's
> fixed it.
>
> Problem now is that I asked for ant-core, ant-nodeps, ant-trax and antlr
> to be remerged, but I saw this:
>
> $ eix -I ant
> ...
> [U] dev-java/antlr (2.7.7@22/01/10 -> 2.7.7{tbz2} 3.1.3-r2(3)): A parser
> generator for C++, C#, Java, and Python
> ...
>
> That's a puzzle, because I'd only just run an emerge --sync and -uaDv
> world, so why was antlr not upgraded then?
>
> The upgrade of antlr pulled in a new package, stringtemplate.
>
> Whatever was wrong, reinstalling those four packages solved my problem.
> Thanks for the hint, Mark.
>
> --
> Rgds
> Peter.

Great news that it works. The rest of it is probably just one of those
mysteries that account for the rich tapestry of life.

Have fun,
Mark



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-02-09  2:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-07 14:46 [gentoo-user] Problem compiling freemind Peter Humphrey
2010-02-07 15:06 ` Mark Knecht
2010-02-07 15:25   ` Mark Knecht
2010-02-07 17:16   ` Peter Humphrey
2010-02-07 18:12     ` Mark Knecht
2010-02-07 23:57       ` Peter Humphrey
2010-02-08 19:36         ` Mark Knecht
2010-02-09  0:50           ` Peter Humphrey
2010-02-09  1:54             ` Mark Knecht
2010-02-08 13:05 ` Arttu V.
2010-02-08 19:29   ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox