Page 1 of 1

VLC 0.8.6c build errors

Posted: 31 Jul 2007 23:57
by krmathis
I downloaded the VLC 0.8.6c tarball, and tried to build on Mac OS 10.4.10 (PowerPC), using GCC 4.0.1 and 10.4u.sdk. But the build process failed twice when building the external libs.

Error #1:
Patching the file 'liveMedia_version.hh' in live555 failed (I manually edited the patch file and worked my way around this one):

Code: Select all

curl -O http://live555.com/liveMedia/public/live555-latest.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 438k 100 438k 0 0 97283 0 0:00:04 0:00:04 --:--:-- 138k rm -rf live || true tar xzf live555-latest.tar.gz --exclude='[*?:<>\|]' mv live555-latest live || true mv: rename live555-latest to live/live555-latest: No such file or directory touch live patch -p 0 < Patches/live.patch patching file live/groupsock/Groupsock.cpp Hunk #1 succeeded at 29 with fuzz 2 (offset 3 lines). patching file live/groupsock/NetInterface.cpp Hunk #1 succeeded at 28 with fuzz 2 (offset 4 lines). patching file live/liveMedia/RTSPClient.cpp Hunk #2 succeeded at 1030 (offset 1 line). Hunk #3 succeeded at 1043 (offset 1 line). Hunk #4 succeeded at 2284 (offset 1 line). patch -p0 < Patches/live-osx.patch patching file live/Makefile.tail Hunk #1 succeeded at 17 with fuzz 1. patching file live/config.macosx patch -p0 < Patches/live-starttime.patch patching file live/liveMedia/MediaSession.cpp Hunk #1 succeeded at 62 (offset 1 line). Hunk #2 succeeded at 349 (offset 1 line). Hunk #3 succeeded at 358 (offset 1 line). Hunk #4 succeeded at 531 (offset 1 line). Hunk #5 succeeded at 553 (offset 1 line). Hunk #6 succeeded at 979 (offset 2 lines). patching file live/liveMedia/RTSPClient.cpp patching file live/liveMedia/include/MediaSession.hh patching file live/liveMedia/include/RTSPClient.hh Hunk #1 succeeded at 186 (offset 1 line). patching file live/liveMedia/include/liveMedia_version.hh Hunk #1 FAILED at 5. 1 out of 1 hunk FAILED -- saving rejects to file live/liveMedia/include/liveMedia_version.hh.rej make[1]: *** [live] Error 1 make: *** [src] Error 2
Error #2:
The file dirac-0.5.4.tar.gz are not available on the server, resulting in build failure (I manually downloaded the file from a different mirror, put it in the right place, and got around this one as well...):

Code: Select all

curl -O http://heanet.dl.sourceforge.net/sourceforge/dirac/dirac-0.5.4.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 322 100 322 0 0 901 0 --:--:-- --:--:-- --:--:-- 0 rm -rf dirac || true tar xzf dirac-0.5.4.tar.gz --exclude='[*?:<>\|]' gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error exit delayed from previous errors make[1]: *** [dirac] Error 2 make: *** [src] Error 2
I worked my way around these two issues, and ended up with a successful build. But these two issues should imo be fixed.... ;)
Have to add that Trunk build successfully straight out of the box.