Re: [jchevm] questions about libjc/zip.c

2006-03-04 Thread Thorbjørn Ravn Andersen

Weldon Washburn wrote:



$ ./configure --with-classpath=/usr/local/classpath
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /cygdrive/c/Documents: No such file or directory
 

Might this not be the usual Don't use spaces in directory names-thing 
which hits when unpacking on the desktop?  A carefully put set of 
quotes might help? 


Does it work when unpacking to a location without spaces in nthe path?

--
 Thorbjørn


Re: [jchevm] questions about libjc/zip.c

2006-03-01 Thread Weldon Washburn
On 2/28/06, Enrico Migliore [EMAIL PROTECTED] wrote:
 Hi Weldon,

  I'm the author of the (read + lseek = pread) and I'm sure it can't be
 the cause of the
  compiling problem you are having.

I will stop trying to debug the problem and wait.

  I'm writing from scratch a short document with the guidelines to build
 JCHEVM on Cygwin,

This is great!

  please allow me a couple of days in order to finish it.

Please feel free to send me early version(s) to try.  I can help point
out what is incomplete.  We can even do this off list since it is
likely that most of the list is only interested in the final result.


 ciao,
  Enrico



--
Weldon Washburn
Intel Middleware Products Division


Re: [jchevm] questions about libjc/zip.c

2006-03-01 Thread Geir Magnusson Jr



Weldon Washburn wrote:

On 2/28/06, Enrico Migliore [EMAIL PROTECTED] wrote:

Hi Weldon,

 I'm the author of the (read + lseek = pread) and I'm sure it can't be
the cause of the
 compiling problem you are having.


I will stop trying to debug the problem and wait.


 I'm writing from scratch a short document with the guidelines to build
JCHEVM on Cygwin,


This is great!


 please allow me a couple of days in order to finish it.


Please feel free to send me early version(s) to try.  I can help point
out what is incomplete.  We can even do this off list since it is
likely that most of the list is only interested in the final result.



Well... please feel free to do it on the list.  It's a legitimate 
project activity, and it will allow others to participate in review and 
debugging of the process...


geir


Re: [jchevm] questions about libjc/zip.c

2006-03-01 Thread Archie Cobbs

Weldon Washburn wrote:

I tried the pread() patch but I still get:


I just checked in support for systems without pread(2) in r382047.
The patch should no longer be needed. Let me know how/if it works.

-Archie

__
Archie Cobbs  *CTO, Awarix*  http://www.awarix.com


Re: [jchevm] questions about libjc/zip.c

2006-03-01 Thread Weldon Washburn
Archie,

I still get the same error.

I deleted the jchevm directory and got a clean version (382162) from
svn.  I followed the instructions in Apache.README with the exception
that I did not do anything about libpopt or libz.  There are versions
of these libs in c:\cygwin\

I can start debugging jcjavah.exe but want to wait to see if someone
else has already done this job.

  -- Weldon


On 3/1/06, Archie Cobbs [EMAIL PROTECTED] wrote:
 Weldon Washburn wrote:
  I tried the pread() patch but I still get:

 I just checked in support for systems without pread(2) in r382047.
 The patch should no longer be needed. Let me know how/if it works.

 -Archie

 __
 Archie Cobbs  *CTO, Awarix*  http://www.awarix.com



--
Weldon Washburn
Intel Middleware Products Division


Re: [jchevm] questions about libjc/zip.c

2006-03-01 Thread Weldon Washburn
 Perhaps there is a mismatch between where you installed Classpath
 and where jchevm is looking for it.. ? I.e., class not found because
 the class really is not found.

 Did you configure jchevm with any --with-classpath= flag? If not
 then you should have /usr/local/classpath/share/classpath/glibj.zip
 (on Linux, not sure what the Windows equivalent is). That is, jchevm's
 default expected Classpath root is /usr/local/classpath.

 -Archie


Archie,
It looks like it is finding glibj.zip.  But I still get the same error
message when I try to build.

$ ./configure --with-classpath=/usr/local/classpath
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /cygdrive/c/Documents: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for /usr/local/classpath/share/classpath/glibj.zip... yes
checking for a BSD-compatible install... /usr/bin/install -c
.



Weldon Washburn
Intel Middleware Products Division


Re: [jchevm] questions about libjc/zip.c

2006-03-01 Thread Archie Cobbs

Weldon Washburn wrote:

It looks like it is finding glibj.zip.  But I still get the same error
message when I try to build.


Weird.. I have no idea why it's not working. There may be some problem
when zip.c tries to read glibj.zip that causing it not to work. At this
point I think it's time to resort to the tried and true stragegy of
strategically inserted printf() statements... sprinkle some into zip.c
to see how far it gets reading from glibj.zip.

-Archie

__
Archie Cobbs  *CTO, Awarix*  http://www.awarix.com