Configure/Build VLC0.8.6c (for WinXP) problem

This forum is about all development around libVLC.
Wafa
New Cone
New Cone
Posts: 2
Joined: 13 Oct 2009 17:11

Configure/Build VLC0.8.6c (for WinXP) problem

Postby Wafa » 13 Oct 2009 18:00

I'm interested in reusing VLC open source in my project since it's open (supportes both WinCe and Xp) and supports RTP/RTSP streaming of course.
I tried to build the VLC0.8.6c sources but it fails. I chose v0.8.6c because the corresponding binary works fine with an RTSP url I have, while 1.0.x crashes.
Here are the details:
- OS: Windows XP SP2
- Compiling with MSYS/MINGW
- I followed build instructions from http://wiki.videolan.org/Win32CompileMSYSNew
to section "Install other tools".
For set-up of MSYS/MinGW env., I followed the instructions of "Installation and configuration of MSYS/MinGW" section from link http://trac.enlightenment.org/e/wiki/EFLWindowsXP;

Here, I got an error when executing "make install" as indicated in this phrase
(Go to tmp/gettext-0.17 and run CFLAGS="-03" LDFLAGS="-Wl,-s" ./configure, then make install. It will take a LOT of time to configure and install gettext.)
Errors: gettext "make: *** [install-recursive] Error 1"

gettext version: gettext-0.17 downloaded from http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz

- for "Install Git and checkout VLC", it is skipped since I downloaded and manually extracted vlc source files under D:\
- Then, I followed sections "PKG-CONFIG" and "Contribs"

- Till now: all installed except for gettext. I passed to configure and build VLC.
Here I did'n't find the same instructions in file "INSTALL.win32" of VLC source project and what indicated in the link I'm using:
http://wiki.videolan.org/Win32CompileMSYSNew

For bootstrap, ./bootstrap doesn't work as indicated in INSTALL.win32

--------------------
If you are compiling with MSYS/MINGW, then you can use something along those
lines:
./bootstrap && \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
./configure \
--disable-gtk \
--enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-mkv \
--enable-debug
--------------------

Results:
--------------------
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS='-I m4'
+ test -d extras/contrib/bin
+ amvers=no
+ for v in '"-1.7"' '"-1.9"' '"19"' '"-1.8"' '"18"' '"-1.7"' '"17"' '""'
+ automake-1.7 --version
+ amsuff=-1.7
+ amvers=-1.7
+ break
+ test -1.7 = no
+ case "${amvers}" in
+ libtoolize=no
+ glibtoolize --version
+ libtoolize --version
+ libtoolize=libtoolize
+ test libtoolize = no
+ gettextize --version
+ set +x
you need gettextize (package gettext-devel or gettext)
--------------------


My questions:
1. What's wrong with the gettext install?
2. Are the steps listed above correct?
2. What are the instructions to follow for VLC configure and Build: as specified in INSTALL.win32?

May thanks for your help.

Regards,

Rémi Denis-Courmont
Developer
Developer
Posts: 15279
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Configure/Build VLC0.8.6c (for WinXP) problem

Postby Rémi Denis-Courmont » 13 Oct 2009 22:39

Those build instructions were written for more recent versions. You're on your own if you insist on using a totally outdated and insecure version.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Wafa
New Cone
New Cone
Posts: 2
Joined: 13 Oct 2009 17:11

Re: Configure/Build VLC0.8.6c (for WinXP) problem

Postby Wafa » 14 Oct 2009 09:41

I thank you very much for your reply.
I do wonder why the gettext0.17 failed to install. Do we need it for building newer version of VLC?
In fact, I chose this version 0.8.6c because the exe (of binary) works fine with the only testing RTSP url I have: rtsp://live.onestreaming.com/radionetlamia
I tried at first time to use the last version 1.0.2, Infortunately the exe crashes when trying to play this url.
I'm interested in RTSP streaming for mp3 and wma for both XP and CE. Now I started by working on XP version.

If I try to work with v1.0.2:
1. Is there any fix for that issue of v1.0.2 or any recommendation for investigation?
2. For building sources, I have the same pb of what instructions to use. I follow INSTALL.win32, isn't it?

Thanks again.

Rémi Denis-Courmont
Developer
Developer
Posts: 15279
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Configure/Build VLC0.8.6c (for WinXP) problem

Postby Rémi Denis-Courmont » 14 Oct 2009 17:55

You should really cross-compile from Linux. It's much less brittle.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 57 guests