Errors about compile VLC-2.0.1

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Ares19851110
Blank Cone
Blank Cone
Posts: 38
Joined: 26 Oct 2011 08:19

Errors about compile VLC-2.0.1

Postby Ares19851110 » 02 Jul 2012 07:19

Platform: Windows 7 SP1 x64

Tools: mingw + msys
VLC version: 2.0.1
Reference: Win32CompileMSYSNew(http://wiki.videolan.org/Win32CompileMSYS)

List required resource:
tdm-gcc-4.6.1.exe
mingw-utils-0.3.tar.gz
wget-1.11.4-1-setup.exe
MSYS-1.0.11.exe
msysDTK-1.0.1.exe
Git-1.7.11-preview20120620.exe
autoconf-2.68-1-msys-1.0.17-bin.tar.lzma
automake-1.11.1-1-msys-1.0.13-bin.tar.lzma
libtool-2.4-1-msys-1.0.15-bin.tar.lzma
libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma
perl-5.8.8-1-msys-1.0.17-bin.tar.lzma
m4-1.4.14-1-msys-1.0.13-bin.tar.lzma
glib_2.28.8-1_win32.zip
pkg-config_0.23-3_win32.zip
pkg-config-dev_0.23-3_win32.zip
gettext-runtime_0.18.1.1-2_win32.zip
lua-5.1.4.tar.gz
coreutils-5.97-3-msys-1.0.13-ext.tar.lzma
libiconv-1.14-1-msys-1.0.17-dll-2.tar.lzma
libintl-0.18.1.1-1-msys-1.0.17-dll-8.tar.lzma

My operation:
1. Setup mingw and msys, extract required resource
2. Get precompiled contribs
make prebuilt
there are many tar errors:
tar: i586-mingw32msvc/include/pnglibconf.h: Cannot create symlink to `libpng15/p
nglibconf.h': No such file or directory,
tar: i586-mingw32msvc/lib/libcucul.la: Cannot create symlink to `libcaca.la': No
such file or directory
…….
ignore them
when change_prefix.sh
error:
Fixing up ./change_prefix.sh
mv: cannot move `./change_prefix.sh.tmp' to `./change_prefix.sh': Permission denied
but it continue to execute.
3. Complete Last change: whoami and hostname
4. Build VLC
5. Bootstrap
6. cp –v /usr/win32/share/aclocal/* m4/
cp: cannot stat ‘/usr/win32/share/aclocal/*’: no such file or directory
When I build vlc-1.1.11, there is one step:
download the file http://people.videolan.org/~jb/Contribs ... ly.tar.bz2
extract it to C:\MSys\1.0 but without the /usr path.

But now there is no.
So I copy the data under
C:\msys\1.0\home\Administrator\vlc-2.0.1\contrib\i586-mingw32msvc
to \1.0\win32\
I don’t know it is right or not.

7. Configure
sh extras/package/win32/configure.sh --host=i586-pc-mingw32msvc --disable-nls
checking for live555 version 1324598400 or later... no
configure: WARNING: liveMedia is missing or its installed version is too old:
Version 2011.12.23 or later is required to proceed.
You can get an updated one from http://www.live555.com/liveMedia .
configure: error: Update live555 or pass --disable-live555 to disable RTSP input
support.
I install the latest live555 successfully. But the error is still exist.
So I disable live555

Configure again
configure: WARNING: "Could not find CrystalHD development headers"
checking mad.h usability... no
checking mad.h presence... no
checking for mad.h... no
configure: error: Could not find libmad on your system: you may get it from htt
://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to d
sable the mad plugin.
I install the latest libmad successfully. But the error is still exist.
So I disable libmad

Configure again
checking faad.h usability... no
checking faad.h presence... no
checking for faad.h... no
configure: error: Cannot find development headers for libfaad...
I look for faad.h in msys folder
It is in 3 directories
/src/win32/include
/win32/include
/Administrator/vlc-2.0.1/contrib/i586-mingw32msvc/include

The error report “can not find faad.h”, I am confused. Why not find?

As described above, I met those errors. I want to know the reason of errors. I think one of my steps make mistake, it is result of latter error.

SENCO
New Cone
New Cone
Posts: 6
Joined: 22 Apr 2008 14:04

Re: Errors about compile VLC-2.0.1

Postby SENCO » 04 Jul 2012 10:41

2. Get precompiled contribs
make prebuilt
there are many tar errors:
tar: i586-mingw32msvc/include/pnglibconf.h: Cannot create symlink to `libpng15/p
nglibconf.h': No such file or directory,
tar: i586-mingw32msvc/lib/libcucul.la: Cannot create symlink to `libcaca.la': No
such file or directory
I directly download them compiled from: http://download.videolan.org/pub/videol ... ngw32msvc/
So I don't even need to have git installed. There are some fixed paths on tar file that generates errors when extracting. You will need to edit /etc/fstab to create them, pointing to the same directory where your are extracting.
Fixing up ./change_prefix.sh
mv: cannot move `./change_prefix.sh.tmp' to `./change_prefix.sh': Permission denied
but it continue to execute.
If you download the compiled contribs, you will need to run change_prefix.sh in order to set the path where you have extracted them. First parameter is the current one, which you will find on any .la file in the libdir param. Its a string which begins and ends with '@' symbol (don't use the /lib part). Second parameter is the path where you have extracted the contribs. This is a one-run script. Running a second time will break things, unless you have set the appropriate parameters. If run it with wrong parameters, it's easier to delete the contribs and extract them again from the tar.
cp: cannot stat ‘/usr/win32/share/aclocal/*’: no such file or directory
This is a bug of the documentation. /usr/win32 is the old place where contribs where located. You need to use your current contribs dir instead.
When I build vlc-1.1.11, there is one step:
download the file http://people.videolan.org/~jb/Contribs ... ly.tar.bz2
extract it to C:\MSys\1.0 but without the /usr path.

But now there is no.
So I copy the data under
C:\msys\1.0\home\Administrator\vlc-2.0.1\contrib\i586-mingw32msvc
to \1.0\win32\
I don’t know it is right or not.
Not right. Documentation for vlc 1.x is different than for 2.x. The compilation process changes. Also, you cannot use vlc 1.x contribs with vlc 2.x. It won't work. Don't put both on your system, unless you know the right way to do it. It will break the compilation proccess.
checking faad.h usability... no
checking faad.h presence... no
checking for faad.h... no
configure: error: Cannot find development headers for libfaad...
This is because you don't have set up the contribs rightly. Related with my above comment.

Ares19851110
Blank Cone
Blank Cone
Posts: 38
Joined: 26 Oct 2011 08:19

Re: Errors about compile VLC-2.0.1

Postby Ares19851110 » 09 Jul 2012 11:32

Thank you! I will try it again on windows. (I have compiled VLC-2.0.1 successfully on Linux(Cross-compiler)).

pulkitw
New Cone
New Cone
Posts: 2
Joined: 20 Jun 2012 10:30

Re: Errors about compile VLC-2.0.1

Postby pulkitw » 12 Jul 2012 10:13

I am also coming across the same problems,
Fixing up ./change_prefix.sh
mv: cannot move `./change_prefix.sh.tmp' to `./change_prefix.sh': Permission denied
but it continue to execute.
SENCO, i read your post but i could not understand what should i do after the above error?

Also i could not find any configure.ac(\MSYS\1.0\home\<username>\vlc\configure.ac) to change the host name as mentioned in the Reference (http://wiki.videolan.org/Win32CompileMSYS)

centerall
New Cone
New Cone
Posts: 1
Joined: 14 Jul 2012 09:28

Re: Errors about compile VLC-2.0.1

Postby centerall » 14 Jul 2012 09:40

Also keeps concerning about it.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests