[Fwd: FW: Cannot compile functions if working directory contains a space]



-----Forwarded Message-----

From: CRTS" <David.Billinghurst at riotinto>
To: amundson@fnal.gov
Subject: FW: Cannot compile functions if working directory contains a space
Date: 01 Oct 2002 09:26:06 +1000

Jim,

Can you post this to the maxima list.  My attempts are failing.


-----Original Message-----
From: CRTS 
Sent: Monday, 30 September 2002 5:27 
To: 'maxima@www.ma.utexas.edu'
Subject: Cannot compile functions if working directory contains a space


If the name of the working directory contains a space
then compile fails.  First noticed with xmaxima icon
on desktop, when the default directory is
C:\Documents and Settings\user.name\Desktop\

With "Start in:" set to "C:\J J"

(C1) f(x):=x+2;
(D1) 				 f(x) := x + 2
(C2) compile(f);

Error:  cannot be coerced to a pathname.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by UNLESS.
Broken at PROBE-FILE.  Type :H for Help.
MAXIMA>>:bt
#0   PROBE-FILE {loc0=#p"gazonk0.lsp",loc1="C:\\j j/gazonk0.lsp"} [ihs=20]
#1   GAZONK-NAME {} [ihs=17]
#2  Computing args for  OPEN {} [ihs=15]
#3   COMPILE {} [ihs=11]
#4   MACSYMA-TOP-LEVEL {} [ihs=10]
#5   RUN {} [ihs=6]
#6   TOP-LEVEL {loc0=nil,loc1=nil,loc2=nil,loc3=(lambda-block run nil ...)} [ihs=5]
#7   FUNCALL {loc0=#<compiled-function system:top-level>,loc1=nil,loc2=0,loc3=0,loc4=nil,loc5...} [ihs=4]

MAXIMA>>