Dear Hiro,
long time no see.
I suspect your problem may be similar to what I experienced when installing
SPM99 on Linux. The Matlab version I used at the time (5.3.something) was not
compatible with the Linux Release I used (Red Hat 6). The problem had to do
with the (C) libraries that were used when creating MEX files, and I had to
replace those files. I strongly suspect this is your problem since Matlab
complains about the library file (...ld.so) and since the offending file
(spm_list_files) is a MEX file.
In my case the problem occurred only if I attempted to build SPM myself, i.e.
recompiling the mex files. The mex files for Linux (.mexglx) that is supplied
with the release worked fine for me. Hence, there are three alternative
solutions.
1. If you have built SPM yourself, download it again this time without
building it on your computer. That way the precompiled .mexglx files will be
used.
2. If that doesn't work, or if you have the need to build your own MEX files
do as follows. Log on to Mathworks home page, go to support, go to "Solution
number: 11129" which describes this very problem. Follow the instructions. It
will take you a few hours, but at least in my case it solved the problem (and
created a couple of new ones for other applications).
3. I believe that Matlab 6 doesn't have this problem. I am not 100% sure about
this one though.
Good luck Jesper
Hirotaka Onoe wrote:
> Dear superusers,
>
> We have a trouble getting SPM99 run on an Linux 2.2.12-32 #1 on Matlab
> 5.3.0.10183 (R11).
> It is something similar to the problem of spm99 installation reported by
> Andreas Joachim Bartsch at Thu, 9 Mar 2000.
> But it is not solved by making sure that toolbox is readable andexecutable
> that were suggested by John Ashburne.
> It was occurred when we were going to any of the options (e.g., fMRI time
> series) inevitably results in the following error announcement:
>
> ***************************************************************************
> / __)( _ \( \/ )
> \__ \ )___/ ) ( Statistical Parametric Mapping
> (___/(__) (_/\/\_) SPM99 - http://www.fil.ion.ucl.ac.uk/spm
>
> Initialising SPM..??? Error while evaluating uicontrol Callback.
>
> >>
> ------------------------------------------------------------------------
> Segmentation violation detected at Fri Dec 22 08:11:08 2000
> ------------------------------------------------------------------------
>
> Configuration:
> MATLAB Version: 5.3.0.10183 (R11)
> Operating System: Linux 2.2.12-32 #1 Mon Oct 25 19:56:23 EDT 1999 i686
> Window System: The XFree86 Project, Inc (335), display :0.0
> Current Visual: 0x22 (class 4, depth 16)
>
> Unable to dump symbol information.. ld.so is older than version 1.9.7.
> For newer versions, check ftp://tsx-11.mit.edu/pub/linux/packages/GCC.
>
> Register State:
> eax = 081b6a00 ebx = 4095f0bc
> ecx = 081d0350 edx = 400095ad
> esi = 4000264c edi = 081d0350
> ebp = bfff788c esp = bfff7837
> eip = 400095d2 flg = 00010a02
>
> Stack Trace:
>
> Unable to complete stack trace (stack was probably corrupted)
>
> Please follow these steps in reporting this problem to The MathWorks so
> that we have the best chance of correcting it:
>
> 1. Send us this crash report. For your convenience, this information
> has been recorded in: /home/medx/matlab_crash_dump.22691
>
> 2. Provide a brief description of what you were doing when this
> problem occurred.
>
> 3. If possible, include M-files, MEX-files, or MDL-files that aid
> in reproducing it.
>
> 4. E-mail or FAX this information to us at:
> E-mail: [log in to unmask]
> FAX: 508-647-7201
>
> Thank you for your assistance. Please save your workspace and restart
> MATLAB before continuing your work.
>
> Error in ==> /usr/local/spm99/spm.m
> On line 1050 ==> [null,tmp] = spm_list_files(Tdir,'-');
>
> Error in ==> /usr/local/spm99/spm.m
> On line 667 ==> xTB = spm('TBs');
>
> Error in ==> /usr/local/spm99/spm.m
> On line 439 ==> Fmenu = spm('CreateMenuWin','off');
> fprintf('.')
>
> **************************************************************************
>
> Please teach me anything to solve it.
> Thanks a lot in advance-
>
> Yours, Hiro
|