[fedora-java] Java OpenGL on FC4

John M. Gabriele john_sips_tea at yahoo.com
Mon Aug 15 01:17:33 UTC 2005



--- Thomas Fitzsimmons <fitzsim at redhat.com> wrote:

> On Sun, 2005-08-14 at 14:58 -0700, John M. Gabriele wrote:
> > What's preferred for use on FC4: jogl or lwjgl? Or
> > is there a third option -- maybe some way to do it
> > with Java-Gnome?
> > 
> > I can't find jogl or lwjgl with yum search.
> > 
> > I found some jogl rpms in Anthony Green's folder:
> > http://people.redhat.com/green/FC4/
> > 
> > but when I try to install them it tells me:
> > 
> > [root at localhost temp]# ls *.rpm
> > jogl-1.1b11-1fc.i386.rpm  jogl-javadoc-1.1b11-1fc.i386.rpm
> > [root at localhost temp]# rpm -ihv jogl-*
> > error: Failed dependencies:
> >         libjawt.so.6 is needed by jogl-1.1b11-1fc.i386
> > 
> > Looks like a libjawt was renamed, but these rpms don't
> > know about it.
> 
> At least some of the jogl tests work on Fedora Core 4.  Try rebuilding
> Anthony's jogl RPMs from the SRPM:
> 
> rpmbuild --rebuild <jogl SRPM>
> 

I ran:
rpmbuild --rebuild jogl-1.1b11-1fc.src.rpm

and it created three rpms:

[root at localhost temp]# ls -l /usr/src/redhat/RPMS/i386/
total 7556
-rw-r--r--  1 root root 4649324 Aug 14 20:44 jogl-1.1b11-1fc.i386.rpm
-rw-r--r--  1 root root 1781057 Aug 14 20:45 jogl-debuginfo-1.1b11-1fc.i386.rpm
-rw-r--r--  1 root root 1266692 Aug 14 20:44 jogl-javadoc-1.1b11-1fc.i386.rpm

I then installed them:

[root at localhost temp]# rpm -ihv /usr/src/redhat/RPMS/i386/*.rpm
Preparing...                ########################################### [100%]
   1:jogl-javadoc           ########################################### [ 33%]
   2:jogl                   ########################################### [ 67%]
   3:jogl-debuginfo         ########################################### [100%]


[root at localhost temp]# rpm -qa | grep -i jogl
jogl-1.1b11-1fc
jogl-javadoc-1.1b11-1fc
jogl-debuginfo-1.1b11-1fc


The user guide landed here:
file:///usr/share/doc/jogl-1.1b11/userguide/index.html

And the javadocs here:
file:///usr/share/javadoc/jogl-1.1b11/index.html

I put my notes on it here:
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOpenGL

---John



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 




More information about the fedora-devel-java-list mailing list