build 1.0.1 failure
Posted: 13 Aug 2009 22:43
I just got a new Macbook Pro and had MacOSX completely reinstalled on it. So I started with a clean hard disk. I upgraded the machine to latest version of Apple software: Mac OS/X is 10.5.8
I'm following the instructions on the wiki for compiling under MacOSX. I installed the latest iPhone SDK 3.0 which included XCode v3.1.3. I downloaded the v1.0.1 tarball and followed the instructions:
cd extras/contrib
./bootstrap
make
cd ../..
./bootstrap
Setup the correct exports on CC,CXX,OBJC to point to the llvm compilers that do exist in the default area.
./configure --enable-debug --with-mozilla-sdk-path=./extras/contrib/gecko-sdk --enable-mozilla
was successful. However, the make fails:
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/pameladragosh/src/vlc-1.0.1/./extras/contrib/include -DSYS_DARWIN -I/Users/pameladragosh/src/vlc-1.0.1/./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/pameladragosh/src/vlc-1.0.1/./extras/contrib/include: No such file or directory
../libtool: line 1155: X-DSYS_DARWIN: command not found
../libtool: line 1155: X-I/Users/pameladragosh/src/vlc-1.0.1/./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
Does any one have any ideas?
BTW I did try it with the latest source code via git, but it gave me the problem not have twolame installed.
Thanks,
Pam
I'm following the instructions on the wiki for compiling under MacOSX. I installed the latest iPhone SDK 3.0 which included XCode v3.1.3. I downloaded the v1.0.1 tarball and followed the instructions:
cd extras/contrib
./bootstrap
make
cd ../..
./bootstrap
Setup the correct exports on CC,CXX,OBJC to point to the llvm compilers that do exist in the default area.
./configure --enable-debug --with-mozilla-sdk-path=./extras/contrib/gecko-sdk --enable-mozilla
was successful. However, the make fails:
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/pameladragosh/src/vlc-1.0.1/./extras/contrib/include -DSYS_DARWIN -I/Users/pameladragosh/src/vlc-1.0.1/./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/pameladragosh/src/vlc-1.0.1/./extras/contrib/include: No such file or directory
../libtool: line 1155: X-DSYS_DARWIN: command not found
../libtool: line 1155: X-I/Users/pameladragosh/src/vlc-1.0.1/./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
Does any one have any ideas?
BTW I did try it with the latest source code via git, but it gave me the problem not have twolame installed.
Thanks,
Pam