[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac OS X build reference?
From: |
Richard Campbell |
Subject: |
Re: Mac OS X build reference? |
Date: |
Sat, 19 Feb 2011 14:41:16 -0500 |
On Feb 19, 2011, at 2:37 PM, Ben Abbott wrote:
> On Feb 19, 2011, at 2:00 PM, fork wrote:
>
>> fork <forkandwait <at> gmail.com> writes:
>>
>>> I am going to give building the latest
>>> on my Macbook, Snow Leopard.
>>
>> Success, at least for 32 bit! Here is what I did:
>>
>> Downloaded and installed xcode (I couldn't figure out how to build Blas/
>> Atlas/
>> Lapack and friends...)
>>
>> Built and installed the newest stable gcc with --prefix=/usr/local
>>
>> Ditto for gnuplot
>>
>> Ditto for other dependencies (sed, pcre, readline, make, etc). When in doubt
>> (like with make) I installed it.
>>
>> Set the flags from Campbell's Readme:
>>
>> export CFLAGS="-m32"
>> export FFLAGS="$CFLAGS -ff2c"
>> export CPPFLAGS="$CFLAGS -D_REENTRANT -D__LISTS__"
>> export LDFLAGS="$CFLAGS"
>> export FC=/usr/local/bin/gfortran
>>
>> Reset the path to hit /usr/local/bin first (for our new gcc):
>> export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
>>
>> Then ran configure with a bunch of stuff disabled (from looking at the logs
>> for
>> the bus error with a more indiscriminant build, but not systematically):
>> ./configure --disable-docs --without-framework-carbon \
>> --without-x --disable-64 --without-opengl --without-framework-opengl
>>
>> make && make install
>>
>> I ran make check as well, but there was a single error I don't remember what.
>>
>> I have successfully run eig() and plotted from the command line, and printed
>> a
>> simple color eps file. I get warnings about ghostscript, but it seems to
>> work
>> OK anyway
>
> The ghostscript warning could be more clear. Without ghostscirpt, the only
> format you can print if eps.
>
> Ben
>
>
Which is really not a problem on OSX, which can convert eps to anything - and
the results of rasterizing the eps in Preview, for example, are usually much
better-looking than if you printed directly to png from Octave. But yeah,
someone should submit a patch to make the warning clearer.
Campbell
- Re: Mac OS X build reference?, (continued)
- Re: Mac OS X build reference?, fork, 2011/02/18
- Re: Mac OS X build reference?, Richard Campbell, 2011/02/18
- Re: Mac OS X build reference?, Jordi GutiƩrrez Hermoso, 2011/02/18
- Re: Mac OS X build reference?, fork, 2011/02/18
- Re: Mac OS X build reference?, Jordi GutiƩrrez Hermoso, 2011/02/18
- Re: Mac OS X build reference?, Richard Campbell, 2011/02/18
- Re: Mac OS X build reference?, fork, 2011/02/18
Re: Mac OS X build reference?, fork, 2011/02/19
Re: Mac OS X build reference?, Ben Abbott, 2011/02/19
Re: Mac OS X build reference?, Richard Campbell, 2011/02/19