[MacPorts] #22741: octave-3.2.3 fails to compile on Snow Leopard
MacPorts
noreply at macports.org
Thu Dec 3 04:05:35 PST 2009
#22741: octave-3.2.3 fails to compile on Snow Leopard
------------------------------+---------------------------------------------
Reporter: earcar@… | Owner: alakazam@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: octave
------------------------------+---------------------------------------------
Comment(by earcar@…):
It seems that something in the octave build system is broken:
{{{
checking for X... no
checking whether ld accepts -framework Carbon... no
configure: defining UGLY_DEFS to be -DPACKAGE_NAME=\\\"\\\"
-DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\"
-DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DOCTAVE_SOURCE=1
-D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1
-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DSEPCHAR=\':\'
-DSEPCHAR_STR=\\\":\\\" -D__NO_MATH_INLINES=1
-DCXX_NEW_FRIEND_TEMPLATE_DECL=1 -DCXX_ISO_COMPLIANT_LIBRARY=1
-DHAVE_X_WINDOWS=1
[cut]
OPENGL libraries: -lftgl -L/opt/local/lib -lfreetype -lz
-Wl,-framework -Wl,OpenGL
FLTK backend libs:
X11 include flags:
X11 libraries:
CARBON libraries:
LIBS: -lreadline -lncurses -lhdf5 -lz -lm
}}}
Thus in display.cc it will include X related code without a way to link
it!
Now investingating for a patch...
--
Ticket URL: <http://trac.macports.org/ticket/22741#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list