From owner-freebsd-questions@FreeBSD.ORG Sun May 17 12:29:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0CC4106566B for ; Sun, 17 May 2009 12:29:29 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id 715348FC1B for ; Sun, 17 May 2009 12:29:29 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (e177245187.adsl.alicedsl.de [85.177.245.187]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1M5fUd1Z0T-0002BP; Sun, 17 May 2009 14:29:27 +0200 Message-ID: <4A100324.9040003@janh.de> Date: Sun, 17 May 2009 14:29:24 +0200 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Pieter Donche References: alpine.BSF.2.00.0905170827520.57534@macos.cmi.ua.ac.be Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/DGqhHqinn/qxi++6jyRbE+pu34VXKSnl2CrI q8rruG8LIMFm2afu9dczU4lgjiRre/KkYu84MhxU11/HfsFPFr a9Tqmn9vgOAaVywIsKO7A== Cc: questions-list freebsd Subject: Re: matlab 2009a X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 12:29:30 -0000 > 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 http://www.mathworks.com ... 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/oscheck.sh: Add an 'echo 1' line after the cpuinfo/sse2 line. Basic functionality is there. Maybe more similar changes are needed. Cheers, Jan Henrik