matlab 2009a

Jan Henrik Sylvester me at
Sun May 17 12:29:30 UTC 2009

> cat: /proc/cpuinfo: No such file or directory
> Error: Your computer's processor is missing the SSE2 instructions that
>         are required for MATLAB to run correctly.
>         For system requirements consult ...

You have to mount linprocfs -- but there is a bug in the cpu features of 
linprocfs not returning SSE2, even if it is present. Compare the output 
of the following and see:

/usr/compat/linux/bin/cat /proc/cpuinfo
dmesg | grep Features

Thus, you have to patch the matlab scripts to ignore that check.

I have recently installed matlab2008b on FreeBSD 7.2-RELEASE changing 
the following in bin:

In ldd and mexext: Linux) -> FreeBSD)
In matlab: #!/bin/sh -> #!/usr/compat/linux/bin/sh
In mbuild and util/ Add an 'echo 1' line after the 
cpuinfo/sse2 line.

Basic functionality is there. Maybe more similar changes are needed.

Jan Henrik

More information about the freebsd-questions mailing list