public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Jeff Gonis <jeff.gonis@gmail.com>
To: kawa@sourceware.org
Cc: Per Bothner <per@bothner.com>
Subject: Path character in lists.scm
Date: Fri, 16 Jan 2015 19:21:00 -0000	[thread overview]
Message-ID: <CAFVyn8S7Pg+KZxuduTCre8UNxf=01TtERGCwU8jUjWeBxa1-ow@mail.gmail.com> (raw)

[-- 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
 

             reply	other threads:[~2015-01-16 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-16 19:21 Jeff Gonis [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFVyn8S7Pg+KZxuduTCre8UNxf=01TtERGCwU8jUjWeBxa1-ow@mail.gmail.com' \
    --to=jeff.gonis@gmail.com \
    --cc=kawa@sourceware.org \
    --cc=per@bothner.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).