[vlc-devel] Problems compiling current git on OSX

Michael Ditum mike at mikeditum.co.uk
Thu Feb 18 15:30:03 CET 2010


I finally managed to get it compiling by running...

find hosts/i686-apple-darwin10/bin/ -exec sed -i ".bak"
"s/\/Users\/videolan\/fpk\/master\/extras\/contrib\/hosts\/i686-apple-darwin9/\/Users\/mike\/Documents\/vlc\/extras\/contrib\/hosts\/i686-apple-darwin10/g"
{} \;
find hosts/i686-apple-darwin10/lib/ -exec sed -i ".bak"
"s/\/Users\/videolan\/fpk\/master\/extras\/contrib\/hosts\/i686-apple-darwin9/\/Users\/mike\/Documents\/vlc\/extras\/contrib\/hosts\/i686-apple-darwin10/g"
{} \;

before the bootstrap section. It seemed to be a load of references in the
contribs that was causing it.

Mike

On Wed, Feb 17, 2010 at 10:57 AM, Michael Ditum <mike at mikeditum.co.uk>wrote:

> Thanks for the help! I have now managed to get past that bit and further in
> the make. I have now come across 2 other problems compiling.
>
> The first time it failed was during the dirac compilation with the
> following error.
>
> make  all-am
> make[6]: Nothing to be done for `all-am'.
>   CC     libdirac_plugin_la-dirac.lo
> dirac.c:45:44: error: libdirac_encoder/dirac_encoder.h: No such file or
> directory
> dirac.c:331: error: expected specifier-qualifier-list before
> 'dirac_encoder_t'
> dirac.c:353: error: expected specifier-qualifier-list before 'VideoFormat'
> dirac.c:356: error: 'VIDEO_FORMAT_CUSTOM' undeclared here (not in a
> function)
> ....snip....
>
> Currently I'm not interested in dirac decoding so I re-ran the configure
> with --disable-dirac added and it then failed during the libmpeg compilation
> with this error.
>
> libtool: link: warning:
> `/Users/mike/Documents/vlc/./extras/contrib/hosts/i686-apple-darwin10/lib/
> libiconv.la' seems to be moved
> ld: warning: duplicate dylib
> /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libm.dylib
> warning: no debug symbols in executable (-arch i386)
>   CC     liblibmpeg2_plugin_la-libmpeg2.lo
> libmpeg2.c:40:19: error: mpeg2.h: No such file or directory
> libmpeg2.c:60: error: expected specifier-qualifier-list before 'mpeg2dec_t'
> libmpeg2.c:106:5: warning: "MPEG2_RELEASE" is not defined
> libmpeg2.c:106:22: warning: "MPEG2_VERSION" is not defined
> ....snip....
>
> The header files are in the contribs dirs but it looks like the include
> path for these are wrong.
>
> Looking at the Makefiles in modules/codec/ and it's subdirectories there
> are a load of entries for includes and libs with the path...
>
> /Users/videolan/fpk/master/extras/contrib/hosts/i686-apple-darwin9/
>
> instead of...
>
> /Users/mike/Documents/vlc/./extras/contrib/hosts/i686-apple-darwin10
>
> Which looks like it would be the cause. I've tried changing the Makefile
> and running make again but that wasn't enough. Unfortunately that's pretty
> much all of my knowledge used up!
>
> Mike
>
> On Tue, Feb 16, 2010 at 3:57 PM, Pierre d'Herbemont <pdherbemont at free.fr>wrote:
>
>>
>>
>> On Tue, Feb 16, 2010 at 2:36 PM, Michael Ditum <mike at mikeditum.co.uk>wrote:
>>
>>> Hi,
>>>
>>> I'm trying to compile the latest git version on OSX and getting an error
>>> currently. I'm building on Snow Leopard and have the latest XCode installed.
>>>
>>> I have run the following commands in order to build it...
>>>
>>> git clone git://git.videolan.org/vlc.git
>>> cd vlc/extras/contrib/
>>> ./bootstrap
>>> make
>>> cd ../../
>>> ./bootstrap
>>> ./configure --host=i386-apple-darwin10 CFLAGS="-arch i386"
>>> CXXFLAGS="-arch i386" LDFLAGS="-arch i386" OBJCFLAGS="-arch i386"
>>> make
>>>
>>
>>  Should be fixed.
>>
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100218/83ddb8e6/attachment.html>


More information about the vlc-devel mailing list