[vlc-devel] MacOSX Leopard compilation : fails on CMake

Rafaël Carré funman at videolan.org
Wed Mar 12 10:22:31 CET 2008


On Wed, 2008-03-12 at 08:09 +0100, Eric Nicolas wrote:
> 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...).

do you need CMake to build vlc ? the autotools method still works fine.
to cancel the build: touch extras/contrib/src/.cmake

> 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

export CC=/path/to/cc CXX=/path/to/c++

> CMake Error: The C compiler "/usr/bin/cc" is not able to compile a  
> simple test program.

-- 
Rafaël Carré <funman at videolan.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080312/3fd06d54/attachment.sig>


More information about the vlc-devel mailing list