Page 1 of 1

Installing VLC 0.9.0 Linux

Posted: 07 Aug 2007 09:19
by jchambers
Hello --



Here is my VLC config: ./configure --enable-dv --enable-v4l2 --enable-pvr --enable-dvb --enable-realrstp --disable-mad --enable-shared --enable-shared-pp --enable-pp --enable-gpl

I added ffmpeg with this: ./configure --enable-x11grab --enable-liba52 --enable-liba52bin --enable-libmp3lame --enable-libx264 --enable-libxvid


VLC compiler error: configure: error: Missing header file postproc/postprocess.h.

I tried the follow the directions from here. http://wiki.videolan.org/index.php/Linux_VLC_FAQ

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/

I still get the configure error message?

Any help would be great.

Jon

Re: Installing VLC 0.9.0 Linux

Posted: 07 Aug 2007 09:52
by Jean-Baptiste Kempf
Gosh.... Why don't you compile ffmpeg correctly with --enable-pp --enable-gpl for a start ?

Wiki.videolan.org/User:J-b

Re: Installing VLC 0.9.0 Linux

Posted: 07 Aug 2007 19:27
by jchambers
Hi j-b, thanks for the reply.


Here is what I have going now.

FFMPEG
./configure --enable-x11grab --enable-liba52 --enable-liba52bin --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-gpl --enable-pp
( no errors )


VLC
./configure --enable-dv --enable-v4l2 --enable-pvr --enable-dvb --enable-realrstp --disable-mad --enable-shared --enable-shared-pp --enable-pp --enable-gpl --disable-libmpeg2 --disable-glx


Configure Errors:
configure: WARNING: not using the libs in extras/contrib as it is not the same host
configure: WARNING: HAL library not found
configure: WARNING: lua5.1 not found, trying lua >= 5.1 instead
( lua.x86_64 lua-devel.x86_64 installed )
configure: WARNING: CD Reading and information library not found
configure: WARNING: VCD information library not found
configure: WARNING: only static linking is available, you must provide a gme-tree
configure: WARNING: ZVBI library not found. Enabling the telx module instead
configure: WARNING: Not building Roku HD1000 compatible video output
configure: WARNING: Not building Roku HD1000 compatible video output
configure: WARNING: QT4 library not found
configure: WARNING: avahi-client library not found


I have google'd the majority of these errors and can not seem to sovle the issues.

Working with /build/sid-amd64/trunk-20070723-0125/vlc_0.9.0-svn20070723-1-0.tar.gz

Thank you,
Jon

Re: Installing VLC 0.9.0 Linux

Posted: 07 Aug 2007 21:25
by funman
these are not errors, but warnings, you can safely ignore it.

but you would want to install libqt4-dev if you want to use the beautiful new interface

Re: Installing VLC 0.9.0 Linux

Posted: 08 Aug 2007 02:00
by jchambers
Again, thank you for the response.


Here are the warnings / errors returned with "make"

Code: Select all

/usr/bin/ld: /usr/local/lib/liba52.a(parse.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liba52.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[6]: *** [liba52tofloat32_plugin.la] Error 1 make[5]: *** [all-modules] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

Here are the warnings / errors retruned with "make install"

Code: Select all

libtool: install: warning: relinking `libvlc-control.la' libtool: install: warning: relinking `libdvb_plugin.la' libtool: install: warning: relinking `libaccess_mms_plugin.la' libtool: install: warning: relinking `libvcd_plugin.la' libtool: install: warning: relinking `libscreen_plugin.la' libtool: ignoring unknown tag CXX libtool: install: warning: relinking `libaccess_file_plugin.la' libtool: install: warning: relinking `libaccess_directory_plugin.la' libtool: install: warning: relinking `libaccess_dv_plugin.la' libtool: install: warning: relinking `libaccess_udp_plugin.la' libtool: install: warning: relinking `libaccess_tcp_plugin.la' libtool: install: warning: relinking `libaccess_http_plugin.la' libtool: install: warning: relinking `libaccess_ftp_plugin.la' libtool: install: warning: relinking `libaccess_smb_plugin.la' libtool: install: warning: relinking `libaccess_fake_plugin.la' libtool: install: warning: relinking `libpvr_plugin.la' libtool: install: warning: relinking `libv4l2_plugin.la' libtool: install: warning: relinking `libcdda_plugin.la' libtool: install: warning: relinking `libaccess_filter_timeshift_plugin.la' libtool: install: warning: relinking `libaccess_filter_record_plugin.la' libtool: install: warning: relinking `libaccess_filter_dump_plugin.la' libtool: install: warning: relinking `libaccess_filter_bandwidth_plugin.la' libtool: install: warning: relinking `libaccess_output_dummy_plugin.la' libtool: install: warning: relinking `libaccess_output_file_plugin.la' libtool: install: warning: relinking `libaccess_output_udp_plugin.la' libtool: install: warning: relinking `libaccess_output_http_plugin.la' libtool: install: warning: relinking `libtrivial_channel_mixer_plugin.la' libtool: install: warning: relinking `libsimple_channel_mixer_plugin.la' libtool: install: warning: relinking `libheadphone_channel_mixer_plugin.la' libtool: install: warning: relinking `libdolby_surround_decoder_plugin.la' libtool: install: warning: relinking `libmono_plugin.la' /usr/bin/ld: /usr/local/lib/liba52.a(parse.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/liba52.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[9]: *** [liba52tofloat32_plugin.la] Error 1 make[8]: *** [all-modules] Error 1 make[7]: *** [install-am] Error 2 make[6]: *** [install-recursive] Error 1 make[5]: *** [install] Error 2 make[4]: *** [install-recursive] Error 1 make[3]: *** [install] Error 2 make[2]: *** [install-recursive] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2

Am I getting closer?

Re: Installing VLC 0.9.0 Linux

Posted: 08 Aug 2007 02:29
by kmf31
This is a different error not detected by ./configure but only by make.

You are trying to compile vlc for 64 bit and here the libraries such as liba52 (the package a52-dec) must be compiled with this option "-fPIC" when they are provided in static form (i.e. as liba52.a and not as liba52.so). Therefore you need to recompile and reinstall liba52 and make sure to add somehow the option "-fPIC", maybe as a ./configure option ("--with-pic") or with CFLAGS=-fPIC before doing ./configure and make.
You may also compile liba52 with "--enable-shared" and "--disable-static" and therefore create the dynamic version (liba52.so) which is automatically compiled with "-fPIC".

The same problem may also happen to other libraries.

Re: Installing VLC 0.9.0 Linux

Posted: 08 Aug 2007 19:06
by jchambers
Ok, now I am understanding this more! I think :)

I ended up having to copie some libraries into the ffmpeg build folder to get it to work.

For me it was /usr/src/ffmpeg-checkout-2007-08-07/libavcodec (and others)

Here is the config.

CFLAGS=-fPIC ./configure --enable-x11grab --enable-liba52 --enable-liba52bin --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-gpl --enable-pp --enable-shared --disable-static


So now I have more questions...

How do I know ffmpeg is installed correctly?
If I do a yum list installed | grep ffmpeg it does not show up.

Also I can see VLC installed on my pc and can use it but FLV1 is not a pulldown option for video transcoding?
I do see FLV as an encapsulation option.


Oh one more thing, I ended up using vlc-beta-0.9.0-20910.3.x86_64.rpm to install vlc.

Thank you for your continued help.