<div dir="ltr">Hi Matt,<div><br></div><div style>Thanks for your response! I'm sorry that I never got back to you, it looks like my gmail filters shuttled this away without my noticing.</div><div style><br></div><div style>
I'm attaching client.rkt for your reference. If you'd like the entire program, I could get that to you as well, just let me know.</div><div style><br></div><div style>best,</div><div style>Dominick</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Apr 10, 2013 at 8:34 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This problem looks familiar, but I think I wasn't able to replicate it<br>
when I last tried, and I'm not able to replicate it now (even using<br>
`funcitonal-command').<br>
<br>
Could you send me "client.rkt", or some sharable variant that has the<br>
same problem?<br>
<br>
Also, are you using a 32-bit or 64-bit build on Linux?<br>
<br>
Thanks!<br>
<div><div class="h5"><br>
At Mon, 08 Apr 2013 17:00:29 -0500, "D. LoBraico" wrote:<br>
> I have a command-line application that I have been compiling with Racket<br>
> 5.3.3 as follows:<br>
><br>
> raco exe client.rkt<br>
> raco distribute client-dist client<br>
><br>
> This creates a client-dist directory that I can then use to distribute<br>
> my work to other machines running the same operating system. Up until<br>
> this point I have been doing this on Mac OS X with no trouble. Now I am<br>
> trying to replicate this process on a Linux machine. I run the same<br>
> steps on a Linux box and have what appears to be the same client-dist<br>
> directory.<br>
><br>
> The difference, is that for some reason the version compiled on Linux<br>
> does not work! That is to say, the binary in client-dist/bin does not<br>
> function (even on the original machine that it was compiled on) in the<br>
> same way as the binary that resulted from `raco exe<br>
> client.rkt`. Specifically, it seems as if the executable thinks that it<br>
> is getting more command-line arguments than it is. I modified my code to<br>
> print all of the command-line arguments in hopes of getting some insight<br>
> into this and get this:<br>
><br>
> $ /tmp/client-dist/bin/client "test"<br>
> client: expects no arguments on the command line, given 3 arguments: "test"<br>
><br>
> I suspect that whatever those 2 invisible arguments are is causing me<br>
> trouble, but I can't for the life of me figure out where they are coming<br>
> from. In case it is relevant, I am using the functional-command package<br>
> from PLaneT for command-line parsing.<br>
><br>
> Any ideas?<br>
><br>
> best,<br>
> Dominick<br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div>