Please HELP! Error in compiling vlc 0.9.0:libiconv is needed

*nix specific usage questions
Callisto
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Sep 2006 16:08

Please HELP! Error in compiling vlc 0.9.0:libiconv is needed

Postby Callisto » 13 Nov 2006 21:59

Hello guys,

I really really need your help because all the posts in the vlc forum which already dealt with this topic could not help me!
I like to compile vlc for win32 from source including the java bindings on a Debian 3.1 distribution. I read all the instructions, readme files and posts in the vlc forum but couldn't solve the problem yet.

I copied the recent vlc-trunk from the videolan using svn with

Code: Select all

svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
I also installed mingw32 cross-compiler, the binutils and the runtime packages as well as the latest additional win32 libraries from http://download.videolan.org/pub/testin ... ontrib.... So far so good.
After installing everything I execute the following script like it is described in the INSTALL.WIN32 readme from the vlc-trunk directory:

Code: Select all

./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-live555 --with-live555-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-java-bindings \ --enable-debug
But I got the error message
checking for iconv... no, consider installing GNU libiconv
and later on
configure: error: libiconv is needed for VLC to work properly
But I already installed the libiconv libraries using different ways. The first one was the usual way by extracting and installing the latest libiconv package from the videolan /pub/testing/contrib directory by executing the commands

Code: Select all

./configure --prefix=/usr/local

Code: Select all

make

Code: Select all

make install
The second way was to go the vlc-trunk/extras/contrib directory and execute the commands

Code: Select all

./bootstrap i586-mingw32msvc

Code: Select all

cd src

Code: Select all

make .iconv
But the error remained.

I don't know what else I can try. Does anybody could please help me. I need to compile vlc from source in order to get the new java bindings for jvlc.

Thanks a lot in advance.
Bye Callisto

ustunozgur
Blank Cone
Blank Cone
Posts: 53
Joined: 09 Oct 2006 00:19
Contact:

Postby ustunozgur » 14 Nov 2006 00:29

There is an option for ./configure
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib.
Maybe you could replace this dir with extras/contrib .

Callisto
Blank Cone
Blank Cone
Posts: 15
Joined: 05 Sep 2006 16:08

Postby Callisto » 14 Nov 2006 09:16

Ok, thanks a lot! It worked!
I had already tested it with the option but always with the wrong path /usr/local.

Thanks


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

Who is online

Users browsing this forum: No registered users and 6 guests