Problems installing cvx on mac - matlab r2008b

I’m trying to install CVX in my system but I’m getting the following message. Hope you guys can help me.

>> cvx_setup

CVX, version 2.0 (beta)                        (c) 2012, CVX Research, Inc.
Software for Disciplined Convex Programming
Version info:
    Code: build 1011, 2013-10-14 15:50:36
    Documentation: build 994, 2013-07-24 10:54:53
Installation info:
    Path: /Users/me/Documents/MATLAB/cvx
    MATLAB version: 7.7 (R2008b)
    OS: Mac OS X i386 version 10.5.8
    Java version: 1.5.0_30
       WARNING: full support for CVX Professional licenses
       requres Java version 1.6.0 or later. Please upgrade.
Verfying CVX directory contents:
    No missing files.
CVX Professional disabled; requires the Java virtual machine.
Setting CVX paths...done.
Saved preferences...found.
Searching for solvers...4 shims found.
2 solvers initialized (* = default):
 *  SDPT3    4.0        {cvx}/sdpt3
    SeDuMi   1.34cvx    {cvx}/sedumi
2 solvers skipped:
        Could not find a Gurobi MEX file.
        MOSEK support requires MATLAB 7.14 (R2012a) or later on the
Saving updated preferences...done.
Saving updated path...done.
Testing with a simple model...
    UNEXPECTED ERROR: ------------------------------------------------------------
    Invalid MEX-file
        1): no suitable image found.  Did find:
        unknown required load command 0x80000022.
    Error in ==> cvx_bcompress at 29
    [ ndxs, scls ] = cvx_bcompress_mex( sparse( x ), mode, num_sorted
    Error in ==> cvx.bcompress at 21
        [ xR, xb ] = cvx_bcompress( xb, mode, nsrt );
    Error in ==> cvx.svec at 13
        [ xR, y ] = bcompress( x );
    Error in ==> cvx.norm at 46
        x = svec( x, p );
    Error in ==> cvx_setup at 251
                minimize( norm(A*x-b,1) );
Please report this error to support, and include entire output of
CVX_SETUP in your support request.

I’m afraid I don’t have good news for you. I don’t know whether your MATLAB version is causing the problem, or your version of Mac OSX, both of which are quite old. But we’re simply not able to diagnose or fix the problem on a configuration like this. CVX is actually developed on a Mac, and we even keep older versions of MATLAB around to test on, but we do keep our OS up to date.

I don’t know if you saw the announcement, but OSX Mavericks is a free upgrade for all Mac users. That would be a great start. Of course, if your computer is too old to accept Mavericks, that won’t work for you either.

The other option would be to try and recompile the MEX files yourself. If you have experience doing that, it shouldn’t be difficult, but we can’t offer assistance or support.