[Fedora-packaging] Help packaging Jogl/Gluegen

Chen Lei supercyper at 163.com
Sun Feb 21 05:57:46 UTC 2010


jogl was retired in fedora due to licensing problem. You can contact the original maintainer of jogl(<green at redhat.com>) in fedora to see if the licensing problem was solved yet.
See http://cvs.fedoraproject.org/viewvc/rpms/jogl/devel/



在2010-02-21 04:42:57,"Henrique Junior" <henriquecsj at gmail.com> 写道:

Hi, to make Scilab[1] available in Fedora we need to package JOGL/Gluegen[2] first.
Sylvestre Ledru (Debian's maintainer) and I started to work on the packaging, but as he is not familiar with the structure used in Fedora and as I have no experience with Java, we've reached the point of needing some help.
Anyone here installed JOGL before and is familiar with your settings?
Here are a few installation steps:

-----------------------------------------


Hi, Sylvestre,

To understand how to install jogl and gluegen I'm trying a simple install first. Both, jogl and gluegen are placed side by side:

[lonely at localhost jogl]$ pwd 

/home/lonely/jogl 

[lonely at localhost jogl]$ ls 

gluegen jogl




CLASSPATH is unseted:

[lonely at localhost jogl]$ echo $CLASSPATH 





And make/gluegen.propertiess is in my home. Using "locate" I can see 3 antlr.jar in my system:

l[root at localhost ~]# locate antlr.jar
/usr/share/ant/lib/ant-antlr.jar
/usr/share/java/antlr.jar
/usr/share/java/ant/ant-antlr.jar

I'll be pointing gluegen.propertiess to /usr/share/java/antlr.jar and commenting this win32.c.compiler=vc6




jogl.properties is in my home also, but I'm not sure where to point it. I have OpenJDK installed (including the devel package):

[root at localhost ~]# locate *openjdk
/etc/alternatives/java_sdk_openjdk
/etc/alternatives/jre_openjdk
/usr/lib/jvm/java-1.6.0-openjdk
/usr/lib/jvm/java-openjdk
/usr/lib/jvm/jre-1.6.0-openjdk
/usr/lib/jvm/jre-openjdk
/usr/lib/jvm-exports/java-1.6.0-openjdk
/usr/lib/jvm-exports/java-openjdk
/usr/lib/jvm-exports/jre-1.6.0-openjdk
/usr/lib/jvm-exports/jre-openjdk
/usr/lib/jvm-private/java-1.6.0-openjdk
/var/lib/alternatives/java_sdk_openjdk
/var/lib/alternatives/jre_openjdk




When I run ant in "/make" I got this:

BUILD FAILED
/home/lonely/jogl/jogl/make/build.xml:1562: The following error occurred while executing this line:
/home/lonely/jogl/jogl/make/build.xml:487: The following error occurred while executing this line:
/home/lonely/jogl/gluegen/make/build.xml:458: The following error occurred while executing this line:
/home/lonely/jogl/gluegen/make/build.xml:378: The following error occurred while executing this line:
/home/lonely/jogl/gluegen/make/gluegen-cpptasks.xml:400: suncc is not a legal value for this attribute





If you want to take a look at the compilation log, look at the attachment.


 
Please, take in mind that I'm a java n00b ;)


[1] - http://www.scilab.org/
[2] - https://bugzilla.redhat.com/show_bug.cgi?id=439630
SOURCE: http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1a/jogl-1.1.1a-src.zip
BUILD INSTRUCTIONS: http://download.java.net/media/jogl/doc/HowToBuild.html

 


------------------------------
Henrique "LonelySpooky" Junior




Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/packaging/attachments/20100221/f025766f/attachment.html 


More information about the packaging mailing list