Page 1 of 1

VLC for iOS 2.8.5 build fail

Posted: 22 Nov 2017 07:20
by lintw
source code: http://get.videolan.org/vlc-iOS/2.8.5/v ... 8.5.tar.gz
Xcode version: xcode9.1 on
OSX version 10.13.1
compile command: sh -x compileDebugLibraries.sh

[...]
The following build commands failed:
make: Nothing to be done for `fetch'.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/share/aclocal --force -I m4
autoreconf: configure.ac: tracing
configure: WARNING: unrecognized options: --disable-dependency-tracking
autoreconf: running: libtoolize --copy --force
configure: error: in `/Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/libdvbpsi':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
configure: error: in `/Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/freetype/builds/unix':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** [.dvbpsi] Error 1
make: *** Waiting for unfinished jobs....
make[1]: *** [setup] Error 1
make: *** [.freetype2] Error 2
autoreconf: running: /Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin/autoconf --include=/Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/share/aclocal --force
autoreconf: running: /Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin/autoheader --include=/Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhone-x86_64-apple-darwin11-x86_64/share/aclocal --force
autoreconf: running: automake --add-missing --copy --force-missing
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26: 'lib/Headers.mk' included from here
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:28: 'lib/Headers.mk' included from here
test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension
autoreconf: Leaving directory `.'
configure: error: in `/Users/lintw/Desktop/vlc-ios-2.8.5/ImportedSources/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64/fribidi':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** [.fribidi] Error 1

it's seems apple-darwin11 issue, need update to apple-darwin15 ? how to do?

Re: VLC for iOS 2.8.5 build fail

Posted: 23 Nov 2017 19:23
by dfuhrmann
Your setup is broken, if your compiler cannot compile.

Re: VLC for iOS 2.8.5 build fail

Posted: 25 Nov 2017 00:26
by lintw
hi dfuhrmann,
i can compiler vlc-ios-2.8.5 (download from: http://get.videolan.org/vlc-iOS/2.8.5/v ... 8.5.tar.gz), but failed!
and i found TESTEDVLCKITHASH (compileDebugLibraries.sh defined ) is incorrect

TESTEDVLCKITHASH=a0bf5544 => commit date is May 10, 2016 at 3:41 PM

Re: VLC for iOS 2.8.5 build fail

Posted: 29 Nov 2017 15:17
by fkuehne
This script should no longer be used. It will be removed shortly. Just use cocoapods to install the necessary dependencies.