Windows Hardcoded path to sbcl.core

Bug #1711894 reported by Denis Smirnov on 2017-08-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

I am trying start SBCL 1.3.18 x64 with the simple batch

@set SBCL_PATH=C:\Program Files\Steel Bank Common Lisp\1.3.18
@set path=%SBCL_PATH%
sbcl

Execute batch from D:\VBOX_share\maxima\maxima-5.40.0\ directory

D:\VBOX_share\maxima\maxima-5.40.0_>sbcl
fatal error encountered in SBCL pid 872(tid 0000000000376200):
can't find core file at C:\Program Files\Steel Bank Common Lisp\1.3.12\/sbcl.core

Let's explicitly point to core image

sbcl --core "%SBCL_PATH%\sbcl.core"

D:\VBOX_share\maxima\maxima-5.40.0_>sbcl --core "C:\Program Files\Steel Bank Common Lisp\1.3.18\sbcl.core"
This is SBCL 1.3.18, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

Fine, it works. My goal is build Maxima CAS but build process is broken now.

; compiling file "D:/VBOX_share/maxima/maxima-5.40.0_/src/./server.lisp" (written 04 SEP 2016 05:00:51 AM):
; compiling (IN-PACKAGE :MAXIMA)
; compiling (REQUIRE (QUOTE SB-POSIX))
debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread
#<THREAD "main thread" RUNNING {1002DBAAA3}>:
  Failed to find the TRUENAME of C:\Program Files\Steel Bank Common Lisp\1.3.12:
    Не удается найти указанный файл. (Couldn't find a file in russian)

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

(SB-IMPL::QUERY-FILE-SYSTEM #P"C:/Program Files/Steel Bank Common Lisp/1.3.12/" :TRUENAME T)
0]

Denis Smirnov (remind) on 2017-08-20
description: updated
Denis Smirnov (remind) wrote :

SBCL_HOME and paths point to valid instance but not sure how harmless is trailing slash.

C:\Users\denis>path
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\
v1.0\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\Program Files (x86)\Asymptote;C:\Program Files\TortoiseHg\;C:\Program Files (x8
6)\Pandoc\;C:\Program Files\ONLYOFFICE\DesktopEditors\converter;C:\Program Files (x86)\FreeFem++;C:\Program Files\Steel Bank Common Lis
p\1.3.18\;C:\Python36\Scripts\;C:\Python36\;D:\sdc4\Program Files\Program Files (x86)\Video Encoding\containers\GPAC

C:\Users\denis>echo %SBCL_HOME%
C:\Program Files\Steel Bank Common Lisp\1.3.18\

Denis Smirnov (remind) on 2017-08-23
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers