VLC for iOS 2.8.5 build fail

iOS, iPad, iPhone, tvOS specific usage questions
lintw
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2016 05:32

VLC for iOS 2.8.5 build fail

Postby lintw » 22 Nov 2017 07:20

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?

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: VLC for iOS 2.8.5 build fail

Postby dfuhrmann » 23 Nov 2017 19:23

Your setup is broken, if your compiler cannot compile.

lintw
Blank Cone
Blank Cone
Posts: 14
Joined: 21 Jan 2016 05:32

Re: VLC for iOS 2.8.5 build fail

Postby lintw » 25 Nov 2017 00:26

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

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC for iOS 2.8.5 build fail

Postby fkuehne » 29 Nov 2017 15:17

This script should no longer be used. It will be removed shortly. Just use cocoapods to install the necessary dependencies.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 27 guests