Compile VLC-0.8.5 - libiconv error

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
VRomanov
New Cone
New Cone
Posts: 6
Joined: 21 Sep 2005 19:47

Compile VLC-0.8.5 - libiconv error

Postby VRomanov » 07 May 2006 15:57

Hi!
I try to compile VLC-0.8.5 on Debian for Windows.
I use mingw32, mingw32-binutils and
mingw32-runtime packages.
Contrib file:
contrib-20060330-win32-bin-gcc-3.4.5-only.tar.bz2
Config file:
./bootstrap && \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
./configure --host=i586-mingw32msvc --build=i386-linux \
--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-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--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 \
--enable-debug

And I have error:

checking for __argz_next... no
checking for iconv... no, consider installing GNU libiconv
checking for nl_langinfo and CODESET... no
checking for LC_MESSAGES... no
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
configure: error: libiconv is needed for VLC to work properly
victor@debian:~/vlc-0.8.5$

Why?javascript:emoticon(':shock:')
Some days before I did it with vllc-0.8.5-test4 and all was fine. What is changed?

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 07 May 2006 16:37

i have the same problem. working one one server but not on the other.
Actually the test (a very simple program) compiles fine from a shell but not from within ./configure and i haven't yet found out why.

A solution is to go to extras/contrib, bootstrap qnd compile iconv (cd src; make .iconv)

hth,
Xtophe

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 07 May 2006 17:01

:D i made it works here.

Can you try to add

Code: Select all

PATH=/usr/win32/bin:$PATH
before PKG_CONFIG_LIBDIR=....
Xtophe

VRomanov
New Cone
New Cone
Posts: 6
Joined: 21 Sep 2005 19:47

Postby VRomanov » 08 May 2006 07:48

xtophe
I tried

Code: Select all

A solution is to go to extras/contrib, bootstrap qnd compile iconv (cd src; make .iconv)
and

Code: Select all

PATH=/usr/win32/bin:$PATH
but unsuccessful :cry:

SimonKh

Compile VLC-0.8.5 - libiconv error

Postby SimonKh » 23 May 2006 17:25

I have installed FreeBSD 6.1 and have tryed to install vlc 0.8.5
./configure --prefix=/usr/local/vlc
and I have the same
checking for bison... bison
checking version of bison... 1.75, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
configure: error: libiconv is needed for VLC to work properly

can anybody help me with this problem?

cgurler
New Cone
New Cone
Posts: 1
Joined: 07 Feb 2007 19:25

Postby cgurler » 07 Feb 2007 19:28

I had the similar problem with Cygwin. For solution I added the libicov during installation of cygwin. (You can add new packages after the installation.)

Now it is compiling.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests