Page 1 of 1

Compile VLC-0.8.5 - libiconv error

Posted: 07 May 2006 15:57
by VRomanov
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?

Posted: 07 May 2006 16:37
by xtophe
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,

Posted: 07 May 2006 17:01
by xtophe
:D i made it works here.

Can you try to add

Code: Select all

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

Posted: 08 May 2006 07:48
by VRomanov
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:

Compile VLC-0.8.5 - libiconv error

Posted: 23 May 2006 17:25
by SimonKh
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?

Posted: 07 Feb 2007 19:28
by cgurler
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.