OK, that works now, thanks! On 8 Sep 2005, at 17:02, Volkmar Glauche wrote: > Julian, > > the "mex" command needs to be in your PATH. Add the location of your > Matlab executables to the PATH and try again compiling > > On Thu, 8 Sep 2005, Julian Wallace wrote: > >> Hello, >> >> Following the instructions on SPM wikipedia, >> posted earlier in this thread, i've >> attempted to recompile spm2 on OSX. >> >> Unfortunately i get the following error: >> ____________________________________________________________ >> >> # make MAC >> make all SUF=mexmac RANLIB="ranlib spm_vol_utils.mexmac.a" >> _____________________________________________________________ >> >> Unix compile for MacOS X >> _____________________________________________________________ >> >> mex -O -c spm_mapping.c >> make[1]: mex: Command not found >> make[1]: *** [spm_mapping.mexmac.o] Error 127 >> make: *** [MAC] Error 2 >> ____________________________________________________________ >> >> Any suggestions as to how to remedy this? >> >> Thanks in advance, >> >> Julian >> >> > > -- > Volkmar Glauche > - > Department of Neurology [log in to unmask] > Universitaetsklinikum Freiburg Phone 49(0)761-270-5331 > Breisacher Str. 64 Fax 49(0)761-270-5416 > 79106 Freiburg > __________________________________________________________________ Dr. Julian M. Wallace Room 5D27A Department of Experimental Psychology University of Bristol 8 Woodland Road BS8 1TN U.K. Voice: +44 117 954 6847 Fax: +44 117 928 8588