← Back to team overview

kicad-developers team mailing list archive

Fail to build wxpython on OS X Maverick

 

Hello all,

Last build I tried was BZR4729, and went fine.

Today, I try again with the 4745

cd ~/Soft_Dev
bzr branch lp:kicad
mv kicad/ kicad-BZR4745
cd kicad-BZR4745
cmake -DKICAD_BUILD_DYNAMIC=ON
make swig
cmake -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_WXPYTHON=ON
make

Now, make is failing when building wxPython (see below)
What am I doing wrong? I would like to fix this, and get back to my build.
The only difference that I can think of is that I installed Homebrew, but I have not used it yet
as I got a warning about issues with MacPorts.


Jean-Paul (AC9GH)


Jean-Pauls-MacBook-Pro:kicad-BZR4745 jean-paullouis$ make
[  4%] Built target boost
[  4%] Built target pixman
[  4%] Built target pkgconfig
[  4%] Built target libpng
[  4%] Built target cairo
[  4%] Built target glew
[  4%] Performing configure step for 'libwxpython'
old_options = set(['--wxpy_installdir=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/wxPython', '--unicode', '--osx_cocoa', '--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--install'])
sys.argv = ['--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--unicode', '--install', '--wxpy_installdir=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/wxPython', '--osx_cocoa']
wxWidgets directory is: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/.downloads-by-cmake/libwxpython/src/libwxpython
wxWidgets build options: ['--wxpython', '--jobs=8', '--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--unicode', '--no_config', '--osx_cocoa', '--installdir=', '--install', '--builddir=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/.downloads-by-cmake/libwxpython/src/libwxpython/wxpy-bld/cocoa']
Configure options: ['--enable-unicode', '--with-osx_cocoa', '--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-monolithic', '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk']
/usr/bin/make
make --jobs=8
/usr/bin/make
make install
 
 ------------------------------------------------------
 
 The installation of wxWidgets is finished.  On certain
 platforms (e.g. Linux) you'll now have to run ldconfig
 if you installed a shared library and also modify the
 LD_LIBRARY_PATH (or equivalent) environment variable.
 
 wxWidgets comes with no guarantees and doesn't claim
 to be suitable for any purpose.
 
 Read the wxWindows Licence on licencing conditions.
 
 ------------------------------------------------------
 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DESTDIR: 
PREFIX: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root
wxlocation: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root
wxcfg: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/bin/wx-config
wxcfgsrc: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/lib/wx/config/osx_cocoa-unicode-3.0
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
**** /usr/bin/python2.6 -u ./setup.py build UNICODE=1 WXPORT=osx_cocoa BUILD_BASE=build/cocoa WX_CONFIG="/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/bin/wx-config --prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root" 
WARNING: WXWIN not set in environment. Assuming '..'
Preparing CORE...
Preparing STC...
Preparing GLCANVAS...
Preparing GIZMOS...
running build
running build_py
running build
running build_py
copying wx/__version__.py -> build/cocoa/lib.macosx-10.9-intel-2.6/wx
copying wx/build/build_options.py -> build/cocoa/lib.macosx-10.9-intel-2.6/wx/build
package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file)
package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file)
running build_ext
building '_core_' extension
gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.5 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -Iinclude -Isrc -I/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/lib/wx/include/osx_cocoa-unicode-3.0 -I/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/include/wx-3.0 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/helpers.cpp -o build/cocoa/temp.macosx-10.9-intel-2.6/src/helpers.o -O3
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: command 'gcc' failed with exit status 1
ERROR: failed building wxPython.
make[2]: *** [.downloads-by-cmake/libwxpython/libwxpython-configure] Error 1
make[1]: *** [CMakeFiles/libwxpython.dir/all] Error 2
make: *** [all] Error 2
Jean-Pauls-MacBook-Pro:kicad-BZR4745 jean-paullouis$ 


Follow ups