public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
From: Ray Auge <rayauge@doublebite.com>
To: rhug-list <rhug-rhats@sources.redhat.com>
Subject: [naoko] PPC rpms and Yellow Dog Linux
Date: Wed, 19 Nov 2003 16:05:00 -0000	[thread overview]
Message-ID: <1069136376.1258.167.camel@ibook> (raw)
In-Reply-To: <20031114100221.GB12866@redhat.com>

Status of Naoko on Yellow Dog Linux 3.0.1, based on those PPC packages
(this all from a rookie, mind you, not much skill at real testing)

	1) force install of redhat-java-rpm-scripts
		(YDL has coreutils split into three seperate rpms, so 		deps failed,
but all the required tools are there and 		apparently of good versions)

	>rpm -i --nodeps redhat-java-rpm-scripts-1.0.2-2.noarch.rpm
	
	2) installed Naoko (in order)
		- junit, libgcc-ssa, libgcj-ssa
		- gcc-java-ssa, gcc-ssa, libgcj-ssa-devel
		- jaf
		- jakarta-regexp
		- cup
		- xerces-j, commons-logging, commons-collections
		- servletapi, javamail, bcel, commons-beanutils
		- commons-fileupload, xalan-j, commons-digester
		- mx4j, mysql-jdbc, struts, commons-modeler
		- tomcat, ant-libs, tomcat-libs, libstdc++-ssa

	3) first test was to compile something simple(with at least a couple
imports) with gcj:

////////////////////////////////////////////////////////
import java.util.Calendar;
import java.util.GregorianCalendar;

public class TestNaoko{

	private Calendar cal;
	
	public TestNaoko(){
		cal = new GregorianCalendar();
	}
	
	public String getSystemDate(){
		int year = cal.get(Calendar.YEAR);
		int month = cal.get(Calendar.MONTH);
		String mon = "";
		int day = cal.get(Calendar.DAY_OF_MONTH);
		int dayOfWeek = cal.get(Calendar.DAY_OF_WEEK);
		String dow = "";
		switch(month){
			...
		}
		switch(dayOfWeek){
			...
		}
		return new String(dow + ", " + mon + " " + day + ", " + year);
	}
	
	public static void main(String[] args){
		TestNaoko t = new TestNaoko();
		System.out.println(t.getSystemDate());
	}

}
//////////////////////////////////////////////////////////////
compiled with:
	>gcj-ssa TestNaoko.java --main=TestNaoko -o TestNaoko
	>./TestNaoko
	Tuesday, November 18, 2003


	4) did further tests against xerces-j like this (arbitrary code):
	>gcj-ssa ServiceTracer.java Mapper.java MapTracer.java MapperRule.java
ActionNode.java --main=ServiceTracer -o ServiceTracer -L/usr/lib
-l-org-w3c-dom

	- outcome was good.

I'll assume that it's all good from here... Thank you very much Gary.
Now I can continue my Thesis with confidence.



PS: How do I assemble files arranged in a package:

	/last/
	/last/map/
	/last/map/Mapper.java
	/last/map/MapperRule.java
	/last/map/MapTracer.java
	/last/map/ServiceMapper.java
	/last/map/ActionNode.java

I tried:

>gcj-ssa last/map/*.java --main=last.map.Mapper -o Mapper -L/usr/lib
-l-org-w3c-dom

and get

>./Mapper
java.lang.NullPointerException
   at _Jv_equalUtf8Consts(_Jv_Utf8Const, _Jv_Utf8Const)
(/lib/ssa/libgcj.so.4.0.0)
   at last.map.MapTracer.getMapRules() (Unknown Source)
   at last.map.Mapper.Mapper(java.lang.String) (Unknown Source)
   at last.map.Mapper.main(java.lang.String[]) (Unknown Source)
java.lang.NullPointerException
   at _Jv_equalUtf8Consts(_Jv_Utf8Const, _Jv_Utf8Const)
(/lib/ssa/libgcj.so.4.0.0)
   at last.map.MapTracer.getMapRules() (Unknown Source)
   at last.map.Mapper.Mapper(java.lang.String) (Unknown Source)
   at last.map.Mapper.main(java.lang.String[]) (Unknown Source)
java.lang.NullPointerException
   at _Jv_equalUtf8Consts(_Jv_Utf8Const, _Jv_Utf8Const)
(/lib/ssa/libgcj.so.4.0.0)
   at last.map.MapTracer.getMapRules() (Unknown Source)
   at last.map.Mapper.Mapper(java.lang.String) (Unknown Source)
   at last.map.Mapper.main(java.lang.String[]) (Unknown Source)
java.lang.NullPointerException
   at _Jv_equalUtf8Consts(_Jv_Utf8Const, _Jv_Utf8Const)
(/lib/ssa/libgcj.so.4.0.0)
   at last.map.MapTracer.getMapRules() (Unknown Source)
   at last.map.Mapper.Mapper(java.lang.String) (Unknown Source)
   at last.map.Mapper.main(java.lang.String[]) (Unknown Source)


Thanks

Ray

  parent reply	other threads:[~2003-11-19 16:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 10:02 [naoko] PPC packages available Gary Benson
2003-11-18  0:46 ` Ray Auge
2003-11-18  7:50   ` Paul Nasrat
2003-11-18  6:20 ` [naoko] PPC rpms and Yellow Dog Linux Ray Auge
2003-11-19 16:05 ` Ray Auge [this message]
2003-11-19 16:05 ` [naoko] PPC packages available Ray Auge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1069136376.1258.167.camel@ibook \
    --to=rayauge@doublebite.com \
    --cc=rhug-rhats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).