Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-08-2005, 02:10 PM
|
#1
|
Member
Registered: Dec 2004
Location: East Wenatchee, WA
Posts: 31
Rep:
|
VLC VideoLan Problems
I am trying to install vlc 0.8.1 on fedora core 2 from a tar.gz.
Once i use the "./configure" command it starts to config and stops with
-------------------------------------------------------------------------------
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
I hve tryed downloading ffmpeg from the vlc site and extracting then copying the file to the "../modules/codecs/Ffmpeg/" directory and it still does't work.
-------------------------------------------------------------------------------
What am i doing wrong?
|
|
|
01-08-2005, 02:38 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you need ffmpeg fully installed. the file should actually reside at somewhere like /usr/include/ffmpeg/avcodec.h but it needs to get there through a proper install, don't just copy it!
|
|
|
01-08-2005, 04:01 PM
|
#3
|
Member
Registered: Dec 2004
Location: East Wenatchee, WA
Posts: 31
Original Poster
Rep:
|
i have installed ffmpeg and it still gives me the "header missing" thing. ffmpeg is located in "/usr/local/bin" but vlc keaps saying that avcodec.h is missing.
Also how do i make python install in /usr/local/bin?
|
|
|
01-23-2005, 03:43 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Location: Chi-town
Distribution: FC2-i386, FC3-x86_64
Posts: 2
Rep:
|
./configure options
Had the same problem. Don't know for sure, but to configure ffmpeg I used
./configure --enable-mp3lame --enable-vorbis --enable-pp --enable-a52 --enable-a52bin --enable-shared
I'm guessing the key might be the --enable-shared, as well as it seems they had almost everything disabled by default.
That fixed the avcodec.h problem.
Then vlc's configure complained about a postprocessor (for which I had to create a link from /usr/local/include to /path/to/ffmpeg/libavcodec/libpostproc called postproc
then my configure completed OK.
Now I'm stuck on the make portion - it complains
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video_filter.o)(.text+0x13b): In function `OpenFilter__ffmpeg':
: undefined reference to `avpicture_alloc'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-video_filter.o)(.text+0x9c5): In function `CloseFilter__ffmpeg':
: undefined reference to `avpicture_free'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o)(.text+0x172): In function `OpenChroma__ffmpeg':
: undefined reference to `avpicture_alloc'
./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-chroma.o)(.text+0x4fd): In function `CloseChroma__ffmpeg':
: undefined reference to `avpicture_free'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/pengt/vlc-0.8.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pengt/vlc-0.8.1'
make: *** [all] Error 2
Good luck to us both!
|
|
|
01-23-2005, 04:36 PM
|
#5
|
LQ Newbie
Registered: Jan 2005
Location: Chi-town
Distribution: FC2-i386, FC3-x86_64
Posts: 2
Rep:
|
don't waste your time on the new version
I got tired of beating my head against the wall and just downloaded
http://download.videolan.org/pub/vid...-binary.tar.gz
tar zxvf vlc-binary.tar.gz
cd vlc
rpm -i --force *.rpm
vlc&
bingo!
|
|
|
01-23-2005, 10:11 PM
|
#6
|
Member
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156
Rep:
|
I tried the previous post, which was also the instructions on the VLC homepage, and I am getting Failed Dependencies errors. Several of them:
libcdio.so.0 is needed by cdinfo-0........
""""""
"""""""
etc.
What's the deal with the difficulty installing this player? It is too bad, cause it rocks on win. I was hoping to get it working on Fedora.
Anyone have any ideas?
|
|
|
02-02-2005, 01:26 AM
|
#7
|
LQ Newbie
Registered: Nov 2004
Location: colorado springs
Distribution: slackware 10
Posts: 2
Rep:
|
linked libraries
did you install new libraries?
have you tried: ldconfig
?
matt
|
|
|
02-18-2005, 07:36 PM
|
#8
|
LQ Newbie
Registered: Feb 2005
Posts: 1
Rep:
|
Solution!
The reason for all this is that ffmpeg changed the defns of avpicture_{free,alloc} to static void ().
Changes that inlibavcodec/imgconvert and voila it compiles
|
|
|
03-02-2005, 06:16 AM
|
#9
|
LQ Newbie
Registered: Mar 2005
Posts: 2
Rep:
|
Re: Solution!
Quote:
Originally posted by cybernytrix
The reason for all this is that ffmpeg changed the defns of avpicture_{free,alloc} to static void ().
Changes that inlibavcodec/imgconvert and voila it compiles
|
Sorry to be rather thick but what exactly do I need to change to get this to work then?
Looking at the imgconvert.c file in ffmpeg the functions you mention definitely are not of type static void() and since the pointer that is passed to them is used withing the function changing them will blow them up.
What do I need to do to get vlc to compile?
It's a great piece of software but amazingly difficult to build so far!
Cliff
|
|
|
03-02-2005, 06:33 AM
|
#10
|
Member
Registered: Mar 2004
Location: Tampere, Finland
Distribution: Debian, Familiar, OS X
Posts: 145
Rep:
|
wouldn´t it be easier to add a repository with vlc to synaptic / yum?
|
|
|
03-02-2005, 07:18 AM
|
#11
|
LQ Newbie
Registered: Mar 2005
Posts: 2
Rep:
|
Quote:
Originally posted by pevelius
wouldn´t it be easier to add a repository with vlc to synaptic / yum?
|
The problem is I need to compile the mozilla plugin so I can use vlc embedded in a web page. Since I'm using Fedora there is no prebuilt plugin. Therefore I have to compile the whole thing. I also need to enhance the http operation of vlc to add my own functions.
It's all deeply frustrating and time wasting doubly so since the package is so versatile.
Linux is all about being 5% there with 95% of your time needed to get to where you want to be.
|
|
|
All times are GMT -5. The time now is 01:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|