[MacPorts] #40315: grass: tries to load wx despite --disable-wxwidgets
MacPorts
noreply at macports.org
Sat Aug 31 05:43:47 PDT 2013
#40315: grass: tries to load wx despite --disable-wxwidgets
---------------------+--------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: grass
---------------------+--------------------------------
When building grass without support for {{{wxWidgets}}}, there are
nevertheless errors:
{{{
DEBUG: Executing command line: cd
"/opt/local/var/macports/build/_opt_mports_dports_gis_grass/grass/work/grass-6.4.3"
&& ./configure --prefix=/opt/local --with-fftw-includes=/opt/local/include
--with-fftw-libs=/opt/local/lib --with-freetype --with-freetype-
includes=/opt/local/include/freetype2 --with-freetype-libs=/opt/local/lib
--with-gdal=/opt/local/bin/gdal-config --with-jpeg-
includes=/opt/local/include --with-jpeg-libs=/opt/local/lib --with-motif
--with-motif-includes=/opt/local/include --with-motif-libs=/opt/local/lib
--with-png-includes=/opt/local/include --with-png-libs=/opt/local/lib
--with-proj-includes=/opt/local/lib/proj47/include --with-proj-
libs=/opt/local/lib/proj47/lib --with-proj-
share=/opt/local/lib/proj47/share/proj --with-tcltk-
includes=/opt/local/include --with-tcltk-libs=/opt/local/lib --with-cxx
--with-x --without-postgres --disable-python --disable-wxwidgets --enable-
largefile --with-cairo --with-cairo-includes=/opt/local/include/cairo
--with-cairo-libs=/opt/local/lib --with-blas --with-lapack --with-readline
--with-readline-includes=/opt/local/include/readline --with-readline-
libs=/opt/local/lib --with-regex-includes=/usr/include --with-regex-
lib=/usr/lib
...
checking whether to use Python... no
checking whether to use wxWidgets... no
...
GRASS is now configured for: x86_64-apple-darwin11.4.2
Source directory:
/opt/local/var/macports/build/_opt_mports_dports_gis_grass/grass/work/grass-6.4.3
Build directory:
/opt/local/var/macports/build/_opt_mports_dports_gis_grass/grass/work/grass-6.4.3
Installation directory: ${prefix}/share/grass-6.4.3
Startup script in directory: ${exec_prefix}/bin
C compiler: /usr/bin/llvm-gcc-4.2 -pipe -Os -arch
x86_64
C++ compiler: /usr/bin/llvm-g++-4.2 -pipe -Os -arch
x86_64
Building shared libraries: yes
64bit support: no
OpenGL platform: X11
MacOSX application: no
MacOSX architectures:
MacOSX SDK:
Tcl/Tk NVIZ: yes
BLAS support: yes
C++ support: yes
Cairo support: yes
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GEOS support: no
GLw support: no
LAPACK support: yes
Large File support (LFS): yes
Motif support: yes
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: no
Python support: no
Readline support: yes
SQLite support: no
Tcl/Tk support: yes
wxWidgets support: no
TIFF support: yes
X11 support: yes
}}}
The error is:
{{{
Traceback (most recent call last):
File "core/menudata.py", line 39, in <module>
import wx
ImportError: No module named wx
make[2]: *** [menustrings.py] Error 1
}}}
See https://build.macports.org/builders/buildports-lion-
x86_64/builds/13829. This probably has to be reported upstream.
Another problem on this build seems to be a completely weird:
{{{
Error: /opt/local/include/GL/gl.h:109: Syntax error at '\n'
Error: /opt/local/include/GL/gl.h:112: Syntax error at '\n'
}}}
as well as:
{{{
Error: Can't open display:
../../tools/mkhtml.sh xganim ; mkdir -p
/opt/local/var/macports/build/_opt_mports_dports_gis_grass/grass/work/grass-6.4.3/dist.x86_64
-apple-darwin11.4.2/docs/html ; /usr/bin/install -c -m 644
xganim.tmp.html
/opt/local/var/macports/build/_opt_mports_dports_gis_grass/grass/work/grass-6.4.3/dist.x86_64
-apple-darwin11.4.2/docs/html/xganim.html ; for file in *.png *.jpg ; do
head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then
/usr/bin/install -c -m 644 $file
/opt/local/var/macports/build/_opt_mports_dports_gis_grass/grass/work/grass-6.4.3/dist.x86_64
-apple-darwin11.4.2/docs/html ; fi done 2> /dev/null ; true
}}}
I would suggest making {{{wxwidgets}}} the default variant anyway (and
maybe figure out how to disable X11).
See also #36904.
--
Ticket URL: <https://trac.macports.org/ticket/40315>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list