public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] Problems with libgnome-java emerge
@ 2005-07-14 15:30 Peter B. West
  2005-07-15  1:31 ` Andrew Cowie
  0 siblings, 1 reply; 2+ messages in thread
From: Peter B. West @ 2005-07-14 15:30 UTC (permalink / raw
  To: gentoo-java

My java-config setting is sun-jdk-1.5.0.04, but I have tried this with ,
and when I attempt to
$ emerge --update libgnome-java, I get
(cd .libs && rm -f libgnomejni.la && ln -s ../libgnomejni.la
                                  libgnomejni.la)
/opt/sun-jdk-1.4.2.08/bin/javac -classpath
  /usr/share/libgtk-java-2.6/lib/gtk2.6-2.6.2.jar:./src/java:src/java -d
  src/java src/java/org/gnu/gnome/About.java
src/java/org/gnu/gnome/About.java:11: package org.gnu.gdk does not exist
import org.gnu.gdk.Pixbuf;
                   ^
Any idea how to get this to work?

Peter
-- 
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>
<http://folio.bkbits.net/> <- the atTridged version
-- 
gentoo-java@gentoo.org mailing list



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

* Re: [gentoo-java] Problems with libgnome-java emerge
  2005-07-14 15:30 [gentoo-java] Problems with libgnome-java emerge Peter B. West
@ 2005-07-15  1:31 ` Andrew Cowie
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cowie @ 2005-07-15  1:31 UTC (permalink / raw
  To: gentoo-java

On Thu, 2005-14-07 at 16:30 +0100, Peter B. West wrote:
> My java-config setting is sun-jdk-1.5.0.04, but I have tried this with ,

> and when I attempt to
> $ emerge --update libgnome-java, I get
> (cd .libs && rm -f libgnomejni.la && ln -s ../libgnomejni.la
>                                   libgnomejni.la)
> /opt/sun-jdk-1.4.2.08/bin/javac -classpath

I'm not sure off hand why it's actually using 1.4.2 and not your 1.5
install, but regardless, that's good, as the java-gnome hacker team
aren't developing with 1.5 at the moment.

As for why

>   /usr/share/libgtk-java-2.6/lib/gtk2.6-2.6.2.jar:./src/java:src/java -d
>   src/java src/java/org/gnu/gnome/About.java
> src/java/org/gnu/gnome/About.java:11: package org.gnu.gdk does not exist
> import org.gnu.gdk.Pixbuf;

didn't work, that actually has me a little puzzled. My first instinct
would be to ensure that the same compiler built both libgtk-java and
libgnome-java, but beyond that I'm not quite sure. Try setting your
compiler to 1.4, and then rebuilding libgtk-java-2.6.2

If you're building this to *use* it to develop something, I recommend
for further questions you come up on
java-gnome-developers@lists.sourceforge.net

AfC
Sydney

P.S. We're getting close to a libgtk-java 2.6.3; I'll update the ebuild
just as soon as that does come to pass.

-- 
Andrew Frederick Cowie

Technology strategy, managing change, establishing procedures,
and executing successful upgrades to mission critical business
infrastructure.

http://www.operationaldynamics.com/

Sydney   New York   Toronto   London

-- 
gentoo-java@gentoo.org mailing list



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

end of thread, other threads:[~2005-07-15  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 15:30 [gentoo-java] Problems with libgnome-java emerge Peter B. West
2005-07-15  1:31 ` Andrew Cowie

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