[cmucl-help] no such program error invoking run-program?
Jared C. Davis
jared at cs.utexas.edu
Tue Jan 12 02:15:51 UTC 2016
Hi,
Thanks much for the replies. I'll try to arrange a cmucl-init file
that sets up the search-list correctly for my source distribution
tomorrow.
Is there a way to arrange so that cmucl inherits the current working
directory from the shell? (It seems like that would be quite
convenient.)
Cheers,
Jared
On Mon, Jan 11, 2016 at 6:33 PM, Jared C. Davis <jared.c.davis at gmail.com> wrote:
> Hi,
>
> Thanks much for the replies. I'll try to arrange a cmucl-init file
> that sets up the search-list correctly for my source distribution
> tomorrow.
>
> Is there a way to arrange so that cmucl inherits the current working
> directory from the shell? (It seems like that would be quite
> convenient.)
>
> Cheers,
> Jared
>
> On Mon, Jan 11, 2016 at 6:24 PM, Raymond Toy <toy.raymond at gmail.com> wrote:
>>>>>>> "Jared" == Jared C Davis <jared at cs.utexas.edu> writes:
>>
>> Jared> Hi,
>> [snip]
>> Jared> But weirdly run-program fails when I tell it to run ./temp.sh:
>>
>> Jared> * (run-program "./temp.sh" nil :output t)
>>
>> Jared> Error in function RUN-PROGRAM: No such program: "./temp.sh"
>> Jared> [Condition of type SIMPLE-ERROR]
>>
>> Jared> Restarts:
>> Jared> 0: [ABORT] Return to Top-Level.
>>
>> Jared> Debug (type H for help)
>>
>> Jared> (RUN-PROGRAM "./temp.sh" ("./temp.sh") :ENV NIL ...)
>> Jared> Source: Error finding source:
>> Jared> Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no
>> Jared> longer exists:
>> Jared> target:code/run-program.lisp.
>>
>> [snip]
>>
>> Jared> I'm a little curious about the "Error finding source" message
>> Jared> above and I don't know if that's to be expected.
>>
>> GP Lisper has given the answer, but to answer this question about not
>> being able to find the the source, this is expected unless you've set
>> up everything and actually have the source available.
>>
>> Basically, you need to have the sources somewhere and do something
>> like
>>
>> (setf (search-list "target:") '("/path/to/src/"))
>>
>> Then cmucl will be able to find the sources and give you the actual
>> source line/sexp for errors.
>>
>> --
>> Ray
>>
>> _______________________________________________
>> cmucl-help mailing list
>> cmucl-help at cmucl.cons.org
>> http://lists.zs64.net/mailman/listinfo/cmucl-help
>
>
>
> --
> Jared C. Davis <jared at cs.utexas.edu>
> 11410 Windermere Meadows
> Austin, TX 78759
> http://www.cs.utexas.edu/users/jared/
--
Jared C. Davis <jared at cs.utexas.edu>
11410 Windermere Meadows
Austin, TX 78759
http://www.cs.utexas.edu/users/jared/
More information about the cmucl-help
mailing list