[vlc] AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
Rodrigo Guerra
tioguerra at gmail.com
Fri Sep 25 20:03:59 CEST 2009
On Fri, Sep 25, 2009 at 5:21 PM, Christophe Mutricy <xtophe at chewa.net> wrote:
> Why are you not using the contribs system in extras/contribs ??
Thanks, I am trying that now, but I ran into a different problem.
Following the instructions here:
<http://wiki.videolan.org/OSXCompile>
I did:
$ git clone git://git.videolan.org/vlc.git
$ cd extras/contrib
$ ./bootstrap
(changed ARCH=x86_64 from ARCH=i386 in config.mak)
$ make
$ cd ../..
$ ./bootstrap
$ export CC=/Developer/usr/bin/llvm-gcc-4.2
$ export CXX=/Developer/usr/bin/llvm-g++-4.2
$ export OBJC=/Developer/usr/bin/llvm-gcc-4.2
$ ./configure CFLAGS="-arch x86_64" LDFLAGS="-arch x86_64"
OBJCFLAGS="-arch x86_64" --build=x86_64-apple-darwin9.7.0
$ make
Everything seems fine up until the make command. When I run make I got
the following:
$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/Users/guerra/vlc/autotools/missing --run aclocal-1.11 -I m4
configure.ac:4591: warning: macro `AM_PATH_LIBGCRYPT' not found in library
cd . && /bin/sh /Users/guerra/vlc/autotools/missing --run automake-1.11 --gnu
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/Users/guerra/vlc/autotools/missing --run autoconf
configure.ac:4591: error: possibly undefined macro: AM_PATH_LIBGCRYPT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Error 1
It seems autoconf is not finding libgcrypt for some reason.
$ cat config.log | grep LIBGCRYPT
configure:72073: checking for LIBGCRYPT - version >= 1.1.94
configure:72119: checking LIBGCRYPT API version
ac_cv_path_LIBGCRYPT_CONFIG=/Users/guerra/vlc/./extras/contrib/bin/libgcrypt-config
HAVE_LIBGCRYPT_FALSE='#'
HAVE_LIBGCRYPT_TRUE=''
LIBGCRYPT_CFLAGS='-I///////Users/guerra/vlc/extras/contrib/include'
LIBGCRYPT_CONFIG='/Users/guerra/vlc/./extras/contrib/bin/libgcrypt-config'
LIBGCRYPT_LIBS='-L///////Users/guerra/vlc/extras/contrib/lib -lgcrypt
-lgpg-error'
I checked and everything seems to be there in extras/contrib.
Just in case I downloaded and installed libgcrypt from the link below
using the same parameters that I passed to the ./configure of vlc
<ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.4.4.tar.bz2>
Unfortunately the error persists.
Any ideas?
More information about the vlc
mailing list