[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: trouble compiling javahl with gcj

From: Tim Olsen <tolsen718_at_gmail.com>
Date: 2004-11-21 16:31:39 CET

I've gotten a little bit further now. After trying the "make javahl",
I see that it can't find javah. So I change the Makefile to use gcjh.
 But then I get this:

/usr/bin/gcjh-3.4 -d subversion/bindings/java/javahl/include
-classpath subversion/bindings/java/javahl/classes:
org.tigris.subversion.javahl.DirEntry
org.tigris.subversion.javahl.SVNClient
org.tigris.subversion.javahl.ScheduleKind
org.tigris.subversion.javahl.SVNInputStream
org.tigris.subversion.javahl.NotifyAction
org.tigris.subversion.javahl.SVNOutputStream
org.tigris.subversion.javahl.PromptUserPassword2
org.tigris.subversion.javahl.Status
org.tigris.subversion.javahl.PromptUserPassword3
org.tigris.subversion.javahl.SVNClientSynchronized
org.tigris.subversion.javahl.NotifyStatus
org.tigris.subversion.javahl.CommitItemStateFlags
org.tigris.subversion.javahl.JNIError
org.tigris.subversion.javahl.SVNClientInterface
org.tigris.subversion.javahl.ClientException
org.tigris.subversion.javahl.Notify
org.tigris.subversion.javahl.CommitItem
org.tigris.subversion.javahl.PromptUserPassword
org.tigris.subversion.javahl.SVNAdmin
org.tigris.subversion.javahl.NodeKind
org.tigris.subversion.javahl.RevisionKind
org.tigris.subversion.javahl.Info
org.tigris.subversion.javahl.LogMessage
org.tigris.subversion.javahl.StatusKind
org.tigris.subversion.javahl.Revision
org.tigris.subversion.javahl.PropertyData
org.tigris.subversion.javahl.OutputInterface
org.tigris.subversion.javahl.SVNClientLogLevel
org.tigris.subversion.javahl.ChangePath
org.tigris.subversion.javahl.InputInterface
org.tigris.subversion.javahl.BlameCallback
org.tigris.subversion.javahl.CommitMessage
subversion/bindings/java/javahl/include/org/tigris/subversion/javahl/DirEntry.h:
No such file or directory
make: *** [javahl-javah] Error 1

Why is gcjh looking for a file it should be generating?

thanks for the help

-Tim

On Sun, 21 Nov 2004 14:16:15 +0100, Holger Hoffstaette
<holger@wizards.de> wrote:
> On Sat, 20 Nov 2004 13:45:25 -0500, Tim Olsen wrote:
>
> > Has anyone had any success compiling javahl with gcj?
>
> You need to explicitly specify an encoding for the funny french
> characters, which seem to confuse the parser. A quick test:
>
> holger>gcj -C --encoding=latin1 Revision.java RevisionKind.java StatusKind.java Status.java DirEntry.java
> holger>ll *.class
> -rw-r--r-- 1 holger users 1.3K Nov 21 14:03 DirEntry.class
> -rw-r--r-- 1 holger users 1.3K Nov 21 14:03 Revision$DateSpec.class
> -rw-r--r-- 1 holger users 324 Nov 21 14:03 Revision$Kind.class
> -rw-r--r-- 1 holger users 793 Nov 21 14:03 Revision$Number.class
> -rw-r--r-- 1 holger users 2.0K Nov 21 14:03 Revision.class
> -rw-r--r-- 1 holger users 399 Nov 21 14:03 RevisionKind.class
> -rw-r--r-- 1 holger users 754 Nov 21 14:03 Status$Kind.class
> -rw-r--r-- 1 holger users 3.6K Nov 21 14:03 Status.class
> -rw-r--r-- 1 holger users 593 Nov 21 14:03 StatusKind.class
>
> The other files in your message are just dependent failures and compile
> cleanly as well. I'm not sure if latin1 is actually The Right Thing to
> specify here, but I could not get any other encoding names to work.
>
> Holger
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 21 16:33:56 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.