[vlc-devel] MacOSX Leopard compilation : fails on CMake
Eric Nicolas
erik.nicolas at gmail.com
Wed Mar 12 08:09:34 CET 2008
I'm trying to compile the source code on MacOSX Leopard.
I installed XCode 2.5.
Here what I'm doing :
export PATH=/Xcode2.5/bin:/Xcode2.5/sbin:/Xcode2.5/usr/bin:/Xcode2.5/
usr/sbin:$PATH
tar jxvf vlc-snapshot-20080310.tar.bz2
cd vlc-0.9.0-git/extras/contrib
./bootstrap
make src
It fails on CMake.
(note that I've been trying to use CMake for another project on
leopard and it failed the same...).
Any idea how to fix this ??
Thanks.
************
loading initial cache file /Volumes/#Home/enicolas/work/contrib/
vlc-0.9.0-git/extras/contrib/src/cmake/Bootstrap.cmk/
InitialCacheFlags.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error: The C compiler "/usr/bin/cc" is not able to compile a
simple test program.
It fails with the following output:
Change Dir: /Volumes/#Home/enicolas/work/contrib/vlc-0.9.0-git/
extras/contrib/src/cmake/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/
cmTryCompileExec.dir/build
"/Volumes/ -E cmake_progress_report "/Volumes/#Home/enicolas/work/
contrib/vlc-0.9.0-git/extras/contrib/src/cmake/CMakeFiles/CMakeTmp/
CMakeFiles" 1
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[3]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 2
make[2]: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
-- Configuring done
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
make[1]: *** [.cmake] Error 11
make: *** [src] Error 2
More information about the vlc-devel
mailing list