[Lunar-bugs] [Lunar Linux 0000203]: vlc does not build on x86_64

Lunar bug reports list lunar-bugs at lunar-linux.org
Fri Mar 16 04:34:19 CET 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=203 
====================================================================== 
Reported By:                neognomic
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   203
Category:                   module
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Moonbase Version:           2006MMDD.NN 
Core Tools:                 Lunar 
Core Tools Version:         2006MMDD 
====================================================================== 
Date Submitted:             03-16-2007 00:17 CET
Last Modified:              03-16-2007 04:34 CET
====================================================================== 
Summary:                    vlc does not build on x86_64
Description: 
The vlc apparently needs ffmepg in order to build but that dependency is
not being included. It also needs some other things...

#> lin vlc
Checking dependencies for vlc 
Building vlc version 0.8.6a

[snip]

checking for ffmpeg-config... no
checking for FFMPEG... no
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.
Creating /var/log/lunar/compile/vlc-0.8.6a.bz2 
! Problem detected during BUILD

----

Initially the ffmpeg would not build. I was able to complete the build by
modifying the ffmepg module's BUILD. (issue reported)

I tried the vlc build again:

[snip]

checking postproc/postprocess.h usability... no
checking postproc/postprocess.h presence... no
checking for postproc/postprocess.h... no
configure: error: Missing header file postproc/postprocess.h.
Creating /var/log/lunar/compile/vlc-0.8.6a.bz2 
! Problem detected during BUILD

----

I guess that libpostproc is needed but it is not available as libpostproc
or postproc and it was not provided with the ffmpeg build as it apparently
should have been(  libpostproc is in the ffmpeg trunk ). 
SO maybe this is also a ffmpeg build problem. I.e., the 
/usr/src/vlc-0.8.6a/modules/codec/ffmpeg/postprocess.c is the only
location on Lunar for any ''postproc'' file(according to freshly updated
locate).

====================================================================== 

---------------------------------------------------------------------- 
 Moe - 03-16-07 01:05  
---------------------------------------------------------------------- 
Try to install ffmpeg-svn (remember to remove ffmpeg-svn beforehand). Also,
be sure subversion is installed. 

---------------------------------------------------------------------- 
 neognomic - 03-16-07 02:47  
---------------------------------------------------------------------- 
Hi Moe, thanks. I did lrm ffmpeg and lin ffmpeg-svn with defaults (except
for mpeg4 as yes) and saw postprocess.c.
It seems to have worked for that, then
checking QuickTime/QuickTime.h usability... no
checking QuickTime/QuickTime.h presence... no
checking for QuickTime/QuickTime.h... no
configure: error: cannot find QuickTime headers
Creating /var/log/lunar/compile/vlc-0.8.6a.bz2 
! Problem detected during BUILD


That is, I am sure, from selecting QuickTime compatibility for vlc. 
I assumed since it was there and accepted license is currently "all" it
would build quicktime(.mov) compatibility into it.
I am going to try lin libquicktime.
Nope. The lin vlc still fails
Trying lin openquicktime ... nope, that's not it either.
Unless it is xmovie I suppose I am out of luck for QuickTime .mov files.
lin xmovie ...  
Oops. Another bug:
[--x--]
Building xmovie version 1.9.12
can't find file to patch at input line 3
Creating /var/log/lunar/compile/xmovie-1.9.12.bz2 
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- libmpeg3/Makefile  2002-07-31 02:17:18.000000000 +0200
|+++ libmpeg3/Makefile  2002-07-31 02:17:46.000000000 +0200
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
! Problem detected during BUILD
[--x--]

Something should also be added as a dependency if "QuickTime" is chosen
for vlc... but What?? 

---------------------------------------------------------------------- 
 Stumbles - 03-16-07 03:03  
---------------------------------------------------------------------- 
The vlc configure script is braindead when it comes to QuickTime and not
just that one. You have to "lrm --prune libquicktime", then "lin -cr vlc",
say no to quicktime, dirac, libdvdread and libdv. Once done then you can
relin libquicktime and the others.

Also if installed you will want to lrm --prune those other apps mentioned.

 

---------------------------------------------------------------------- 
 neognomic - 03-16-07 04:34  
---------------------------------------------------------------------- 
Hi Stumbles,
Okay. Braindeath, eh? I can relate. :)
I'll do it ... was going to try w/o QTime anyway...

It worked:
Creating /var/cache/lunar/vlc-0.8.6a-x86_64-pc-linux-gnu.tar.bz2

It works, too. Yea! ( Now for (alsa) sound... )

OMG! the skins2 interface works.  I have not seen that in years(always
crashed...). Have to hunt down those vlc-skins2 now.

Thanks a lot folks!

SO let me summarize.
include ffmpeg* as dependency
 --do not use ffmpeg but use ffmpeg-svn instead.
do not offer QT, etc. or make the script smarter.
 --would that be the configure script from VideoLan or Lunar?

[ Also, xmovie and ffmpeg have build problems(reported) ... ] 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-16-07 00:17  neognomic      New Issue                                    
03-16-07 00:17  neognomic      Moonbase Version          => 2006MMDD.NN     
03-16-07 00:17  neognomic      Core Tools                => Lunar           
03-16-07 00:17  neognomic      Core Tools Version        => 2006MMDD        
03-16-07 01:05  Moe            Note Added: 0000414                          
03-16-07 02:47  neognomic      Note Added: 0000416                          
03-16-07 02:56  Stumbles       Note Added: 0000417                          
03-16-07 02:57  Stumbles       Note Edited: 0000417                         
03-16-07 03:03  Stumbles       Note Edited: 0000417                         
03-16-07 04:34  neognomic      Note Added: 0000419                          
======================================================================



More information about the Lunar-bugs mailing list