I'm working late tonight again. Sigh. Well, at least over dinner
break I worked in a quick game of CTF Quake and a fast Windows
install-and-see-if-it-croaks test of the latest snapshot of 0.3.
Here's my notes from that experience...
--Will
--- snip --- snip --- snip --- snip --- snip --- snip --- snip ---
- got to site. eh? links broke on freenetproject.org. posted
message to dev list about it. went to old site.
- lunch over. will come back again at dinner, if time allows.
- dinner break. downloaded latest freenet snap shots. got source
and win binary from devel snapshots page. download looks ok.
- badness. win binary unzips ok, but unzipping source download
complains about headers being scrozzed. bad download?
- investigated. bug. looks like file name is displayed as
freenet-20000830.tgz, but when you download it, in my IE anyway,
it saves as ".tar", not ".tgz". renamed it to .tgz and all seems
well now.
- win binary. read the readme, which is dated 2000-04-09.
followed instructions as written.
- tried to type "./fserve.bat". every time i got only the response
"bad command or file name". is the command line not recognizing
"fserve.bat"? looked at bat files. aha! the files looked ok
when i displayed them with 'less' in cygwin, but 'type' in dos
shell shows that cr/lf stuff is all messed up. didn't someone say
this on the dev list already?
- entered "less fserve.bat > fs2.bat" in cywin to create a file
with kosher cr/lf's. tried to execute fs2.bat.
- sez i don't have java (but i thought i did). well, at least
it's a better error message than "bad command or file name". it
tells me to download java. mebbe it should also tell me what my
path is, cuz i suspect that's the problem sometimes.
- hmm. path looks good. finally tracked it down. it looks like
fserve.bat isn't the only one with cr/lf trouble. it calls a
file called "unijava.bat", which silently(!) fails. fserve.bat
doesn't check return codes, so it thinks java isn't there, even
though it is. what is this "%javaexec%" stuff anyway?
- ran every file except the freenet.jar file thru 'less' in cygwin
to fix the cr/lf thing. i hope freenet.jar isn't affected. bug.
- tried fserve.bat again. in dos shell, it says "FOR cannot be
nested", then gives me the "cannot find Java" message. not good.
newbie users might try installing java and messing with path
several times before figuring out that the script had an error.
tried it in cygwin bash. it says "out of environment space", even
when i try it with a fresh bash shell. hmm.
- put in some echos. isolated it down to a line in unijava.bat.
for %%e in (%vmnames%) do
for %%p in (%path%) do if exist %%p\%%e set javaexec=%%e
i don't know how for loops work or don't work in msdos shell, but
the var %vmnames% doesn't appear to even exist. at a minimum, the
script should test for that. dos complained of for loops not
being nest-able, and bash ran out of environment space. looks like
this for loop is totally bogus. did i even download the right
file for testing out development snapshots? it looks like this has
never worked. bug.
- ran out of time. oh, well. post this to dev list and mebbe
try again later.
_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev