looks like it can't find the mex binary - is .../MATLAB/bin in your path?
cheers
russ

On Jul 31, 2005, at 3:53 PM, Dianne Patterson wrote:

I just tried the make file for compiling for the mac.

I've installed matlab 7.0.4.

I am working on a mac mini which has a G4 processor.

I tried for spm5b first, then tried spm2...and got the same error for both at
the end of the attempted make:
=============================================================
[cain:src 236] => make MAC
make all SUF=mexmac RANLIB="ranlib spm_vol_utils.mexmac.a" CC="cc -DBIGENDIAN"\
       MEX="mex -O -DBIGENDIAN"
_____________________________________________________________
%M% %I% %E%

Unix compile for MacOS X
_____________________________________________________________

cc -DBIGENDIAN -c -o utils_uchar.mexmac.o spm_vol_utils.c -DSPM_UNSIGNED_CHAR
cc -DBIGENDIAN -c -o utils_short.mexmac.o spm_vol_utils.c -DSPM_SIGNED_SHORT
cc -DBIGENDIAN -c -o utils_int.mexmac.o spm_vol_utils.c -DSPM_SIGNED_INT
cc -DBIGENDIAN -c -o utils_schar.mexmac.o spm_vol_utils.c -DSPM_SIGNED_CHAR
cc -DBIGENDIAN -c -o utils_ushort.mexmac.o spm_vol_utils.c -DSPM_UNSIGNED_SHORT
cc -DBIGENDIAN -c -o utils_uint.mexmac.o spm_vol_utils.c -DSPM_UNSIGNED_INT
cc -DBIGENDIAN -c -o utils_float.mexmac.o spm_vol_utils.c -DSPM_FLOAT
cc -DBIGENDIAN -c -o utils_double.mexmac.o spm_vol_utils.c -DSPM_DOUBLE
cc -DBIGENDIAN -c -o utils_short_s.mexmac.o spm_vol_utils.c -DSPM_SIGNED_SHORT
-DSPM_BYTESWAP
cc -DBIGENDIAN -c -o utils_int_s.mexmac.o spm_vol_utils.c -DSPM_SIGNED_INT
-DSPM_BYTESWAP
cc -DBIGENDIAN -c -o utils_ushort_s.mexmac.o spm_vol_utils.c
-DSPM_UNSIGNED_SHORT -DSPM_BYTESWAP
cc -DBIGENDIAN -c -o utils_uint_s.mexmac.o spm_vol_utils.c -DSPM_UNSIGNED_INT
-DSPM_BYTESWAP
cc -DBIGENDIAN -c -o utils_float_s.mexmac.o spm_vol_utils.c -DSPM_FLOAT
-DSPM_BYTESWAP
cc -DBIGENDIAN -c -o utils_double_s.mexmac.o spm_vol_utils.c -DSPM_DOUBLE
-DSPM_BYTESWAP
cc -DBIGENDIAN -c -o spm_make_lookup.mexmac.o spm_make_lookup.c
cc -DBIGENDIAN -c -o spm_getdata.mexmac.o spm_getdata.c
cc -DBIGENDIAN -c -o spm_vol_access.mexmac.o spm_vol_access.c
mex -O -DBIGENDIAN -c spm_mapping.c
make[1]: mex: Command not found
make[1]: *** [spm_mapping.mexmac.o] Error 127
make: *** [MAC] Error 2
[cain:src 237] => uname
Darwin
________________________________________________________

Help?

Thanks,

Dianne

Dianne K. Patterson Ph.D.
Psychology, Room 217E
(520) 626-4571
Cognition and NeuroImaging Labs
University of Arizona
Tucson, AZ


--- 

Russell A. Poldrack, Ph.d. 

Assistant Professor 

UCLA Department of Psychology 

Franz  Hall, Box 951563 

Los Angeles, CA 90095-1563 


phone: 310-794-1224 

fax: 310-206-5895 

email: [log in to unmask] 

web: www.poldracklab.org