ZitatAlles anzeigendavid$ clang++ -o touchtest touchtest.cpp $(wx-config --libs --cxxflags) -std=c++11 -stdlib=libc++ -v
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
"/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/clang" -cc1 -triple x86_64-apple-macosx10.6.0 -emit-obj -mrelax-all -disable-free -main-file-name touchtest.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 97.17 -v -dwarf-column-info -resource-dir /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2 -D _FILE_OFFSET_BITS=64 -D wxDEBUG_LEVEL=0 -D WXUSINGDLL -D __WXMAC__ -D __WXOSX__ -D __WXOSX_COCOA__ -I /usr/local/Cellar/wxmac/3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 -I /usr/local/Cellar/wxmac/3.0.2/include/wx-3.0 -stdlib=libc++ -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/david/touchtest -ferror-limit 19 -fmessage-length 160 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.6.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/touchtest-bdcfcb.o -x c++ touchtest.cpp
clang -cc1 version 3.6.2 based upon LLVM 3.6.2 default target x86_64-apple-darwin10.8.0
ignoring nonexistent directory "/usr/include/c++/v1"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/Cellar/wxmac/3.0.2/lib/wx/include/osx_cocoa-unicode-3.0
/usr/local/Cellar/wxmac/3.0.2/include/wx-3.0
/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../include/c++/v1
/usr/local/include
/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
In file included from touchtest.cpp:11:
In file included from /usr/local/Cellar/wxmac/3.0.2/include/wx-3.0/wx/wx.h:15:
In file included from /usr/local/Cellar/wxmac/3.0.2/include/wx-3.0/wx/object.h:19:
In file included from /usr/local/Cellar/wxmac/3.0.2/include/wx-3.0/wx/memory.h:15:
In file included from /usr/local/Cellar/wxmac/3.0.2/include/wx-3.0/wx/string.h:46:
/usr/local/Cellar/wxmac/3.0.2/include/wx-3.0/wx/strvararg.h:30:18: fatal error: 'tr1/type_traits' file not found
#include <tr1/type_traits>
^
1 error generated.
Beiträge von david.radakovits
-
-
Zitat
david$ clang++ -v -xc++ -fshow-source-location -o hello2 hello2.cpp -std=c++11 -stdlib=libc++ -nostdinc++ -I /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/include/c++/v1/ -L /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/usr/lib/
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
"/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/clang" -cc1 -triple x86_64-apple-macosx10.6.0 -emit-obj -mrelax-all -disable-free -main-file-name hello2.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 97.17 -v -dwarf-column-info -nostdinc++ -resource-dir /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2 -I /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/include/c++/v1/ -stdlib=libc++ -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/david/hello2 -ferror-limit 19 -fmessage-length 160 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.6.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-914f50.o -x c++ hello2.cpp
clang -cc1 version 3.6.2 based upon LLVM 3.6.2 default target x86_64-apple-darwin10.8.0
#include "..." search starts here:
#include <...> search starts here:
/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/include/c++/v1
/usr/local/include
/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
"/usr/bin/ld" -dynamic -arch x86_64 -macosx_version_min 10.6.0 -o hello2 -lcrt1.10.6.o -L/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/usr/lib/ /var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-914f50.o -lc++ -lSystemdavid$ ./hello2
Hello Welt -
Zitat
david$ clang++ -v -xc++ -fshow-source-location -o hello2 hello2.cpp -std=c++11 -stdlib=libc++ -nostdinc++ -I /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/include/c++/v1/ -L /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/lib
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
"/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/clang" -cc1 -triple x86_64-apple-macosx10.6.0 -emit-obj -mrelax-all -disable-free -main-file-name hello2.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 97.17 -v -dwarf-column-info -nostdinc++ -resource-dir /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2 -I /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/include/c++/v1/ -stdlib=libc++ -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/david/hello2 -ferror-limit 19 -fmessage-length 160 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.6.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-da43a4.o -x c++ hello2.cpp
clang -cc1 version 3.6.2 based upon LLVM 3.6.2 default target x86_64-apple-darwin10.8.0
#include "..." search starts here:
#include <...> search starts here:
/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/include/c++/v1
/usr/local/include
/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
"/usr/bin/ld" -dynamic -arch x86_64 -macosx_version_min 10.6.0 -o hello2 -lcrt1.10.6.o -L/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/lib /var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-da43a4.o -lc++ -lSystem
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation) -
Das ist der Output, es wird kein binary erzeugt, ebenso mit den zusätzlichen Parametern.
Zitatdavid$ clang++ -v -xc++ '-###' -o hello2 hello2.cpp -std=c++11 -stdlib=libc++
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
"/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/clang" "-cc1" "-triple" "x86_64-apple-macosx10.6.0" "-emit-obj" "-mrelax-all" "-disable-free" "-main-file-name" "hello2.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-munwind-tables" "-target-cpu" "core2" "-target-linker-version" "97.17" "-v" "-dwarf-column-info" "-resource-dir" "/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2" "-stdlib=libc++" "-std=c++11" "-fdeprecated-macro" "-fdebug-compilation-dir" "/Users/david/hello2" "-ferror-limit" "19" "-fmessage-length" "209" "-stack-protector" "1" "-mstackrealign" "-fblocks" "-fobjc-runtime=macosx-10.6.0" "-fencode-extended-block-signature" "-fcxx-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-3e732d.o" "-x" "c++" "hello2.cpp"
"/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "hello2" "-lcrt1.10.6.o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-3e732d.o" "-lc++" "-lSystem" -
Zitat
david$ clang++ -v -xc++ '-###' -o hello1 hello1.cpp
clang version 3.6.2 (tags/RELEASE_362/final)
Target: x86_64-apple-darwin10.8.0
Thread model: posix
"/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/clang" "-cc1" "-triple" "x86_64-apple-macosx10.6.0" "-emit-obj" "-mrelax-all" "-disable-free" "-main-file-name" "hello1.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-munwind-tables" "-target-cpu" "core2" "-target-linker-version" "97.17" "-v" "-dwarf-column-info" "-resource-dir" "/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2" "-fdeprecated-macro" "-fdebug-compilation-dir" "/Users/david/hello1" "-ferror-limit" "19" "-fmessage-length" "160" "-stack-protector" "1" "-mstackrealign" "-fblocks" "-fobjc-runtime=macosx-10.6.0" "-fencode-extended-block-signature" "-fcxx-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello1-48f8ee.o" "-x" "c++" "hello1.cpp"
"/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "hello1" "-lcrt1.10.6.o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello1-48f8ee.o" "/usr/lib/libstdc++.6.dylib" "-lSystem"Zitatdavid$ wx-config --libs --cxxflags
-I/usr/local/Cellar/wxmac/3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/Cellar/wxmac/3.0.2/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__
-L/usr/local/Cellar/wxmac/3.0.2/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau_xrc-3.0 -lwx_osx_cocoau_html-3.0 -lwx_osx_cocoau_qa-3.0 -lwx_osx_cocoau_adv-3.0 -lwx_osx_cocoau_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -
make clean, rm CMakeCache.txt, cmak und make VERBOSE=1:
-
Hier der output des make:
-
Ach so! Das hab' ich missverstanden. Also make...
-
Also nocmal das cmake und dann make package?
-
So!
Libtiff und wxmac recompiliert.
touchtest funktioniert!
/usr/local/bin/clang ist die version 3.6.xDann habe ich das cmake ausgeführt:
Zitatdavid$ cmake -G "Unix Makefiles" -DUNICODE=1 . -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ -DCMAKE_CXX_FLAGS=-g -DCMAKE_C_FLAGS=-g -DDOCBOOK_DIR=/usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl -DCMAKE_C_COMPILER=/usr/local/bin/clang
-- No build configuration specified. Defaulting to 'Release' build.
-- RtAudio build Configuration
-- Building a Mac configuration
-- Support for Jack : ON
-- Support for CoreAudio : ON
-- ============================================================================
-- RtMidi build Configuration
-- Building a Mac configuration
-- Support for CoreMIDI : ON
-- Support for Jack : ON
-- ============================================================================
-- PortAudio build Configuration
-- Building a Mac configuration
-- Support for Jack : ON
-- Support for CoreAudio : ON
-- ============================================================================
-- fftw build Configuration
-- ============================================================================
-- wavpack build Configuration
-- Hunting for wxWidgets...
-- wxWidgets Unicode? : ON (required ON)
-- wxWidgets Debug? : OFF (required OFF)
-- wxWidgets Static linking : OFF (required OFF)
-- Matching wxWidgets configuration was found.
-- ============================================================================
-- wxTranslation search path: /usr/local/Cellar/wxmac/3.0.2/share/locale
CMake Warning (dev) at src/grandorgue/CMakeWxBundle.txt:104 (get_target_property):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.The LOCATION property should not be read from target "GrandOrgue". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.Call Stack (most recent call first):
src/grandorgue/CMakeLists.txt:464 (CopyDependencies)
This warning is for project developers. Use -Wno-dev to suppress it.--
warning: cannot resolve item '/usr/local/lib/gcc/x86_64-apple-darwin10.8.0/4.9.1/libstdc++.6.dylib'possible problems:
need more directories?
need to use InstallRequiredSystemLibraries?
run in install tree instead of build tree?warning: target '/usr/local/lib/gcc/x86_64-apple-darwin10.8.0/4.9.1/libstdc++.6.dylib' does not exist...
/usr/bin/otool: can't open file: /usr/local/lib/gcc/x86_64-apple-darwin10.8.0/4.9.1/libstdc++.6.dylib (No such file or directory)
otool: can't open file: /usr/local/lib/gcc/x86_64-apple-darwin10.8.0/4.9.1/libstdc++.6.dylib (No such file or directory)
CMake Warning (dev) at src/grandorgue/CMakeLists.txt:470 (add_custom_target):
Policy CMP0037 is not set: Target names should not be reserved and should
match a validity pattern. Run "cmake --help-policy CMP0037" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.The target name "test" is reserved or not valid for certain CMake features,
such as generator expressions, and may result in undefined behavior.
This warning is for project developers. Use -Wno-dev to suppress it.-- Found Gettext: /usr/local/bin/msgmerge (found version "0.19.5.1")
-- Project : GrandOrgue
-- Description : GrandOrgue - OpenSource Virtual Pipe Organ Software
-- Version : 0.3.1.0
-- ============================================================================
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Applications/grandourgue/ourorgan-svn-1944-trunk -
Zitat
david$ clang --version
Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
Target: x86_64-apple-darwin10
Thread model: posixZitat
david$ clang++ --version
-bash: clang++: command not found -
Zitat
david$ cmake -G "Unix Makefiles" -DUNICODE=1 . -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++-3.6 -DCMAKE_CXX_FLAGS=-g -DCMAKE_C_FLAGS=-g -DDOCBOOK_DIR=/usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl -DCMAKE_C_COMPILER=/usr/local/bin/clang-3.6
-- No build configuration specified. Defaulting to 'Release' build.
-- RtAudio build Configuration
-- Building a Mac configuration
-- Support for Jack : ON
-- Support for CoreAudio : ON
-- ============================================================================
-- RtMidi build Configuration
-- Building a Mac configuration
-- Support for CoreMIDI : ON
-- Support for Jack : ON
-- ============================================================================
-- PortAudio build Configuration
-- Building a Mac configuration
-- Support for Jack : ON
-- Support for CoreAudio : ON
-- ============================================================================
-- fftw build Configuration
-- ============================================================================
-- wavpack build Configuration
-- Hunting for wxWidgets...
-- wxWidgets Unicode? : ON (required ON)
-- wxWidgets Debug? : ON (required OFF)
-- wxWidgets Static linking : OFF (required OFF)
CMake Error at src/grandorgue/CMakeWxWidgetsInclude.txt:160 (message):
Found wxWidgets but could not find the required configuration.
Call Stack (most recent call first):
src/grandorgue/CMakeLists.txt:43 (include)-- Configuring incomplete, errors occurred!
See also "/Applications/grandourgue/ourorgan-svn-1944-trunk/CMakeFiles/CMakeOutput.log".
See also "/Applications/grandourgue/ourorgan-svn-1944-trunk/CMakeFiles/CMakeError.log".
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_CXX_COMPILER= /usr/local/bin/clang++-3.6
CMAKE_C_COMPILER= /usr/local/bin/clang-3.6-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:DOCBOOK_DIR
-- Build files have been written to: /Applications/grandourgue/ourorgan-svn-1944-trunk
david$ make-- The CXX compiler identification is GNU 4.2.1
-- The C compiler identification is GNU 4.2.1
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /Developer/usr/bin/c++
-- Check for working CXX compiler: /Developer/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /Developer/usr/bin/cc
-- Check for working C compiler: /Developer/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- No build configuration specified. Defaulting to 'Release' build.
-- Performing Test OPTION_LINK_-std-EQc-P-P0x
-- Performing Test OPTION_LINK_-std-EQc-P-P0x - Failed
-- Looking for C++ include cstdatomic
-- Looking for C++ include cstdatomic - not found
-- Looking for C++ include atomic
-- Looking for C++ include atomic - not found
-- Looking for C++ include mutex
-- Looking for C++ include mutex - not found
-- Performing Test OPTION_ffast-math
-- Performing Test OPTION_ffast-math - Failed
-- Performing Test OPTION_Wall
-- Performing Test OPTION_Wall - Failed
-- Performing Test OPTION_fomit-frame-pointer
-- Performing Test OPTION_fomit-frame-pointer - Failed
-- Performing Test OPTION_O3
-- Performing Test OPTION_O3 - Failed
-- Performing Test OPTION_mmmx
-- Performing Test OPTION_mmmx - Failed
-- Performing Test OPTION_msse
-- Performing Test OPTION_msse - Failed
-- Performing Test OPTION_msse2
-- Performing Test OPTION_msse2 - Failed
-- Performing Test OPTION_msse3
-- Performing Test OPTION_msse3 - Failed
-- Performing Test OPTION_funroll-loops
-- Performing Test OPTION_funroll-loops - Failed
-- Performing Test OPTION_DNDEBUG
-- Performing Test OPTION_DNDEBUG - Failed
-- Performing Test OPTION_mstackrealign
-- Performing Test OPTION_mstackrealign - Failed
-- RtAudio build Configuration
-- Building a Mac configuration
-- Support for Jack : ON
-- Support for CoreAudio : ON
-- ============================================================================
-- RtMidi build Configuration
-- Building a Mac configuration
-- Support for CoreMIDI : ON
-- Support for Jack : ON
-- ============================================================================
-- PortAudio build Configuration
-- Looking for sys/soundcard.h
-- Looking for sys/soundcard.h - not found
-- Building a Mac configuration
-- Support for Jack : ON
-- Support for CoreAudio : ON
-- ============================================================================
-- fftw build Configuration
-- ============================================================================
-- wavpack build Configuration
-- Hunting for wxWidgets...
-- Found wxWidgets: TRUE
-- wxWidgets Unicode? : ON (required OFF)
-- wxWidgets Debug? : ON (required OFF)
-- wxWidgets Static linking : OFF (required OFF)
CMake Error at src/grandorgue/CMakeWxWidgetsInclude.txt:160 (message):
Found wxWidgets but could not find the required configuration.
Call Stack (most recent call first):
src/grandorgue/CMakeLists.txt:43 (include)-- Configuring incomplete, errors occurred!
See also "/Applications/grandourgue/ourorgan-svn-1944-trunk/CMakeFiles/CMakeOutput.log".
See also "/Applications/grandourgue/ourorgan-svn-1944-trunk/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1 -
der gesamte log:
-
Zitat
david$ brew install homebrew/versions/llvm36 --with-python
==> Installing llvm36 from homebrew/homebrew-versions
==> Downloading http://llvm.org/releases/3.6.2/llvm-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm36-3.6.2.tar.xz
==> Patching
patching file Makefile.rules
Hunk #1 succeeded at 598 (offset -1 lines).
==> Downloading http://llvm.org/releases/3.6.2/cfe-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm36--clang-3.6.2.tar.xz
==> Downloading http://llvm.org/releases/3.6.2/libcxx-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm36--libcxx-3.6.2.tar.xz
==> Downloading http://llvm.org/releases/3.6.2/polly-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm36--polly-3.6.2.tar.xz
==> Downloading http://llvm.org/releases/3.6.2….6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm36--clang-tools-extra-3.6.2.tar.xz
==> Downloading http://isl.gforge.inria.fr/isl-0.14.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/llvm36--isl-0.14.1.tar.gz
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/libexec/isl --with-gmp=system --with-gmp-prefix=/usr/local/opt/gmp
==> make
==> make install
==> ./configure --prefix=/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6 --enable-optimized --disable-bindings --with-gmp=/usr/local/opt/gmp --with-isl=/usr/local/C
==> make VERBOSE=1
==> make VERBOSE=1 install
==> Downloading http://llvm.org/releases/3.6.2/libcxxabi-3.6.2.src.tar.xz
######################################################################## 100,0%
==> ./buildit
Error: No such file or directory - /usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/lib/c++/v1Zitatdavid$ which python
/usr/local/bin/python
david$ /usr/local/bin/python
Python 2.7.10 (default, Aug 29 2015, 11:14:00)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information. -
Zitat
==> Installing llvm36 from homebrew/homebrew-versions
==> Installing dependencies for homebrew/versions/llvm36: libtool, libffi
==> Installing homebrew/versions/llvm36 dependency: libtool
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz
==> Downloading from http://mirror.easyname.at/gnu/libtool/libtool-2.4.6.tar.xz
==> ./configure --prefix=/usr/local/Cellar/libtool/2.4.6 --program-prefix=g --enable-ltdl-install
==> make install
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.This formula is keg-only, which means it was not symlinked into /usr/local.
Xcode provides this software prior to version 4.3.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:LDFLAGS: -L/usr/local/opt/libtool/lib
CPPFLAGS: -I/usr/local/opt/libtool/include==> Summary
/usr/local/Cellar/libtool/2.4.6: 69 files, 3,8M, built in 22 seconds
==> Installing homebrew/versions/llvm36 dependency: libffi
==> Downloading https://mirrors.kernel.org/sources.redhat…i-3.0.13.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libffi/3.0.13
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.Some formulae require a newer version of libffi.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:LDFLAGS: -L/usr/local/opt/libffi/lib
==> Summary
/usr/local/Cellar/libffi/3.0.13: 14 files, 408K, built in 26 seconds
==> Installing homebrew/versions/llvm36
==> Downloading http://llvm.org/releases/3.6.2/llvm-3.6.2.src.tar.xz
==> Patching
patching file Makefile.rules
Hunk #1 succeeded at 598 (offset -1 lines).
==> Downloading http://llvm.org/releases/3.6.2/cfe-3.6.2.src.tar.xz
==> Downloading http://llvm.org/releases/3.6.2/libcxx-3.6.2.src.tar.xz
==> Downloading http://llvm.org/releases/3.6.2/polly-3.6.2.src.tar.xz
==> Downloading http://llvm.org/releases/3.6.2….6.2.src.tar.xz
==> Downloading http://isl.gforge.inria.fr/isl-0.14.1.tar.gz
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/libexec/isl --with-gmp=system --with-gmp-prefix=/usr/local/opt/gmp
==> make
==> make install
==> ./configure --prefix=/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6 --enable-optimized --disable-bindings --with-gmp=/usr/local/opt/gmp --with-isl=/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/libexec/isl --enable-targets=host --enable-shared --enable-libffi
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers -Wno-maybe-uninitialized -Wno-comment
checking for python... /usr/bin/python
checking for python >= 2.7... not found
configure: error: found python 2.6.1 (/usr/bin/python); required >= 2.7
See `config.log' for more details.READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-versions/issuesWenn ich aber 'python' eingebe, sagt er Version 2.7.10 wäre installiert.
In der Tat findet man unter /usr/bin/python aber die Version 2.6.x.Was tun?
-
-
Zitat
david$ brew install llvm --with-clang
==> Downloading http://llvm.org/releases/3.6.2/llvm-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm-3.6.2.tar.xz
==> Downloading http://llvm.org/releases/3.6.2/libcxx-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm--libcxx-3.6.2.tar.xz
==> Downloading http://llvm.org/releases/3.6.2/cfe-3.6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm--clang-3.6.2.tar.xz
==> Downloading http://llvm.org/releases/3.6.2….6.2.src.tar.xz
Already downloaded: /Library/Caches/Homebrew/llvm--clang-tools-extra-3.6.2.tar.xz
==> cmake -G Unix Makefiles /private/tmp/llvm20150901-8193-ap2e9o/llvm-3.6.2.src -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr
==> make
cd /tmp/llvm20150901-8193-1cbrrqu/utils/unittest && /usr/local/Cellar/cmake/3.3.1/bin/cmake -E cmake_link_script CMakeFiles/http://gtest.dir/link.txt --verbose=1
/usr/bin/ar cq ../../lib/libgtest.a CMakeFiles/http://gtest.dir/googletest/src/gtest-all.cc.o
/usr/bin/ranlib ../../lib/libgtest.a
[ 12%] Built target gtest
make: *** [all] Error 2READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
llvm formula's clang++ fails with -L $(brew --prefix llvm)/lib https://github.com/Homebrew/homebrew/issues/42957
ocaml will never be detected by llvm during configuration https://github.com/Homebrew/homebrew/issues/43335
llvm --with-clang --with-lldb fails to build https://github.com/Homebrew/homebrew/issues/42041
MacOS.(gcc|clang|llvm)_version can return nil https://github.com/Homebrew/homebrew/issues/18781 -
Und der brew-output mit -v :
-
Hier das log-file:
-
libtiff:
Zitatdavid$ brew install libtiff --cc=gcc-5
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/libtiff-4.0.4.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libtiff/4.0.4 --without-x --disable-lzma --with-jpeg-include-dir=/usr/local/opt/jpeg/include --with-jpeg-lib-dir=/usr
==> make install
/usr/local/Cellar/libtiff/4.0.4: 257 files, 3,9M, built in 63 secondswxmac:
Zitatdavid$ brew install wxmac --cc=gcc-5
==> Downloading https://downloads.sourceforge.net/project/wxwind…s-3.0.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/wxmac-3.0.2.tar.bz2
==> Patching
patching file include/wx/defs.h
patching file include/wx/html/webkit.h
patching file include/wx/osx/webview_webkit.h
==> ./configure --prefix=/usr/local/Cellar/wxmac/3.0.2 --enable-unicode --enable-std_string --enable-display --with-opengl --with-osx_cocoa --with-libjpeg --wit
==> make install
collect2: error: ld returned 1 exit status
make: *** [/private/tmp/wxmac20150901-19914-1fs8iv9/wxWidgets-3.0.2/lib/libwx_osx_cocoau_adv-3.0.0.2.0.dylib] Error 1
make: *** Waiting for unfinished jobs....
g++-5 -mmacosx-version-min=10.6 -o wxrc wxrc_wxrc.o -L/private/tmp/wxmac20150901-19914-1fs8iv9/wxWidgets-3.0.2/lib -arch x86_64 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_baseu_xml-3.0 -lexpat -lwx_baseu-3.0 -lwxregexu-3.0 -arch x86_64 -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lz -lpthread -liconv -lz -lpthread -liconv
SetFile -t APPL wxrcREAD THIS: https://git.io/brew-troubleshooting