[vlc] AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER

Rodrigo Guerra tioguerra at gmail.com
Mon Sep 28 08:09:58 CEST 2009


On Mon, Sep 28, 2009 at 1:33 AM, Rodrigo Guerra <tioguerra at gmail.com> wrote:
> Here are the steps I used for compiling:
>
> vlc $ cd extras/contrib
> vlc/extras/contrib $ ./bootstrap x86_64-apple-darwin10
> vlc/extras/contrib $ make
> vlc/extras/contrib $ cd ../..
> vlc $ ./bootstrap
> vlc $ ./configure --build=x86_64-apple-darwin10 --disable-sdl --prefix=/usr
> vlc $ ./compile
> vlc $ sudo make install

Just for the sake of it I tried again from scratch using -m32 and i386
binaries. It seems libiconv.la is missing in extras/contrib. Here is
what I did:

vlc $ sudo rm -rf *
vlc $ git checkout -f master
vlc $ cd extras/contrib/
vlc/extras/contrib $ ./bootstrap
vlc/extras/contrib $ make
vlc/extras/contrib $ cd ../..
vlc $ ./bootstrap
vlc $ ./configure --enable-debug CFLAGS="-m32" LDFLAGS="-m32"
OBJCFLAGS="-m32" CPPFLAGS="-m32" CXXFLAGS="-m32"
vlc $ ./compile

The error I got is the following:

/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 -m32
-I/Users/guerra/vlc-git/vlc/./extras/contrib/include -DSYS_DARWIN
-I/Users/guerra/vlc-git/vlc/vlc_install_dir/include
-D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE
-D_REENTRANT -D_THREAD_SAFE -DDEBUG -D__LIBVLC__ -I../src/misc -g -O2
-ffast-math -funroll-loops -march=prescott -mtune=generic
-Werror=unused-function -Werror=unused-label -Werror=unused-value
-Werror=unused-parameter -Werror=unused-variable -Werror=unused
-Werror=missing-braces -Werror=nonnull -Werror=parentheses
-Werror=address -Werror=undef -Werror=comment -Werror=switch
-Werror=bad-function-cast -Werror=implicit -Werror=sequence-point
-Werror=strict-aliasing -Werror=overflow -Werror=int-to-pointer-cast
-Werror=pointer-to-int-cast -Werror=div-by-zero -Werror=overflow
-DMODULE_STRING=\"main\"
-DLOCALEDIR=\"/Users/guerra/vlc-git/vlc/vlc_install_dir/share/locale\"
-DSYSCONFDIR=\"/IN -I/Users/guerra/vlc-git/vlc/vlc_install_dir/include
-D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE
-D_REENTRANT -D_THREAD_SAFE -DDEBUG -D__LIBVLC__ -I../src/misc -g -O2
-ffast-math -funroll-loops -march=prescott -mtune=generic
-Werror=unused-function -Werror=unused-label -Werror=unused-value
-Werror=unused-parameter -Werror=unused-variable -Werror=unused
-Werror=missing-braces -Werror=nonnull -Werror=parentheses
-Werror=address -Werror=undef -Werror=comment -Werror=switch
-Werror=bad-function-cast -Werror=implicit -Werror=sequence-point
-Werror=strict-aliasing -Werror=overflow -Werror=int-to-pointer-cast
-Werror=pointer-to-int-cast -Werror=div-by-zero -Werror=overflow
-DMODULE_STRING=\"main\"
-DLOCALEDIR=\"/Users/guerra/vlc-git/vlc/vlc_install_dir/share/locale\"
-DSYSCONFDIR=\"/Users/guerra/vlc-git/vlc/vlc_install_dir/etc\"
-DDATA_PATH=\"/Users/guerra/vlc-git/vlc/vlc_install_dir/share/vlc\"
-DLIBDIR=\"/Users/guerra/vlc-git/vlc/vlc_install_dir/lib\"
-DPLUGIN_PATH=\"/Users/guerra/vlc-git/vlc/vlc_install_dir/lib/vlc\"
-m32 -I/Users/guerra/vlc-git/vlc/./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 -pipe
-MT libvlccore_la-revision.lo -MD -MP -MF
.deps/libvlccore_la-revision.Tpo -c revision.c  -fno-common -DPIC -o
.libs/libvlccore_la-revision.o
grep: /Users/guerra/vlc-git/vlc/extras/contrib/lib/libiconv.la: No
such file or directory
sed: /Users/guerra/vlc-git/vlc/extras/contrib/lib/libiconv.la: No such
file or directory

It seems someone else also faced similar problem:
<http://forum.videolan.org/viewtopic.php?f=12&t=64579>

Regards,
Guerra



More information about the vlc mailing list