[vlc-devel] Re: Building VLC on MacOS X

Jean-Alexis Montignies ja at sente.ch
Tue Jun 15 18:06:42 CEST 2004


Well, the easiest way to get the last VLC sources is to use subversion.

Then after your did an update and some files have been added, sometimes 
you have to redo the sequence
./bootstrap
./configure --with_ffmpeg_tree=...
make

This worked for me

Jean-Alexis

On 15 juin 04, at 15:30, Mark Wells wrote:

> Thanks to all who responded. I finally found a cvs snapshot that 
> actually contained the contrib folder and followed the instructions.
>
> During make src, the process continues for some time (acquiring all 
> the libs etc) before the following happens:
>
> mkdir .libs
> chmod 777 .libs
>  gcc -I. -I. -I../include -I./../include 
> -I/Users/mw/vlc/extras/contrib/include -no-cpp-precomp 
> -I/Users/mw/vlc/extras/contrib/include -no-cpp-precomp 
> -DLIBDIR=\"/Users/mw/vlc/extras/contrib/lib\" -DENABLE_RELOCATABLE=1 
> -DIN_LIBRARY -DINSTALLDIR=\"/Users/mw/vlc/extras/contrib/lib\" 
> -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix 
> -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c  -fno-common 
> -DPIC -o .libs/iconv.o
> In file included from loops.h:24,
>                  from ./iconv.c:130:
> loop_wchar.h:28: wchar.h: No such file or directory
> make[3]: *** [iconv.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [.iconv] Error 2
> make: *** [src] Error 2
>
> back to the drawing board? is this because i took a (broken) cvs 
> snapshot? As mentioned before, I couldnt find any other way of 
> acquiring the contrib folder. All my other releases only had a MacOSX 
> folder in the vlc/extras/ path - nothing else to be seen.
>
> any idea where to go now?
>
> Mark
>
> On 15 Jun 2004, at 12:20, Derk-Jan Hartman wrote:
>
>> http://developers.videolan.org/vlc/osx-compile.html
>>
>> BTW, read the forums, there is a change jlj fixed this problem 
>> recently.
>>
>> DJ
>>
>> On 15 jun 2004, at 11:23, Mark Wells wrote:
>>> Hello
>>>
>>> I am trying to compile the VLC source on MacOS X Panther because I 
>>> want to have a go at getting multi-channel audio (something I 
>>> understand is currently broken on MacOS X). However, I am getting 
>>> stuck simply building the distribution!
>>>
>>> Ive got problems with the required libs 
>>> (http://www.videolan.org/vlc/download-sources.html) because many of 
>>> them fail during 'make'. I have updated versions of GNU tools 
>>> autoconf, automake and libtool, but should I have done anything 
>>> else?
>>>
>>>
>>> for example, ffmpeg gives parse errors in compiling imgconvert.c
>>>
>>> make
>>> make -C libavcodec all
>>> cc -no-cpp-precomp -pipe -fomit-frame-pointer -faltivec -g -O3 -Wall 
>>> -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
>>> -D_GNU_SOURCE -c -o imgconvert.o imgconvert.c
>>> imgconvert.c:75: parse error before `,'
>>> imgconvert.c:83: parse error before `,'
>>> imgconvert.c:91: parse error before `,'
>>> imgconvert.c:99: parse error before `,'
>>> imgconvert.c:107: parse error before `,'
>>> imgconvert.c:115: parse error before `,'
>>> imgconvert.c:125: parse error before `,'
>>> imgconvert.c:133: parse error before `,'
>>> imgconvert.c:141: parse error before `,'
>>> imgconvert.c:150: parse error before `,'
>>> imgconvert.c:157: parse error before `,'
>>> imgconvert.c:164: parse error before `,'
>>> imgconvert.c:171: parse error before `,'
>>> imgconvert.c:178: parse error before `,'
>>> imgconvert.c:187: parse error before `,'
>>> imgconvert.c:194: parse error before `,'
>>> imgconvert.c:201: parse error before `,'
>>> imgconvert.c:210: parse error before `,'
>>> imgconvert.c:1423: parse error before `,'
>>> imgconvert.c:1426: parse error before `,'
>>> imgconvert.c:1429: parse error before `,'
>>> imgconvert.c:1432: parse error before `,'
>>> imgconvert.c:1435: parse error before `,'
>>> imgconvert.c:1440: parse error before `,'
>>> imgconvert.c:1445: parse error before `,'
>>> imgconvert.c:1450: parse error before `,'
>>> imgconvert.c:1453: parse error before `,'
>>> imgconvert.c:1456: parse error before `,'
>>> imgconvert.c:1459: parse error before `,'
>>> imgconvert.c:1462: parse error before `,'
>>> imgconvert.c:1467: parse error before `,'
>>> imgconvert.c:1472: parse error before `,'
>>> imgconvert.c:1475: parse error before `,'
>>> imgconvert.c:1481: parse error before `,'
>>> imgconvert.c:1484: parse error before `,'
>>> imgconvert.c:1487: parse error before `,'
>>> imgconvert.c:1490: parse error before `,'
>>> imgconvert.c:1493: parse error before `,'
>>> imgconvert.c:1496: parse error before `,'
>>> imgconvert.c:1499: parse error before `,'
>>> imgconvert.c:1502: parse error before `,'
>>> imgconvert.c:1505: parse error before `,'
>>> imgconvert.c:1508: parse error before `,'
>>> imgconvert.c:1513: parse error before `,'
>>> imgconvert.c:1516: parse error before `,'
>>> imgconvert.c:1519: parse error before `,'
>>> imgconvert.c:1522: parse error before `,'
>>> imgconvert.c:1525: parse error before `,'
>>> imgconvert.c:1530: parse error before `,'
>>> imgconvert.c:1533: parse error before `,'
>>> imgconvert.c:1536: parse error before `,'
>>> imgconvert.c:1541: parse error before `,'
>>> imgconvert.c:1544: parse error before `,'
>>> imgconvert.c:1547: parse error before `,'
>>> imgconvert.c:1550: parse error before `,'
>>> imgconvert.c:1555: parse error before `,'
>>> imgconvert.c:1558: parse error before `,'
>>> imgconvert.c:1561: parse error before `,'
>>> imgconvert.c:1566: parse error before `,'
>>> imgconvert.c:1569: parse error before `,'
>>> imgconvert.c:1572: parse error before `,'
>>> imgconvert.c:1575: parse error before `,'
>>> imgconvert.c:1578: parse error before `,'
>>> imgconvert.c:1581: parse error before `,'
>>> imgconvert.c:1584: parse error before `,'
>>> imgconvert.c:1589: parse error before `,'
>>> imgconvert.c:1594: parse error before `,'
>>> imgconvert.c:1599: parse error before `,'
>>> imgconvert.c:1602: parse error before `,'
>>> imgconvert.c:1605: parse error before `,'
>>> imgconvert.c:1608: parse error before `,'
>>> imgconvert.c:1611: parse error before `,'
>>> make[1]: *** [imgconvert.o] Error 1
>>> make: *** [lib] Error 2
>>>
>>>
>>> this isnt the only non-compiling library, infact I have found only 6 
>>> out of the 30ish libs that make without hassle.
>>>
>>> any ideas? i have a feeling i must have missed something very basic!
>>>
>>> many thanks
>>>
>>> Mark Wells
>>>
>>> ----------------------------------
>>> Mark Wells
>>> Oxford Semiconductor Ltd
>>> 25 Milton Park, Abingdon, OX14 4SH, UK
>>>
>>>
>>> -- 
>>> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
>>> To unsubscribe, please read http://developers.videolan.org/lists.html
>>> If you are in trouble, please contact <postmaster at videolan.org>
>>>
>>>
>> ---
>> Universiteit Twente
>> Derk-Jan Hartman (d.hartman at student.utwente dot nl)
>> http://home.student.utwente.nl/d.hartman
>>
>> -- 
>> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
>> To unsubscribe, please read http://developers.videolan.org/lists.html
>> If you are in trouble, please contact <postmaster at videolan.org>
>>
>>
> ----------------------------------
> Mark Wells
> Oxford Semiconductor Ltd
> 25 Milton Park, Abingdon, OX14 4SH, UK
>
>
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list