[vlc-devel] Compiling VLC in MacOS under Lion 10.7.2
Rafaël Carré
funman at videolan.org
Tue Dec 6 16:44:30 CET 2011
Le Tue, 06 Dec 2011 11:10:13 +0700,
Derek Scott <cyzicusmedia at gmail.com> a écrit :
>
> Hello everyone,
>
> I've been trying to compile VLC from the git repository using the
> instructions at http://wiki.videolan.org/OSXCompile.
>
> 1. I successfully get the development tools by bootstrapping in
> vlc/extras/tools.
>
> 2. I select 10.6 SDK by $ export OSX_VERSION=10.6.
IIUC there is no 10.7 SDK, that's it?
> 3. Prepare 3rd Party Libraries. After creating the osx directory in
> contrib, I do
>
> $ ../bootstrap --host=x86_64-apple-darwin11 --build=x86_64-apple-darwin11
>
> Since I'm running in 64-bit in OS 10.7.2, I thought my host should be
> "--host=x86_64-apple-darwin11" and my build should be
> "--build=x86_64-apple-darwin11."
Run gcc -dumpmachine to see what it is
> 4. Prebuilt libraries.
>
> I try make prebuilt, but
>
> ftp://ftp.videolan.org/pub/videolan/contrib/x86_64-apple-darwin11/vlc-contrib-x86_64-apple-darwin11-latest.tar.bz2"
>
> fails because there's no file there.
>
> 5. Build your own libraries.
>
> I try
>
> make -j4 .gettext
>
> This errors out with the following:
>
> In file included from ./bindtextdom.c:24:
> /Developer/SDKs/MacOSX10.6.sdk/usr/include/stddef.h:74: error: two or
I'd start by looking what's at line 24 of bindtextdom.c and line 74 of stddef.h
> more data types in declaration specifiers
> In file included from ./gettextP.h:23,
> from ./dgettext.c:23:
> /Developer/SDKs/MacOSX10.6.sdk/usr/include/stddef.h:74: error: two or
> more data types in declaration specifiers
> In file included from ./gettextP.h:23,
> from ./dcgettext.c:23:
> /Developer/SDKs/MacOSX10.6.sdk/usr/include/stddef.h:74: error: two or
> more data types in declaration specifiers
> In file included from ./gettextP.h:23,
> from ./gettext.c:30:
> /Developer/SDKs/MacOSX10.6.sdk/usr/include/stddef.h:74: error: two or
> more data types in declaration specifiers
> make[4]: *** [dgettext.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: *** [gettext.lo] Error 1
> make[4]: *** [dcgettext.lo] Error 1
> make[4]: *** [bindtextdom.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [.gettext] Error 2
>
> --I'd appreciate your suggestions.
--
Rafaël Carré
More information about the vlc-devel
mailing list