In both cases (1.0.4 and 1.0.6), I obtained errors along the following lines:
Code: Select all
export MACOSX_DEPLOYMENT_TARGET=10.5
make all-recursive
Making all in po
Making all in compat
/bin/sh ../libtool --tag=CC --mode=compile /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/Users/davidf/svn/vlc-1.0.6/./extras/contrib/include -DSYS_DARWIN -I/Users/davidf/svn/vlc-1.0.6/./extras/contrib/include -D_INTL_REDIRECT_MACROS -DMACOSX_DEPLOYMENT_TARGET=10.5 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -MT strndup.lo -MD -MP -MF .deps/strndup.Tpo -c -o strndup.lo strndup.c
../libtool: line 844: X--tag=CC: command not found
../libtool: line 877: libtool: ignoring unknown tag : command not found
../libtool: line 844: X--mode=compile: command not found
../libtool: line 1011: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1012: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1155: X/Developer/usr/bin/llvm-gcc-4.2: No such file or directory
../libtool: line 1155: X-std=gnu99: command not found
../libtool: line 1155: X-isysroot: command not found
../libtool: line 1155: X/Developer/SDKs/MacOSX10.5.sdk: No such file or directory
../libtool: line 1155: X-mmacosx-version-min=10.5: command not found
../libtool: line 1155: X-DHAVE_CONFIG_H: command not found
../libtool: line 1155: X-I.: command not found
../libtool: line 1155: X-I..: command not found
../libtool: line 1155: X-I../include: No such file or directory
../libtool: line 1155: X-I../include: No such file or directory
../libtool: line 1155: X-I/Users/davidf/svn/vlc-1.0.6/./extras/contrib/include: No such file or directory
../libtool: line 1155: X-DSYS_DARWIN: command not found
../libtool: line 1155: X-I/Users/davidf/svn/vlc-1.0.6/./extras/contrib/include: No such file or directory
../libtool: line 1155: X-D_INTL_REDIRECT_MACROS: command not found
../libtool: line 1155: X-DMACOSX_DEPLOYMENT_TARGET=10.5: command not found
../libtool: line 1155: X-Wall: command not found
../libtool: line 1155: X-Wextra: command not found
../libtool: line 1155: X-Wsign-compare: command not found
../libtool: line 1155: X-Wundef: command not found
../libtool: line 1155: X-Wpointer-arith: command not found
../libtool: line 1155: X-Wbad-function-cast: command not found
../libtool: line 1155: X-Wcast-align: command not found
../libtool: line 1155: X-Wwrite-strings: command not found
../libtool: line 1155: X-Wmissing-prototypes: command not found
../libtool: line 1155: X-Wvolatile-register-var: command not found
../libtool: line 1155: X-Werror-implicit-function-declaration: command not found
../libtool: line 1155: X-MT: command not found
../libtool: line 1155: Xstrndup.lo: command not found
../libtool: line 1155: X-MD: command not found
../libtool: line 1155: X-MP: command not found
../libtool: line 1155: X-MF: command not found
../libtool: line 1155: X.deps/strndup.Tpo: No such file or directory
../libtool: line 1155: X-c: command not found
../libtool: line 1208: Xstrndup.lo: command not found
../libtool: line 1213: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [strndup.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I tried to update the instructions on the wiki at http://wiki.videolan.org/OSXCompile#Qui ... _OS_X_10.5, but I can't seem to edit the page, even after creating an account. Would it make sense to just upgrade the version of libtool in the trunk?
After making it over that hurdle, the scripts tripped up on:
Code: Select all
Making install in test
make[6]: Nothing to be done for `install-exec-am'.
make[6]: Nothing to be done for `install-data-am'.
rm -Rf ./tmp
mkdir -p "./tmp/extras/package/macosx"
rm -Rf ./VLC.app
for i in vlc.xcodeproj Resources README.MacOSX.rtf; do \
cp -R ./extras/package/macosx/$i ./tmp/extras/package/macosx/; \
done
REVISION=`git describe --always` && \
cat ./extras/package/macosx/Info.plist | \
sed "s/#REVISION#/$REVISION/g" > ./tmp/extras/package/macosx/Info.plist
fatal: Not a git repository (or any of the parent directories): .git
make[2]: *** [VLC.app] Error 128
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
So I'm stuck at the git-repo-check now.