|
From: Peter <one...@ya...> - 2012-08-26 20:44:55
|
Hello, I have the problem to get gnuplot 4.6 to compile with mac os x 10.6 my mac runs mac os x 10.6 with xcode_4.2, my macport was self updated to the latest version. Here is the command I run: sudo /opt/local/bin/port install cairo +no_x11 +quartz +universal sudo /opt/local/bin/port install pango +no_x11 +quartz +universal ./configure CPPFLAGS='-arch i386' LDFLAGS='-arch i386' --with-readline=builtin --prefix=$HOME/gnuplot-4.6_bin --without-lisp-files make I got the following errors. In file included from ./plot.h:46, from wxterminal/wxt_gui.h:113, from wxterminal/wxt_gui.cpp:96: ./mouse.h:189: error: variable or field 'set_ruler' declared void ./mouse.h:189: error: '_Bool' was not declared in this scope ./mouse.h:189: error: expected primary-expression before 'int' ./mouse.h:189: error: expected primary-expression before 'int' ./mouse.h:197: error: '_Bool' has not been declared In file included from wxterminal/wxt_gui.h:113, from wxterminal/wxt_gui.cpp:96: ./plot.h:53: error: '_Bool' does not name a type ./plot.h:54: error: '_Bool' does not name a type ./plot.h:55: error: '_Bool' does not name a type how to resolve such a problem ? Thanks. Peter |