After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723641 - error compiling via cerbero - taglib wants LLVM-GCC but Xcode 5 doesn't have it
error compiling via cerbero - taglib wants LLVM-GCC but Xcode 5 doesn't have it
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: packages
1.x
Other Mac OS
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-05 00:31 UTC by Mike McNamara
Modified: 2014-11-08 14:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
cmake: set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER (1.63 KB, patch)
2014-02-05 12:59 UTC, Andoni Morales
committed Details | Review

Description Mike McNamara 2014-02-05 00:31:35 UTC
It looks as though taglib wants LLVM to compile.  LLVM-GCC is not included in Xcode 5.

[(36/68) taglib -> fetch ]
[(36/68) taglib -> extract ]
[(36/68) taglib -> configure ]
CMake Error: your C compiler: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Ensure you cppunit installed version is at least 1.12.0
-- Configuring incomplete, errors occurred!
See also "/Users/mike/cerbero/sources/ios_universal/x86/taglib-1.7.2/CMakeFiles/CMakeOutput.log".
See also "/Users/mike/cerbero/sources/ios_universal/x86/taglib-1.7.2/CMakeFiles/CMakeError.log".
Running command 'cmake -DCMAKE_INSTALL_PREFIX=/Users/mike/cerbero/dist/ios_universal -DCMAKE_LIBRARY_OUTPUT_PATH=/Users/mike/cerbero/dist/ios_universal/lib -DWITH_MP4=ON -DWITH_ASF=ON -DENABLE_STATIC=1 -DZLIB_ROOT=/Users/mike/cerbero/dist/ios_universal  -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -DCMAKE_C_FLAGS=" -arch i386  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -miphoneos-version-min=5.1 -D__IPHONE_OS_VERSION_MIN_REQUIRED=510000 -Wno-error=format-nonliteral " -DCMAKE_CXX_FLAGS=" -arch i386  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -miphoneos-version-min=5.1 -D__IPHONE_OS_VERSION_MIN_REQUIRED=510000 -Wno-error=format-nonliteral " -DLIB_SUFFIX=  -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_ROOT_PATH=$CERBERO_PREFIX '

Recipe 'taglib' failed at the build step 'configure'
Comment 1 Mike McNamara 2014-02-05 00:35:23 UTC
Having both Xcode 4.6.x and Xcode 5 installed may be a workaround.
Comment 2 Sebastian Dröge (slomo) 2014-02-05 04:47:03 UTC
What version of the compiler is available on xcode 4.6? We use "clang" for iOS 7.0 SDK and llvm-gcc-4.2 otherwise on iOS.
Comment 3 Andoni Morales 2014-02-05 12:59:49 UTC
Created attachment 268165 [details] [review]
cmake: set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER
Comment 4 Andoni Morales 2014-02-05 13:17:43 UTC
commit 595a664170e9d2ea9763c5585ad19374aa6d8bcf
Author: Andoni Morales Alastruey <ylatuya@gmail.com>
Date:   Wed Feb 5 13:57:37 2014 +0100

    cmake: set CC and CXX compiler variables for all platforms
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723641