Installing VLC 0.9.0 Linux

*nix specific usage questions
jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

Installing VLC 0.9.0 Linux

Postby jchambers » 07 Aug 2007 09:19

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
none for now

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Installing VLC 0.9.0 Linux

Postby Jean-Baptiste Kempf » 07 Aug 2007 09:52

Gosh.... Why don't you compile ffmpeg correctly with --enable-pp --enable-gpl for a start ?

Wiki.videolan.org/User:J-b
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

Re: Installing VLC 0.9.0 Linux

Postby jchambers » 07 Aug 2007 19:27

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
none for now

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Installing VLC 0.9.0 Linux

Postby funman » 07 Aug 2007 21:25

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

jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

Re: Installing VLC 0.9.0 Linux

Postby jchambers » 08 Aug 2007 02:00

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?
none for now

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: Installing VLC 0.9.0 Linux

Postby kmf31 » 08 Aug 2007 02:29

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.

jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

Re: Installing VLC 0.9.0 Linux

Postby jchambers » 08 Aug 2007 19:06

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.
none for now


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

Who is online

Users browsing this forum: No registered users and 8 guests