FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-07-2010, 01:46 PM
Peter Humphrey
 
Default Problem compiling freemind

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.
 
Old 02-07-2010, 02:06 PM
Mark Knecht
 
Default Problem compiling freemind

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
 
Old 02-07-2010, 02:25 PM
Mark Knecht
 
Default Problem compiling freemind

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
 
Old 02-07-2010, 04:16 PM
Peter Humphrey
 
Default Problem compiling freemind

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.
 
Old 02-07-2010, 05:12 PM
Mark Knecht
 
Default Problem compiling freemind

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
 
Old 02-07-2010, 10:57 PM
Peter Humphrey
 
Default Problem compiling freemind

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.
 
Old 02-08-2010, 12:05 PM
"Arttu V."
 
Default Problem compiling freemind

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.
 
Old 02-08-2010, 06:29 PM
Peter Humphrey
 
Default Problem compiling freemind

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.
 
Old 02-08-2010, 06:36 PM
Mark Knecht
 
Default Problem compiling freemind

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 $
 
Old 02-08-2010, 11:50 PM
Peter Humphrey
 
Default Problem compiling freemind

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.
 

Thread Tools




All times are GMT. The time now is 02:18 PM.

VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org