<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 13, 2017 at 6:15 AM Mark Evenson <<a href="mailto:evenson@panix.com">evenson@panix.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="gmail_msg">
<br class="gmail_msg">
On 1/11/17 17:01, Mirko Vukovic wrote:<br class="gmail_msg">
> While narrowing down the problems I was having with maven and cffi, I came<br class="gmail_msg">
> across the maven-embedded.lisp file<br class="gmail_msg">
> (<br class="gmail_msg">
> <a href="https://common-lisp.net/svn/armedbear/branches/1.4.0/contrib/abcl-asdf/maven-embedder.lisp" rel="noreferrer" class="gmail_msg" target="_blank">https://common-lisp.net/svn/armedbear/branches/1.4.0/contrib/abcl-asdf/maven-embedder.lisp</a><br class="gmail_msg">
> )<br class="gmail_msg">
> where I saw the sys:run-program.<br class="gmail_msg">
><br class="gmail_msg">
> I now have ABCL installed on both Linux and Windows, and have problems on<br class="gmail_msg">
> both when issuing<br class="gmail_msg">
><br class="gmail_msg">
> #+windows(sys:run-program "where.exe" nil)<br class="gmail_msg">
> #+linux(sys:run-program "which" nil)<br class="gmail_msg">
><br class="gmail_msg">
> On Windows, the first call fails, while the second succeeds.  On Linux, the<br class="gmail_msg">
> call fails, and repeated calls also fail.<br class="gmail_msg">
><br class="gmail_msg">
> Is this just me or can anyone else reproduce this?  Thanks.<br class="gmail_msg">
><br class="gmail_msg">
> Transcript of the Windows 10 session (Linux follows)<br class="gmail_msg">
><br class="gmail_msg">
> P:\>java -jar c:\mv-program-files\abcl-bin-1.4.0\abcl.jar --noinit<br class="gmail_msg">
> Armed Bear Common Lisp 1.4.0<br class="gmail_msg">
> Java 1.8.0_112 Oracle Corporation<br class="gmail_msg">
> Java HotSpot(TM) 64-Bit Server VM<br class="gmail_msg">
> Low-level initialization completed in 0.274 seconds.<br class="gmail_msg">
> Startup completed in 4.28 seconds.<br class="gmail_msg">
> Type ":help" for a list of available commands.<br class="gmail_msg">
> CL-USER(1): (sys:run-program "which.exe" nil) ;;; *First invocation results<br class="gmail_msg">
> in error*<br class="gmail_msg">
> Error loading<br class="gmail_msg">
> jar:file:C:/mv-program-files/abcl-bin-1.4.0/abcl.jar!/org/armedbear/lisp/run-program.abcl<br class="gmail_msg">
> at line 166 (offset 8688)<br class="gmail_msg">
> #<THREAD "interpreter" {6A8B2747}>: Debugger invoked on condition of type<br class="gmail_msg">
> ERROR<br class="gmail_msg">
>   Class not found: java.lang.UNIXProcess  ;;; *ERROR*<br class="gmail_msg">
<br class="gmail_msg">
I think we need to fix SYS:RUN-PROGAM under Windows, file this as an<br class="gmail_msg">
active bug in Trac, and release abcl-1.4.1.  Alternatively you could try<br class="gmail_msg">
building ABCL from source (there's a [Dockerfile][] which will do it for<br class="gmail_msg">
ya, but you need to understand Docker Engine a bit to interact with it.<br class="gmail_msg">
<br class="gmail_msg">
[Dockerfile]: <a href="http://abcl.org/trac/browser/trunk/abcl/Dockerfile" rel="noreferrer" class="gmail_msg" target="_blank">http://abcl.org/trac/browser/trunk/abcl/Dockerfile</a><br class="gmail_msg">
<br class="gmail_msg">
More when I get the time…<br class="gmail_msg">
<br class="gmail_msg"></blockquote><div><br></div><div>When I get time I will try to build ABCL from source using the instructions on the web site.  From what I read, all I need to install is SDK and Ant.</div><div><br></div><div>Also, note that in the original email I wrote that I had an error on Linux as well with Run Program.  </div><div><br></div><div>For now, run-program bug is not a show-stopper for me on Windows.  Instead it is the stack overflows when loading libraries from Slime (which I posted on the Slime group).  In the meantime, I will do software development on ABCL on Linux.</div><div><br></div><div>Mirko</div></div></div>