public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Path character in lists.scm
@ 2015-01-16 19:21 Jeff Gonis
  2015-01-16 20:47 ` Per Bothner
  2015-01-20  8:26 ` Building on Windows (was: Path character in lists.scm) Per Bothner
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Gonis @ 2015-01-16 19:21 UTC (permalink / raw)
  To: kawa; +Cc: Per Bothner

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Hi Per,

So while I was working to build kawa on windows I kept running into an
error while building talking about an illegal character when trying to
compile lists.scm in the rnrs directory.  After spending some time
looking at it, I realized that the path separator in the require
statement was using a forward slash which blows up in windows. I
replaced it with a backslash and was able to build on both my windows
machine and linux machine, and the tests passed on linux (no ant
command to run the tests on windows that I could see).  I hope that I
have generated this patch file correctly, but if not it should be easy
to track down using my description above.

A more robust solution might be using some sort of path separator
normalization provided by Java, but I haven't had time to dig into
that. I'll let you know if I have any success there.

Please let me know if you need anything else.
Thanks for your time,
Jeff

[-- Attachment #2: lists.patch --]
[-- Type: text/x-patch, Size: 408 bytes --]

--- lists.scm	2013-12-09 00:05:17.000000000 -0700
+++ listsEdited.scm	2015-01-16 12:16:00.872352122 -0700
@@ -8,7 +8,7 @@
 (module-export find for-all exists filter partition fold-left
                fold-right remp remove remv remq memp member memv memq
                assp assoc assv assq cons*)
-(require kawa.lib.lists "../lists.scm")
+(require kawa.lib.lists "..\lists.scm")
 
 ;;; Helper Functions
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-21  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-16 19:21 Path character in lists.scm Jeff Gonis
2015-01-16 20:47 ` Per Bothner
2015-01-20  8:26 ` Building on Windows (was: Path character in lists.scm) Per Bothner
2015-01-21  8:03   ` Building on Windows Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).