[vlc-devel] Problems compiling current git on OSX

Pierre d'Herbemont pdherbemont at free.fr
Thu Feb 18 15:54:46 CET 2010


On Wed, Feb 17, 2010 at 11: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!
>

humm. Nice one.

Seems like our script that build the tar ball is messed up, or something
goes wrong. I'll try to investigate. Felix, any idea?

Pierre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100218/8c642435/attachment.html>


More information about the vlc-devel mailing list