You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Weldon Washburn <we...@gmail.com> on 2006/02/26 03:29:11 UTC
[jchevm] problems with gnu classpath and also jchevm builds
Archie, Ivan,
I am following the email that Ivan Snowdosker sent on Monday, Feb 20
that describes how to build and run JCHEVM. I have hit a couple of
bewildering snags. I installed the latest version of cygwin from the
net but there still seems to be build problems.
I need to build classpath-0.20 to get the native methods.
"./configure --with-jikes --enable-jni" seems to run OK. But when I
type, "make" for classpath-0.20, it somehow sets "top_srcdir=.."
instead of "top_srcdir=." The Makefile sets it to "top_srcdir=." but
it somehow gets reset to "..". I can't find where it gets reset.
Since all I really need is the native methods, I worked around the
above by doing a "cd ./native" then did a "make". It looks like I
generated all the needed DLL's.
Next, I tried to configure JCHEVM. I think the top-level directory is
supposed to have a "configure" file. Its not there. I did an "svn
update jchevm". It shows, "At revision 381045." But still no
"configure" file. I have svn version 1.3.0 installed.
Any suggestions would be welcome.
Thanks
--
Weldon Washburn
Intel Middleware Products Division
Re: [jchevm] problems with gnu classpath and also jchevm builds
Posted by Archie Cobbs <ar...@dellroad.org>.
Geir Magnusson Jr wrote:
> meaning that with some minor gluecode that weldon is writing, we don't
> need to have GNU Classpath to run JCHEVM and Harmony classlib?
>
>>> does this mean that JCHEVM has a hard dependency on native methods
>>> from GNU Classpath?
>>
>> Not sure exactly what you're asking, but I think the answer is no.
>> There shouldn't be any dependencies beyond what is required.
That's correct. All that's required from any class library to work
with jchevm right now is that it use the Java/VM API that jchevm
supports (defined by Classpath). Of course any class library has
to come with some native libraries of its own, but that's really
it's own business and not a concern of the VM (other than the VM
being the channel through which the two communicate).
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
Re: [jchevm] problems with gnu classpath and also jchevm builds
Posted by Geir Magnusson Jr <ge...@pobox.com>.
meaning that with some minor gluecode that weldon is writing, we don't
need to have GNU Classpath to run JCHEVM and Harmony classlib?
Archie Cobbs wrote:
> Geir Magnusson Jr wrote:
>> does this mean that JCHEVM has a hard dependency on native methods
>> from GNU Classpath?
>
> Not sure exactly what you're asking, but I think the answer is no.
> There shouldn't be any dependencies beyond what is required.
>
> -Archie
>
> __________________________________________________________________________
> Archie Cobbs * CTO, Awarix * http://www.awarix.com
>
>
Re: [jchevm] problems with gnu classpath and also jchevm builds
Posted by Archie Cobbs <ar...@dellroad.org>.
Geir Magnusson Jr wrote:
> does this mean that JCHEVM has a hard dependency on native methods from
> GNU Classpath?
Not sure exactly what you're asking, but I think the answer is no.
There shouldn't be any dependencies beyond what is required.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
Re: [jchevm] problems with gnu classpath and also jchevm builds
Posted by Enrico Migliore <en...@fatti.com>.
snowdosker wrote:
>
>>> Archie, Ivan,
>>>
>>> I am following the email that Ivan Snowdosker sent on Monday, Feb 20
>>> that describes how to build and run JCHEVM. I have hit a couple of
>>> bewildering snags. I installed the latest version of cygwin from the
>>> net but there still seems to be build problems.
>>>
>>> I need to build classpath-0.20 to get the native methods.
>>> "./configure --with-jikes --enable-jni" seems to run OK. But when I
>>> type, "make" for classpath-0.20, it somehow sets "top_srcdir=.."
>>> instead of "top_srcdir=." The Makefile sets it to "top_srcdir=." but
>>> it somehow gets reset to "..". I can't find where it gets reset.
>>
>>
> Yes, I was also surprized by such behaviour.
> This was with jikes downloaded and installed from cygwin site.
> If I remember right the problem magically gone when I got jikes sources
> from here
> http://prdownloads.sourceforge.net/jikes/jikes-1.22.tar.bz2?download
> and build jikes from sources after applying this patch
> http://sourceforge.net/tracker/index.php?func=detail&aid=1202863&group_id=128803&atid=712760
>
>
> Ivan
Hi Ivan,
I confirm that.
In order to proceed, one must apply the patch you mention to Jikes.
Enrico
Re: [jchevm] problems with gnu classpath and also jchevm builds
Posted by snowdosker <sn...@academ.org>.
>> Archie, Ivan,
>>
>> I am following the email that Ivan Snowdosker sent on Monday, Feb 20
>> that describes how to build and run JCHEVM. I have hit a couple of
>> bewildering snags. I installed the latest version of cygwin from the
>> net but there still seems to be build problems.
>>
>> I need to build classpath-0.20 to get the native methods.
>> "./configure --with-jikes --enable-jni" seems to run OK. But when I
>> type, "make" for classpath-0.20, it somehow sets "top_srcdir=.."
>> instead of "top_srcdir=." The Makefile sets it to "top_srcdir=." but
>> it somehow gets reset to "..". I can't find where it gets reset.
>
Yes, I was also surprized by such behaviour.
This was with jikes downloaded and installed from cygwin site.
If I remember right the problem magically gone when I got jikes sources
from here
http://prdownloads.sourceforge.net/jikes/jikes-1.22.tar.bz2?download
and build jikes from sources after applying this patch
http://sourceforge.net/tracker/index.php?func=detail&aid=1202863&group_id=128803&atid=712760
Ivan
Re: [jchevm] problems with gnu classpath and also jchevm builds
Posted by Geir Magnusson Jr <ge...@pobox.com>.
does this mean that JCHEVM has a hard dependency on native methods from
GNU Classpath?
geir
Weldon Washburn wrote:
> Archie, Ivan,
>
> I am following the email that Ivan Snowdosker sent on Monday, Feb 20
> that describes how to build and run JCHEVM. I have hit a couple of
> bewildering snags. I installed the latest version of cygwin from the
> net but there still seems to be build problems.
>
> I need to build classpath-0.20 to get the native methods.
> "./configure --with-jikes --enable-jni" seems to run OK. But when I
> type, "make" for classpath-0.20, it somehow sets "top_srcdir=.."
> instead of "top_srcdir=." The Makefile sets it to "top_srcdir=." but
> it somehow gets reset to "..". I can't find where it gets reset.
>
> Since all I really need is the native methods, I worked around the
> above by doing a "cd ./native" then did a "make". It looks like I
> generated all the needed DLL's.
>
> Next, I tried to configure JCHEVM. I think the top-level directory is
> supposed to have a "configure" file. Its not there. I did an "svn
> update jchevm". It shows, "At revision 381045." But still no
> "configure" file. I have svn version 1.3.0 installed.
>
> Any suggestions would be welcome.
>
> Thanks
>
>
> --
> Weldon Washburn
> Intel Middleware Products Division
>
>
Re: [jchevm] problems with gnu classpath and also jchevm builds
Posted by Archie Cobbs <ar...@dellroad.org>.
Weldon Washburn wrote:
> Next, I tried to configure JCHEVM. I think the top-level directory is
> supposed to have a "configure" file. Its not there. I did an "svn
> update jchevm". It shows, "At revision 381045." But still no
> "configure" file. I have svn version 1.3.0 installed.
Check out the APACHE.README in the top level directory. It describes how
to bootstrap jchevm to get a buildable distribution from the SVN sources.
If you have access to a Linux machine that would be another way
to avoid the Cygwin porting issues.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com