VLC 2.2.0 on OpenIndiana oi151.1.9 hipster

*nix specific usage questions
half12
New Cone
New Cone
Posts: 9
Joined: 02 Sep 2011 13:02

VLC 2.2.0 on OpenIndiana oi151.1.9 hipster

Postby half12 » 26 Mar 2015 22:48

Hi,
I need a little help with getting VLC 2.2.0 running on OpenIndiana, after successfully building everything up to VLC binary I failed at the final hurdle when building with gcc 4.8.3

vlc-2.2.0$ gmake
gmake all-recursive
gmake[1]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0'
Making all in compat
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/compat'
Making all in doc
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/doc'
Making all in po
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/po'
Making all in share
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/share'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/share'
Making all in src
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
GEN stamp-revision
fatal: Not a git repository: '../.git/'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/src'
Making all in modules
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake all-recursive
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in .
gmake[4]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in audio_filter
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/audio_filter'
Making all in control
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/control'
Making all in gui
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake all-recursive
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
Making all in macosx
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx'
Making all in macosx_dialog_provider
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/macosx_dialog_provider'
Making all in minimal_macosx
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake all-am
gmake[7]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[6]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui/minimal_macosx'
gmake[6]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[6]: Nothing to be done for `all-am'.
gmake[6]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[5]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/gui'
Making all in misc
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/misc'
Making all in packetizer
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/packetizer'
Making all in text_renderer
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/text_renderer'
Making all in video_filter
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_filter'
Making all in video_output
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/video_output'
Making all in visualization
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/visualization'
Making all in access_output
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/access_output'
Making all in mux
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
gmake[4]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules/mux'
Making all in stream_out
gmake[4]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake all-am
gmake[5]: Entering directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[5]: Nothing to be done for `all-am'.
gmake[5]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[4]: Leaving directory
`/home/downloads/gnu/vlc/vlc-2.2.0/modules/stream_out'
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/modules'
Making all in lib
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake all-am
gmake[3]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/lib'
Making all in bin
gmake[2]: Entering directory `/home/downloads/gnu/vlc/vlc-2.2.0/bin'
CCLD vlc
Undefined first referenced
symbol in file
strerror_l /home/downloads/gnu/vlc/vlc-2.2.0/src/.libs/libvlccore.so
ld: fatal: symbol referencing errors. No output written to .libs/vlc
collect2: error: ld returned 1 exit status
gmake[2]: *** [vlc] Error 1
gmake[2]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0/bin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/downloads/gnu/vlc/vlc-2.2.0'
gmake: *** [all] Error 2


Would it be possible for the ./configure to include in AC_REPLACE_FUNC definition strerror to avoid the use of the strerror_l which is not included in OpenIndiana.

The actual command I used to generate the build environment is a follows

CC=gcc PKG_CONFIG_PATH="/opt/gnu/lib/pkgconfig" CFLAGS='-W -fmax-errors=100 -std=gnu99 -D_POSIX_PTHREAD_SEMANTICS' CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" LIVE555_CFLAGS='-I/opt/gnu/include/UsageEnvironment -I/opt/gnu/include/groupsock -I/opt/gnu/include/BasicUsageEnvironment -I/opt/gnu/include/liveMedia' LIVE555_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib -lBasicUsageEnvironment -lUsageEnvironment -lgroupsock -lliveMedia" SCHROEDINGER_CFLAGS=-I/opt/gnu/include/schroedinger-1.0 SCHROEDINGER_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib" GL_CFLAGS=-I/usr/include/GL GL_LIBS="-L/usr/lib/GL -R/usr/lib/GL" ./configure --prefix=/opt/gnu

Once ./configure has completed I need to make the following changes in order for the compilation to reach the point as shown above, if this could be incorporated into the build environment it would make it easier to build

1. In src/Makefile, modules/Makefile, modules/video_filter/Makefile and modules/video_output/Makefile I must modify the Makefile to remove CFLAGS option -Werror-implicit-function-declaration otherwise compilation fails
2. In modules/access/directory.c and replace O_DIRECTORY with O_RDONLY as O_DIRECTORY is not support on OpenIndiana
3. In modules/access/live555.cpp you must #include <db.h> to obtain u_int*_t definitions (I have raised this a bug on OpenIndiana, I would expect them in inttypes.h)

half12
New Cone
New Cone
Posts: 9
Joined: 02 Sep 2011 13:02

Re: VLC 2.2.0 on OpenIndiana oi151.1.9 hipster

Postby half12 » 28 Mar 2015 11:52

If you are interested in how to build all the dependency libraries and in a working order

52dec-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---****---

The makefiles for live555 do not work, they create the directories correctly but you must manually copy the include and libs to the correct directories /opt/gnu/include and /opt/gnu/lib unless you fix the makefiles. The makefiles do show want needs to be copied and the permissions required.

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

VLC required dependencies not listed

libpthread-stubs-0.3$ CC=gcc CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" ./configure --prefix=/opt/gnu --enable-shared

libxcb-1.11$ CC=gcc PKG_CONFIG_PATH="/opt/gnu/lib/pkgconfig" CPPFLAGS=-I/opt/gnu/include LDFLAGS="-L/opt/gnu/lib -R/opt/gnu/lib" ./configure --prefix=/opt/gnu --enable-shared


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 34 guests