[OpenIndiana-discuss] Building dependency libraries for VLC
Aurélien Larcher
aurelien.larcher at gmail.com
Sun Mar 15 20:48:24 UTC 2015
Hello,
that's really neat :) could we have this information on the Wiki at
http://wiki.openindiana.org/oi/Packaging+projects ?
Maybe an "encumbered" section should be created in oi-userland. If not
directly, possibly as git submodule ?
Best regards
Aurelien
On Sun, Mar 15, 2015 at 9:35 PM, russell <stream at willows7.myzen.co.uk>
wrote:
>
> Hi,
>
> I have finally built the last dependency library for VLC, if you are
> interested the in build commands for each library please see below and the
> order they must be built
>
> a52dec-0.7.4$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> faac-1.28$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> faad2-2.7$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
> gsm-1.0-pl13$ edit Makefile
>
> libmpeg2-0.5.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> libogg-1.3.2$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libvorbis-1.3.4$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> libtheora-1.1.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> lame-3.99.5$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> speex-1.2rc1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> curl-7.41.0$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> icecast-2.4.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libebml-1.3.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libdvdcss-1.3.99$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> libbluray-0.7.0$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> flac-1.3.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libdvdread-4.9.9$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> libmodplug-0.8.8.5$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> libmpcdec-1.2.6$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> libmad-0.15.1b$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> libid3tag-0.15.1b$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> madplay-0.15.2b$ CC=gcc CPPFLAGS=-I/opt/gnu/include LDFLAGS=-L/opt/gnu/lib
> ./configure --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> opus-1.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> orc-0.4.18$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> twolame-0.3.13$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> schroedinger-1.0.11$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> zvbi-0.2.35$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libass-0.12.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static --disable-asm
>
> libmatroska-1.4.2$ CC=gcc EBML_CFLAGS=-I/opt/gnu/include
> EBML_LIBS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared=yes
> --disable-static
>
> libxml2-2.9.2$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libgcrypt-1.6.3$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared=yes --disable-static
>
> jpeg-6b$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libpng-1.6.16$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> tiff-3.9.7$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libcdio-0.93$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libdca-0.0.5$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static
>
> libcddb-1.3.2$ CC=gcc LIBCDIO_CFLAGS=-I/opt/gnu/include
> LIBCDIO_LIBS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared=yes --disable-static --without-cdio
>
> ffmpeg-2.5.3$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared --disable-static
>
> x264-snapshot-20141218-2245$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared --disable-static
>
> libdvbpsi-1.2.0$ CC=gcc LDFLAGS=-L/opt/gnu/lib LIBS="-lsocket -lnsl"
> ./configure --prefix=/opt/gnu --enable-shared --disable-static
>
> ffmpeg-2.5.3$ CC=gcc CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib
> -R/opt/gnu/lib" ./configure --prefix=/opt/gnu --enable-shared
> --disable-static --extra-cflags="-I/opt/gnu/include"
> --extra-ldflags="-L/opt/gnu/lib -R/opt/gnu/lib"
>
> libgpg-error-1.18$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure
> --prefix=/opt/gnu --enable-shared --disable-static
>
> SDL2-2.0.3$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared (--disable-static stops build )
>
> giflib-5.1.1$ CC=gcc LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-shared --disable-static
>
> libwebp-0.4.2$ CC=gcc CPPFLAGS=-I/opt/gnu/include LDFLAGS=-L/opt/gnu/lib
> ./configure --prefix=/opt/gnu --enable-shared --disable-static
>
> SDL2_image-2.0.0$ CC=gcc CPPFLAGS=-I/opt/gnu/include
> LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared
> --disable-static
>
> openssl-1.0.2$ ./Configure 386 shared --prefix=/opt/gnu solaris-x86-gcc
>
> unbound-1.5.2$ CC=gcc CPPFLAGS=-I/opt/gnu/include LDFLAGS=-L/opt/gnu/lib
> ./configure --prefix=/opt/gnu --enable-shared
>
> live$ ./genMakefiles openindiana-32bit
>
> ---****---config.openindiana-32bit---****---
> COMPILE_OPTS = $(INCLUDES) -I. -O -DSOLARIS -DXLOCALE_NOT_USED
> -DSOCKLEN_T=socklen_t -fpic
> C = c
> C_COMPILER = gcc
> C_FLAGS = $(COMPILE_OPTS)
> CPP = cpp
> CPLUSPLUS_COMPILER = c++
> CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall
> OBJ = o
> LINK = c++ -o
> LINK_OPTS = -L.
> CONSOLE_LINK_OPTS = $(LINK_OPTS)
> LIBRARY_LINK = ld -o
> LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared
> LIB_SUFFIX = so
> LIBS_FOR_CONSOLE_APPLICATION = -lsocket -lnsl
> LIBS_FOR_GUI_APPLICATION = $(LIBS_FOR_CONSOLE_APPLICATION)
> EXE =
> ---****---config.openindiana-32bit---****---
>
> mv live /opt/gnu
>
> gmp-6.0.0$ CC=gcc ABI=32 CPPFLAGS=-I/opt/gnu/include
> LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared
> --disable-static --enable-fake-cpuid --enable-fat Note require
> GMP_CPU_TYPE environment variable to be set
>
> nettle-2.7.1$ CC=gcc CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib
> -R/opt/gnu/lib" ./configure --prefix=/opt/gnu --enable-shared
>
> p11-kit-0.2X.1$ CC=gcc CFLAGS='-std=gnu99 -D_POSIX_PTHREAD_SEMANTICS'
> CPPFLAGS=-I/opt/gnu/include LDFLAGS=-L/opt/gnu/lib LIBS="-lsocket -lnsl"
> ./configure --prefix=/opt/gnu --enable-shared --without-trust-paths
>
> Note: p11-kit is installed in /opt/gnu/include/p11-kit-1/pk11-kit not
> /opt/gnu/include/p11-kit (manually fix)
>
> gnutls-3.3.13$ CC=gcc NETTLE_CFLAGS=-I/opt/gnu/include
> NETTLE_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib -lnettle -lhogweed"
> HOGWEED_CFLAGS=-I/opt/gnu/include HOGWEED_LIBS="-L/opt/gnu/lib
> -R/opt/gnu/lib -lhogweed -lnettle" P11_KIT_CFLAGS=-I/opt/gnu/include
> P11_KIT_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib" CPPFLAGS=-I/opt/gnu/include
> LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib -lp11-kit" LIBS="-R/opt/gnu/lib"
> ./configure --prefix=/opt/gnu --enable-shared --disable-static
>
>
> Many thanks for the help in order to get them built.
> Next is VLC
>
> The is for recent hipster release uname -a
> SunOS ts 5.11 illumos-bfce16b i86pc i386 i86pc
>
> GCC
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/i386-pc-solaris2.
> 11/4.8.3/lto-wrapper
> Target: i386-pc-solaris2.11
> Configured with: /jenkins/jobs/oi-userland/workspace/components/gcc48/gcc-4.8.3/configure
> CC=/usr/gcc/4.8/bin/gcc CXX=/usr/gcc/4.8/bin/g++
> F77=/usr/gcc/4.8/bin/gfortran FC=/usr/gcc/4.8/bin/gfortran CFLAGS='-g -O2'
> CXXFLAGS=' ' FFLAGS=' ' FCFLAGS= LDFLAGS=-m32 PKG_CONFIG_PATH=/usr/lib/pkgconfig
> --prefix=/usr/gcc/4.8 --mandir=/usr/gcc/4.8/share/man
> --bindir=/usr/gcc/4.8/bin --libdir=/usr/gcc/4.8/lib
> --sbindir=/usr/gcc/4.8/sbin --sbindir=/usr/gcc/4.8/bin
> --libdir=/usr/gcc/4.8/lib --libexecdir=/usr/gcc/4.8/lib --host
> i386-pc-solaris2.11 --build i386-pc-solaris2.11 --target
> i386-pc-solaris2.11 --with-boot-ldflags=-R/usr/gcc/4.8/lib
> --enable-plugins --enable-objc-gc --enable-languages=c,c++,fortran,lto,objc
> --without-gnu-ld --with-ld=/usr/bin/ld --with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin
> --disable-libitm --with-gnu-as --with-as=/usr/bin/gas
> LDFLAGS=-R/usr/gcc/4.8/lib
> Thread model: posix
> gcc version 4.8.3 (GCC)
>
>
>
> Russell
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
--
-------------------------------------------------------------------------------
LARCHER Aurélien | KTH, School of Computer Science and
Communication
Work: +46 (0) 8 790 71 42 | Lindstedtsvägen 5, Plan 4, 100 44 Stockholm,
SWEDEN
-------------------------------------------------------------------------------
More information about the openindiana-discuss
mailing list