[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling Octave with OSX 10.7
From: |
Liam Groener |
Subject: |
Compiling Octave with OSX 10.7 |
Date: |
Wed, 10 Aug 2011 16:09:38 -0700 |
Hi,
Has anyone successfully built Octave on a machine with OSX 10.7 installed. I
attempted to do this with Octave 3.4.2 using MacPorts. The error I got does not
seem to me to be a problem with the portfile, but with the build process. The
log file error message was:
:info:build libtool: compile: /opt/local/bin/g++-mp-4.5 -DHAVE_CONFIG_H -I.
-I.. -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave
-I. -I. -pipe -O2 -m64 -DHAVE_CONFIG_H -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -Wall
-W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -pipe -O2 -m64 -D_THREAD_SAFE -pthread -pipe -O2 -m64
-c display.cc -fno-common -DPIC -o .libs/liboctinterp_la-display.o
:info:build display.cc: In member function 'void display_info::init(bool)':
:info:build display.cc:73:46: error: 'CGDisplayBitsPerPixel' was not declared
in this scope
:info:build make[3]: *** [liboctinterp_la-display.lo] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build In file included from dirfns.cc:61:0:
I did successfully use the same port command to install octave on a different
machine running snow leopard. This installation still runs fine after upgrading
to lion (OSX 10.7).
- Compiling Octave with OSX 10.7,
Liam Groener <=