configure.sh failing to see mingw32-runtime 3.17 installed
Posted: 08 Jan 2014 00:49
I am following https://wiki.videolan.org/Win32Compile/
Build environment is Debian 7.3 x32 (installed in VMPlayer 5.0.3).
Target is Windows x32.
Using VLC stable source 2.1.2: http://download.videolan.org/pub/videol ... 1.2.tar.xz
I have installed all required packages (or verified they're installed):
http://people.videolan.org/~jb/debian/m ... an_all.deb
However no matter what I try I continue to be stuck on the step to configure the build:
https://wiki.videolan.org/Win32Compile/ ... _the_build
Error is always:
I have repeated the steps from the first bootstrap onward:
Why is configure.sh failing to pick up that mingw32-runtime 3.17.0-0 is installed?
I have examined configure.sh hoping to spot a misconfiguration, but the bash code is beyond my ability.
EXTRA NOTE:
gcc-mingw32 and binutils-mingw32 cannot both be installed as the instructions direct
I have installed gcc-mingw32:
I did NOT install binutils-mingw32 because the package says it will uninstall gcc-mingw32. If I try to install them both in the same command line I get a you have requested an impossible situation message:
I can only assume this is okay because when I installed gcc-mingw32 several bintuils were also installed as follows:
This is my 4th try cross-compiling VLC for Windows. I have previously tried on Debian 7.2 x64, Ubuntu 12.04 x64, and Ubuntu 12.04 x32. In all cases I can get no further than the blasted configure step. In my humble opinion the instructions at https://wiki.videolan.org/Win32Compile/ need to be updated as they simply don't work.
Build environment is Debian 7.3 x32 (installed in VMPlayer 5.0.3).
Target is Windows x32.
Using VLC stable source 2.1.2: http://download.videolan.org/pub/videol ... 1.2.tar.xz
I have installed all required packages (or verified they're installed):
- lua, libtool, automake, autoconf, autopoint, make, gettext, pkg-config, qt4-dev-tools, git, subversion, zip, p7zip, nsis, bzip2
http://people.videolan.org/~jb/debian/m ... an_all.deb
Code: Select all
dpkg --install mingw32-runtime_3.17.0-0videolan_all.deb
https://wiki.videolan.org/Win32Compile/ ... _the_build
Code: Select all
../extras/package/win32/configure.sh --host=i586-mingw32msvc
Code: Select all
checking for broken mingw-runtime... configure: error: LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!
present
Code: Select all
cd ../contrib/win32/
../bootstrap --host=i586-mingw32msvc
make clean
make prebuilt
cd -
./bootstrap
../extras/package/win32/configure.sh --host=i586-mingw32msvc
...
checking for broken mingw-runtime... configure: error: LibVLC requires mingw-runtime version 3.15 or higher, or mingw-w64 version 3.0 or higher!
present
I have examined configure.sh hoping to spot a misconfiguration, but the bash code is beyond my ability.
EXTRA NOTE:
gcc-mingw32 and binutils-mingw32 cannot both be installed as the instructions direct
I have installed gcc-mingw32:
Code: Select all
apt-get install gcc-mingw32
Code: Select all
apt-get install mingw32-binutils
...
The following packages will be REMOVED:
gcc-mingw32
The following NEW packages will be installed:
mingw32-binutils
Code: Select all
apt-get install gcc-mingw32 mingw32-binutils
...
gcc-mingw32 is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gcc-mingw32 : Conflicts: mingw32-binutils but 2.20-0.2 is to be installed
E: Unable to correct problems, you have held broken packages.
Code: Select all
apt-get install gcc-mingw32
...
Unpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-14_i386.deb) ...
Unpacking g++-4.6 (from .../g++-4.6_4.6.3-14_i386.deb) ...
Unpacking binutils-mingw-w64-i686 (from .../binutils-mingw-w64-i686_2.22-8+2+b1_i386.deb) ...
Unpacking binutils-mingw-w64-x86-64 (from .../binutils-mingw-w64-x86-64_2.22-8+2+b1_i386.deb) ...
Unpacking mingw-w64-i686-dev (from .../mingw-w64-i686-dev_2.0.3-1_all.deb) ...
Unpacking gcc-mingw-w64-base (from .../gcc-mingw-w64-base_4.6.3-14+8_i386.deb) ...
Unpacking gcc-mingw-w64-i686 (from .../gcc-mingw-w64-i686_4.6.3-14+8_i386.deb) ...
Unpacking g++-mingw-w64-i686 (from .../g++-mingw-w64-i686_4.6.3-14+8_i386.deb) ...
Unpacking mingw-w64-x86-64-dev (from .../mingw-w64-x86-64-dev_2.0.3-1_all.deb) ...
Unpacking gcc-mingw-w64-x86-64 (from .../gcc-mingw-w64-x86-64_4.6.3-14+8_i386.deb) ...
Unpacking g++-mingw-w64-x86-64 (from .../g++-mingw-w64-x86-64_4.6.3-14+8_i386.deb) ...
Unpacking gfortran-mingw-w64-i686 (from .../gfortran-mingw-w64-i686_4.6.3-14+8_i386.deb) ...
Unpacking gfortran-mingw-w64-x86-64 (from .../gfortran-mingw-w64-x86-64_4.6.3-14+8_i386.deb) ...
Unpacking gcc-mingw32 (from .../gcc-mingw32_4.6.3-14+8_all.deb) ...