[vlc-devel] Compiling VLC in MacOS under Lion 10.7.2

Derek Scott cyzicusmedia at gmail.com
Tue Dec 6 05:10:13 CET 2011


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.

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."

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 
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.

Best regards,

Derek Scott







More information about the vlc-devel mailing list