[kaffe] 6 failed dependencies

2003-02-06 Thread cal kaiwen




Hi,

I tried to compile kaffe on Linux machine, and I got the following errors.


[root@users Users]# rpm -ivh kaffe-1.0.5-6.i386.rpm
error: failed dependencies:
   libICE.so.6 is needed by kaffe-1.0.5-6
   libSM.so.6 is needed by kaffe-1.0.5-6
   libX11.so.6 is needed by kaffe-1.0.5-6
   libXext.so.6 is needed by kaffe-1.0.5-6
   libjpeg.so.62 is needed by kaffe-1.0.5-6
   libpng.so.2 is needed by kaffe-1.0.5-6
   libungif.so.4 is needed by kaffe-1.0.5-6


I did check out the FAQ page, where I found a few library is needed to 
compile kaffe and links are provided.

My problem are, many of those link are broken. Where can I find those 
libraries which are needed?

Thank you,
Calvin




_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] picky patch

2003-02-06 Thread Dalibor Topic
Hi Rob, hi Tim

--- gonzo [EMAIL PROTECTED] wrote:
 Hi all.
 
 in code-analyze.[ch], the methods are currently
 entitles verifyMethod,
 verifyBasicBlock, tidyVerifyMethod, etc., and
 these are called from
 intrp/machine.c, jit/machine.c, and jit3/machine.c
 to perform code
 analysis before compilation (from intrp i think they
 are actually expected
 to verify the soundness of the bytecode, which will
 be totally unecessary
 once a full link-time verifier is added).  the
 methods that are called for
 actual link-time verification are verify2 and
 verify3 in verify.c.
 
 to avoid confusing the compiler, in my working copy
 of kaffe i've renamed
 the methods in code-analyze.[ch] analyzeMethod,
 analyzeBasicBlock, etc.,
 and every time i upgrade to a newer version of CVS i
 have to patch the
 names.

Sounds o.k. to me to rename the methods if they don't
perform verification at all. But before I check it in,
I'd like to see class-analyze.[ch] from JanosVM merged
into the kaffe CVS tree.

There are two main diffs:
CIF_* stuff, which is used in jit3 and powerpc jit
and memory management changes, i.e. moving from
KMALLOC to gc_malloc.

Tim, should I merge it in as it is, and pull the jit3
changes in as well, plus the powerpc jitter, or leave
the memory management stuff out, etc.?

cheers,
dalibor topic

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] 6 failed dependencies

2003-02-06 Thread Dalibor Topic
Hi Calvin,

--- cal kaiwen [EMAIL PROTECTED] wrote:
 I tried to compile kaffe on Linux machine, and I got
 the following errors.
 
 
 [root@users Users]# rpm -ivh kaffe-1.0.5-6.i386.rpm
 error: failed dependencies:
 libICE.so.6 is needed by kaffe-1.0.5-6
 libSM.so.6 is needed by kaffe-1.0.5-6
 libX11.so.6 is needed by kaffe-1.0.5-6
 libXext.so.6 is needed by kaffe-1.0.5-6
 libjpeg.so.62 is needed by kaffe-1.0.5-6
 libpng.so.2 is needed by kaffe-1.0.5-6
 libungif.so.4 is needed by kaffe-1.0.5-6

I suggest using http://rpmfind.net to find the rpms
you don't have installed.

Judging by the error messages, you seem to lack some
kind of XFree86 developement package from your
distribution. RPMs often come in a user and a
developer package. Make sure you install both for
the required libraries.

Thanks for pointing out curently broken links in
FAQ.requiredlibs. Could you go a google search, and
post some updated links? Then I'd incorporate it into
the new version of the file.

By the way, is there any specific reason why you want
to use kaffe 1.0.5? The latest version is 1.0.7 (which
 does not compile on current RedHat  Mandrake, fixed
in the current CVS), and is quite a bit ahead of
1.0.5.

cheers,
dalibor topic

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] Kaffe CVS: kaffe dalibor

2003-02-06 Thread Timothy Stack

Fixed  checked in. I used $(srcdir) instead of
$(abssrcdir).


Yeah, that worked for me too.  The reason it was failing silently is 
because Character.java couldn't load 'unicode.tbl' and 'unicode.idx'.   
Apparently, it will _only_ load them from a JAR file, so just 
specifying the 'lib' directory wasn't enough.  And, since it was 
Character that was failing, it couldn't print out any error messages.

cheers,
dalibor topic


tim


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



[kaffe] IA-64 port works again in CVS tree

2003-02-06 Thread Dalibor Topic
Hi,

after I've got my hands on a ia64-linux box, I've
fixed some of this port's compilation problems. It
turned out to be a slip during the merge with Gwenole,
I must have missed a configure.in patch to check for
ia64intrin.h. Now it compiles, compiles the class
library and make check results in 34 failures. The
failures are attached. A lot of them look like
failures to compile a class.

There is a weird crash with the current sources,
though. It flies on its face after class library
compilation, during the creation of rt.jar with
kaffe's own kaffe.tools.jar.Jar . The second
invocation, with -uvf rt.jar META-INF/ as the
parameters, crashes. Without --enable-debug it looks
like a gc error, with --enable-debug I get a
NullPointerException in a native method in
java.util.ZipFile. 

That sounds like the problems we have on Cygwin. If
someone wants to take a look at it, I'd suggest
looking at the WinCE port, which apparently has fixed
some of the issues with kaffe's native zip
implementation.

best regards,
dalibor topic

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


failures-ia64-linux.tar.gz
Description: failures-ia64-linux.tar.gz


Re: [kaffe] picky patch

2003-02-06 Thread Timothy Stack
 
 Hi Rob, hi Tim

hi,

 Sounds o.k. to me to rename the methods if they don't
 perform verification at all.

ditto

 But before I check it in,
 I'd like to see class-analyze.[ch] from JanosVM merged
 into the kaffe CVS tree.
 
 There are two main diffs:
 CIF_* stuff,

This change is a bit sketchy, i wouldn't add it yet.

 which is used in jit3 and powerpc jit
 and memory management changes, i.e. moving from
 KMALLOC to gc_malloc.
 
 Tim, should I merge it in as it is, and pull the jit3
 changes in as well, plus the powerpc jitter, or leave
 the memory management stuff out, etc.?

Maybe, maybe not.  The next release will have a bunch of
changes related to this, so you might want to wait a bit
before making a decision on which bits to merge in.

 
 cheers,
 dalibor topic

tim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] picky patch

2003-02-06 Thread gonzo
Hi Dalibor and Tim,

  to avoid confusing the compiler, in my working copy
  of kaffe i've renamed
  the methods in code-analyze.[ch] analyzeMethod,
  analyzeBasicBlock, etc.,
  and every time i upgrade to a newer version of CVS i
  have to patch the
  names.
 
 Sounds o.k. to me to rename the methods if they don't
 perform verification at all. But before I check it in,
 I'd like to see class-analyze.[ch] from JanosVM merged
 into the kaffe CVS tree.

at the moment code-analyze.c does actually perform enough verification to
ensure the consistency of the bytecode.  things like making sure the max
size of the operand stack and locals are never violated, and it also
appears to do basic type checking (ie - making sure you don't use iload_0
when local 0 is holding a reference).  it doesn't do type checking and
lots of other stuff a verifier has to take care of, though (if it did, i
wouldn't have written my own ;) ).

once the actual verifier is done, i'm going to take a closer look at
code-analyze's functions to see what can be stripped out if the bytecode
is known to be verfied.  that is, it would be nice if i could leave those
files with just the code that's necessary to prepare codeInfo structions
for jit compilation.


cheers,
~rob



___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] Kaffe CVS: kaffe dalibor

2003-02-06 Thread Timothy Stack
 Btw, what is the status of make dist  make distcheck
 ? Your patch should have improved some things there,
 but I was still having some problems with make dist
 when autotoolized using automake 1.4p5  autoconf 2.13
 and make distcheck when autotoolized using automake
 1.7.2 and autoconf 2.57.

Hmm, haven't tried distcheck yet, i'll see about getting it working.

 If I remeber it correctly,
 make dist should generate a .tar.gz file that can be
 configured and built anywhere, even on i386-NetBSD.
 right?

right

 That platform is currently broken because its
 make doesn't like the makefile after ./configure ... 

weird...  The 'make dist' stuff was done because I'm trying to get a 
JanosVM release going.  So, i only really try it on FreeBSD/Linux at the 
moment.

 cheers,
 dalibor topic

tim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



[kaffe] Re: IA-64 port works again in CVS tree

2003-02-06 Thread Gwenole Beauchesne
On Thu, 6 Feb 2003, Gwenole Beauchesne wrote:

 Oh, thanks for noticing that. However, two things that just hit my head:
 1) ia64intrin.h is always available with gcc. I haven't checked icc yet.
 2) I probably messed up the non-ia64intrin.h part.

Concerning (1), nope ia64intrin.h and compareswap intrinsic is not 
available with icc.

  Now it compiles, compiles the class library and make check results in 34
  failures. The failures are attached.
 
 I thought I once had around 7 or 14 failures. Unfortunately, the remote 
 ia64 system is inaccessible at the moment.

Remote system back to life and I do get around 45 failures (MDK 9.0, gcc
3.2.1). The problem is it never failed that way in the past. i.e.
internal errors when compiling.

Bye,
Gwenole


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] Re: IA-64 port works again in CVS tree

2003-02-06 Thread Dalibor Topic
Hi Gwenole,

--- Gwenole Beauchesne [EMAIL PROTECTED]
wrote:
 On Thu, 6 Feb 2003, Gwenole Beauchesne wrote:
 
  Oh, thanks for noticing that. However, two things
 that just hit my head:
  1) ia64intrin.h is always available with gcc. I
 haven't checked icc yet.
  2) I probably messed up the non-ia64intrin.h
 part.
 
 Concerning (1), nope ia64intrin.h and compareswap
 intrinsic is not 
 available with icc.

Speaking of icc, does kaffe compile on i386-linux with
icc?

   Now it compiles, compiles the class library and
 make check results in 34
   failures. The failures are attached.
  
  I thought I once had around 7 or 14 failures.
 Unfortunately, the remote 
  ia64 system is inaccessible at the moment.
 
 Remote system back to life and I do get around 45
 failures (MDK 9.0, gcc
 3.2.1). The problem is it never failed that way in
 the past. i.e.
 internal errors when compiling.

I'd guess that most of them are kjc compiler related,
because most *.fail files are about kaffe not being
able to find the test class in my case (SuSE Linux
7.2a (ia64) - Kernel 2.4.4-SMP (2), gcc 3.0, from HP's
TestCenter ;). Could you run 'make check VERBOSE=1'
and see how many tests don't compile ? Or check if for
some missing test classes the .class files are
actually missing?

cheers,
dalibor topic

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



[kaffe] Moving java extensions into javalib

2003-02-06 Thread Dalibor Topic
Hi,

After the successful move of rmi into
libraries/javalib, I'd like to move the other java
files from libraries/extensions to libraries/javalib
as well, mirroring the layout of pocketlinux. That
would mean that servlets, serial io and microsoft
stuff would be recompiled during the build like other
java libraries, and most extension *.jar files would
disappear.

Is that O.K. with everyone?

cheers,
dalibor topic

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



Re: [kaffe] 6 failed dependencies

2003-02-06 Thread Greg Wooledge
cal kaiwen ([EMAIL PROTECTED]) wrote:

 I tried to compile kaffe on Linux machine, and I got the following errors.
 [root@users Users]# rpm -ivh kaffe-1.0.5-6.i386.rpm

That's not compiling.  That's installing an RPM.

 error: failed dependencies:
libICE.so.6 is needed by kaffe-1.0.5-6
libSM.so.6 is needed by kaffe-1.0.5-6
libX11.so.6 is needed by kaffe-1.0.5-6
libXext.so.6 is needed by kaffe-1.0.5-6
libjpeg.so.62 is needed by kaffe-1.0.5-6
libpng.so.2 is needed by kaffe-1.0.5-6
libungif.so.4 is needed by kaffe-1.0.5-6

You're missing X11, jpeg, PNG and (un)GIF libraries.  Or you may
have them, but the wrong versions.  As mentioned previously, Kaffe
1.0.5 is rather old.

-- 
Greg Wooledge  |   Truth belongs to everybody.
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |



msg01431/pgp0.pgp
Description: PGP signature


Re: [kaffe] 6 failed dependencies

2003-02-06 Thread cal kaiwen
Hi,

(1) I am now looking for kaffe that does not require those png/jpg/awt 
dependencies. I do not need these support as my program is a simple one :) 
Where can I find it on the FTP?

(2) What is the difference of contents in these 2 folders?

http://moot.kaffe.org/ftp/pub/kaffe/v1.0.x-production/

http://moot.kaffe.org/ftp/pub/kaffe/binaries/linux/

Which one should I be looking at?

Thank you,
Calvin

From: Dalibor Topic [EMAIL PROTECTED]
To: cal kaiwen [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [kaffe] 6 failed dependencies
Date: Thu, 6 Feb 2003 03:19:38 -0800 (PST)

Hi Calvin,

--- cal kaiwen [EMAIL PROTECTED] wrote:
 I tried to compile kaffe on Linux machine, and I got
 the following errors.


 [root@users Users]# rpm -ivh kaffe-1.0.5-6.i386.rpm
 error: failed dependencies:
 libICE.so.6 is needed by kaffe-1.0.5-6
 libSM.so.6 is needed by kaffe-1.0.5-6
 libX11.so.6 is needed by kaffe-1.0.5-6
 libXext.so.6 is needed by kaffe-1.0.5-6
 libjpeg.so.62 is needed by kaffe-1.0.5-6
 libpng.so.2 is needed by kaffe-1.0.5-6
 libungif.so.4 is needed by kaffe-1.0.5-6

I suggest using http://rpmfind.net to find the rpms
you don't have installed.

Judging by the error messages, you seem to lack some
kind of XFree86 developement package from your
distribution. RPMs often come in a user and a
developer package. Make sure you install both for
the required libraries.

Thanks for pointing out curently broken links in
FAQ.requiredlibs. Could you go a google search, and
post some updated links? Then I'd incorporate it into
the new version of the file.

By the way, is there any specific reason why you want
to use kaffe 1.0.5? The latest version is 1.0.7 (which
 does not compile on current RedHat  Mandrake, fixed
in the current CVS), and is quite a bit ahead of
1.0.5.

cheers,
dalibor topic

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] supported JDBC drivers

2003-02-06 Thread cal kaiwen
Dear all,

Looking at this page:-

http://www.kaffe.org/compatibility_applications.shtml#jdbcdrivers

Is it confirm that kaffe jdbc support only POSTgresql and Oracle 8i/9i?

How about mysql and microsoft SQL server?

This posting is important since my application runs on mysql, and SQL 
server, optionally :)

Thank you,
Calvin

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe