KiCad / KicadOSXBuilder

Kicad OSX Builder, which I plan to use as my boxed development environment on Mac OSX
87 stars 27 forks source link

Error compiling on mavericks #37

Open robertleelittleiii opened 10 years ago

robertleelittleiii commented 10 years ago

Starting step: BUILD KICAD


-- The C compiler identification is Clang -- The CXX compiler identification is Clang -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [/openmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [-Qopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [-openmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [ ] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [-xopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [+Oopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [-qsmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP C flag = [-mp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [/openmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [-Qopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [-openmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [ ] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [-xopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [+Oopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [-qsmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Try OpenMP CXX flag = [-mp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Failed -- Check for installed OpenGL -- found -- Found Glew: /opt/local/lib/libGLEW.dylib -- Check for installed GLEW -- found -- checking for module 'cairo' -- found cairo, version 1.12.16 -- Found CAIRO: /opt/local/lib/libcairo.dylib -- Check for installed Cairo -- found -- Found BZip2: /usr/lib/libbz2.dylib -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib - found -- BOOST found 32/64 Address Model -- BOOST found x86 Architecture -- Check for installed wxWidgets -- found -- Performing Test GXX_HAS_VISIBILITY_FLAG -- Performing Test GXX_HAS_VISIBILITY_FLAG - Success -- Performing Test GXX_HAS_VISIBILITY_INLINES_FLAG -- Performing Test GXX_HAS_VISIBILITY_INLINES_FLAG - Success -- Looking for malloc.h -- Looking for malloc.h - not found -- Looking for iso646.h -- Looking for iso646.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for malloc -- Looking for malloc - found -- Looking for math.h -- Looking for math.h - found -- Looking for C++ include cmath -- Looking for C++ include cmath - found -- Looking for asinh -- Looking for asinh - found -- Looking for acosh -- Looking for acosh - found -- Looking for atanh -- Looking for atanh - found -- Performing Test HAVE_CMATH_ISINF -- Performing Test HAVE_CMATH_ISINF - Success -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - not found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for getc_unlocked -- Looking for getc_unlocked - found -- Found PythonInterp: /usr/bin/python (found suitable version "2.7.5", required is "2.6") -- Check for installed Python Interpreter -- found -- Python module install path: /Users/rlittle/Downloads/KicadOSXBuilder-master/output/python/site-packages -- Found PythonLibs: /System/Library/Frameworks/Python.framework/Versions/2.6/Python (found suitable version "2.6.8", required is "2.6") -- Bazaar version control system version found. -- Kicad Bazaar build version: (2014-03-29 BZR 4777) -- Found SWIG: /opt/local/bin/swig (found version "2.0.11") -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created -- checking for module 'openssl' -- found openssl, version 1.0.1f -- Found OpenSSL: /opt/local/lib/libssl.dylib;/opt/local/lib/libcrypto.dylib (found version "1..1") CMake Error at pcbnew/CMakeLists.txt:690 (add_dependencies): add_dependencies Adding dependency to non-existent target: osx_fix_bundles

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created -- Configuring incomplete, errors occurred! make: *\ No rule to make target `install'. Stop. build error on BUILD KICAD STEP: 5


Any help would be appreciated.

thanks,

Rob Little.

sprhawk commented 10 years ago

could not find doxygen, so you should install it first

iwoloschin commented 10 years ago

Doxygen missing is only a warning. The error is a flaw in build.sh that tries to build KiCAD statically, which doesn't properly define "osx_fix_bundles" which results in an error. Use these instructions, they work better.

http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/view/head:/Documentation/compiling/mac-osx.txt