public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* rhug status
@ 2003-09-07 18:18 Bart Locanthi
  2003-09-08 15:59 ` Anthony Green
  0 siblings, 1 reply; 8+ messages in thread
From: Bart Locanthi @ 2003-09-07 18:18 UTC (permalink / raw)
  To: rhug-rhats

how up to date is all this?

i tried making xalan and 1) had to hack the Makefile to tell gcj to scan 
apache-regexp, and 2) whether i use the [hacked] libtool-1.4e or the 
current libtool-1.4.3 i get a link error:

libtool: link: 
`upstream/src/org/apache/xalan/res/XSLTInfo.properties.lo' is not a 
valid libtool object
make[1]: *** [lib-org-apache-xalan.la] Error 1

the top-level make appears broken as well. it almost immediately fails, 
attempting to build gnu.readline:

make[1]: Entering directory `/home/bart/java/rhug/gnu.readline'
(cd upstream/src; for x in `find ./ -name \*.class`; do gcjh `echo $x | 
sed "s/\.\///g" | sed "s/.class//g"`; done;)
org/gnu/readline/Readline: no such class
org/gnu/readline/ReadlineCompleter: no such class
org/gnu/readline/ReadlineReader: no such class
org/gnu/readline/ReadlineLibrary: no such class
make[1]: *** [gnu.readline-0.6.jar] Error 1

i'm using gcc-3.3.1 on RH9.

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

* Re: rhug status
  2003-09-07 18:18 rhug status Bart Locanthi
@ 2003-09-08 15:59 ` Anthony Green
       [not found]   ` <3F5CB32B.3060203@sabl.com>
  2003-09-08 17:11   ` Gary Benson
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony Green @ 2003-09-08 15:59 UTC (permalink / raw)
  To: Bart Locanthi; +Cc: rhug-rhats

On Sun, 2003-09-07 at 11:18, Bart Locanthi wrote:
> how up to date is all this?
> 
> i tried making xalan and 1) had to hack the Makefile to tell gcj to scan 
> apache-regexp,

I'm testing this now.  I don't remember having to hand tweak this.

>  and 2) whether i use the [hacked] libtool-1.4e or the 
> current libtool-1.4.3 i get a link error:

Unfortunately, you need special versions of the maintainer tools for
now:
ftp://sources.redhat.com/pub/rhug/rhug-maintainer-tools.tar.gz

> 
> the top-level make appears broken as well. it almost immediately fails, 
> attempting to build gnu.readline:

It's possible that configuring/building with srcdir==builddir is broken.
I just tried configuring and building outside of the source tree and it
works just fine.  Have you tried this?

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.

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

* Re: rhug status
       [not found]   ` <3F5CB32B.3060203@sabl.com>
@ 2003-09-08 16:59     ` Anthony Green
       [not found]     ` <1063040272.3495.22.camel@escape>
  1 sibling, 0 replies; 8+ messages in thread
From: Anthony Green @ 2003-09-08 16:59 UTC (permalink / raw)
  To: Bart Locanthi; +Cc: rhug-rhats

On Mon, 2003-09-08 at 09:49, Bart Locanthi wrote:
> what's special about the maintainer tools? is it still special? i did 
> try them, but i would prefer not to have older stuff lying around.

I believe they are still special.  I don't recall what the differences
are - but some of the changes are simple (don't add -DPIC to gcj command
line, for instance).

> i have yet to try building outside of the source tree. are there any 
> other ./configure switches you would suggest setting?

--disable-static

> the errors from UTF as illegal chars seem pretty hard. this may be a
new 
> development with gcc-3.3.1.

I don't think you mentioned this error in your mail.  Could you please
describe it?  rhug should build with 3.3.1.

I hope you don't mind that I'm keeping the list on copy.  The archives
are often a useful resource for people looking for help.

Thanks,

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.

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

* Re: rhug status
  2003-09-08 15:59 ` Anthony Green
       [not found]   ` <3F5CB32B.3060203@sabl.com>
@ 2003-09-08 17:11   ` Gary Benson
  1 sibling, 0 replies; 8+ messages in thread
From: Gary Benson @ 2003-09-08 17:11 UTC (permalink / raw)
  To: rhug-rhats; +Cc: Bart Locanthi

Anthony Green wrote:
> On Sun, 2003-09-07 at 11:18, Bart Locanthi wrote:
> > i tried making xalan and 1) had to hack the Makefile to tell gcj
> > to scan apache-regexp,
> 
> I'm testing this now.  I don't remember having to hand tweak this.

srcdir!=builddir is broken in xalan -- I committed a fix for xerces,
and intended to fix the rest when Tom confirmed that the automatic
builds were working, but it got lost somewhere.  Is this the problem
here?

Gary

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

* Re: rhug status
       [not found]       ` <3F5CB782.5090203@sabl.com>
@ 2003-09-08 17:17         ` Anthony Green
  2003-09-08 17:28           ` Bart Locanthi
  0 siblings, 1 reply; 8+ messages in thread
From: Anthony Green @ 2003-09-08 17:17 UTC (permalink / raw)
  To: Bart Locanthi; +Cc: rhug-rhats

On Mon, 2003-09-08 at 10:08, Bart Locanthi wrote:
> gcj has been barfing on stuff in comments in BCEL and xalan. in the 
> former, the literature reference symbol (as in $3.5.2 where $ is 
> replaced by something that looks like a line integral), in the latter, 
> stuff like u-umlaut in Fahrfergnugen. i elided these rather clumsily so 
> i have no line numbers for you.

This shouldn't be happening.  Do you see --encoding=8859_1 on the
compile line?  And you say this is with GCC 3.3.1 on a RHL9 machine? 
How did you configure the compiler when you built it?

BTW, I just checked in a fix for the jakarta-regexp classpath problem in
Xalan.

Thanks,

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.

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

* Re: rhug status
  2003-09-08 17:17         ` Anthony Green
@ 2003-09-08 17:28           ` Bart Locanthi
  0 siblings, 0 replies; 8+ messages in thread
From: Bart Locanthi @ 2003-09-08 17:28 UTC (permalink / raw)
  To: Anthony Green; +Cc: rhug-rhats

ahhh.. this is my bad.

with the dependency issue that seemed to be there (the build immediately 
failed on gnu.readline, perhaps because of objdir==srcdir), i wrote my 
own makefiles and didn't set that flag.

btw the art of efficiently making gcj targets seems to elude both make 
and ant. is there a best standard practice for this?

i understand the intent of using traditional .java->.class via make to 
bootstrap, but the ant stage of doing it en masse (yay!) still leaves 
the issue of generating .o's, which is almost as slow as going straight 
to .o from .java.

i've taken to having rules like below and loading the few resulting .o's.

    gcj -c -o dir.o -classpath dir `find dir -name '*.java'`

you need a slightly more complex thing when other classpath entries are 
necessary.

Anthony Green wrote:

>On Mon, 2003-09-08 at 10:08, Bart Locanthi wrote:
>  
>
>>gcj has been barfing on stuff in comments in BCEL and xalan. in the 
>>former, the literature reference symbol (as in $3.5.2 where $ is 
>>replaced by something that looks like a line integral), in the latter, 
>>stuff like u-umlaut in Fahrfergnugen. i elided these rather clumsily so 
>>i have no line numbers for you.
>>    
>>
>
>This shouldn't be happening.  Do you see --encoding=8859_1 on the
>compile line?  And you say this is with GCC 3.3.1 on a RHL9 machine? 
>How did you configure the compiler when you built it?
>
>BTW, I just checked in a fix for the jakarta-regexp classpath problem in
>Xalan.
>
>Thanks,
>
>AG
>
>  
>

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

* rhug status
@ 2001-09-18 12:25 Anthony Green
  0 siblings, 0 replies; 8+ messages in thread
From: Anthony Green @ 2001-09-18 12:25 UTC (permalink / raw)
  To: rhug-rhats

Alex asked me to summarize where we are, and what needs to still be done...

* Everything _should_ build out of the box with the latest gcj
tools/libraries.  I was twiddling with dependencies recently, and just fixed a
bug Per found.

* xsltp/xsltc from Xalan work nicely.

* `make check' needs to be implemented where appropriate.

* Tomcat runs once you copy the webapps directory in the right place. (and
`make install' needs to be finished for this)

* Not all of the servlets run properly (the last two examples - session and
cookie).  This needs to be debugged.

* JSP doesn't work yet.  I've introduced a stub for GnuCompiler.java.  It
needs to generate a shared library.

Those are the critical items.

Tomcat 4 was just released.  Upgrading would also be nice - but it seems like
we're so close with 3.2.3, let's just figure out the JSP bits and get the rest
of the example Servlets working.

libgcj needs SSL support for secure communications.  I started implementing
the pure java bits a couple of months ago.  I figure the smart thing to do is
simply wrap up OpenSSL.

Per suggested building all of the .java files in one compile line for each
library.  This seems like a good idea, although I don't know how it would
interact with libtool.

Any help would be appreciated.

Thanks,

AG


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

* rhug status
@ 2001-09-03 23:42 Anthony Green
  0 siblings, 0 replies; 8+ messages in thread
From: Anthony Green @ 2001-09-03 23:42 UTC (permalink / raw)
  To: rhug-rhats; +Cc: Java@Gcc. Gnu. Org

I did some hacking on http://sources.redhat.com/rhug this weekend.

* The most exciting thing was getting output from Tomcat.  This is a big
program that excercises a lot of code, including xerces.  It appears to serve
up static pages ok.  Attempting to run a servlet from a .class file results in
a NullPointerException from
javax.servlet.GenericServlet.log(java.lang.String) -- although it kindly
reports this in a nice web page and continues running. It looks like it's
creating the appropriate log files, but never writes anything to them.  For
the Red Hat guys, I've left the server up tonight at
http://fencer.cygnus.com:8080/examples .

* Switched to automake 1.5.

* I spend a fair bit of time hacking on the gnu.regexp configury, trying to
figure out the best way to build, and install the .so, .jar, headers, etc.
There's a primitive "make check" as well.

* I added some of the Xerces sample programs to check_PROGRAMS, and they run
fine by hand.  Getting them to run with "make check" is next.

* Xalan builds and says semi-intelligent stuff now.  It builds two command
line programs (xsltc and xsltp).

The "gcj -R" patches I submitted this weekend are used throughout the tree.
Tomcat also requires the iso8859_1 runtime patch.

There are about 12 Makefile.in files adding up to almost 6MB!  The largest,
rhug/xalan/Makefile.in, is about 1.9MB.

It would be great to get some help.  Just check it out and try building...

Thanks!

AG


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

end of thread, other threads:[~2003-09-08 17:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-07 18:18 rhug status Bart Locanthi
2003-09-08 15:59 ` Anthony Green
     [not found]   ` <3F5CB32B.3060203@sabl.com>
2003-09-08 16:59     ` Anthony Green
     [not found]     ` <1063040272.3495.22.camel@escape>
     [not found]       ` <3F5CB782.5090203@sabl.com>
2003-09-08 17:17         ` Anthony Green
2003-09-08 17:28           ` Bart Locanthi
2003-09-08 17:11   ` Gary Benson
  -- strict thread matches above, loose matches on Subject: below --
2001-09-18 12:25 Anthony Green
2001-09-03 23:42 Anthony Green

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).