[vlc-devel] [PATCH] fix --with-dvbpsi=PATH

Christopher Key cjk32 at cam.ac.uk
Thu Sep 24 00:45:22 CEST 2009


Jean-Baptiste Kempf wrote:
> On Wed, Sep 23, 2009 at 10:19:40PM +0100, Christopher Key wrote :
>   
>> When checking for <dvbpsi/dr.h>, the configure script only includes
>> various prerequisites if invoked with --with-dvbpsi=yes, but not if
>> invoked with --with-dvbpsi=PATH.  I've verified that I can manually
>> patch the configure script to get vlc to compile, but the attached patch
>> (untested) should makes the necessary alterations to configure.ac.
>>     
>
> Doesn't libdvbpsi provide a PKG_CONFIG file?
>
>   
I'm not familiar with the pkg-config, but on my system (FreeBSD 7.2,
everything installed from the ports tree) I get:

#pkg-config libdvbpsi
gnome-config: not found


I'm attempting to build vlc-1.0.2 with minimal changes to the port's
definition.

According to config.log, configure is being invoked with:

./configure --enable-vlc --enable-release --enable-avcodec
--enable-avformat --enable-postproc --without-dv-raw1394 --disable-dv
--disable-galaktos --disable-glx --disable-qt4 --disable-dbus
--disable-gnomevfs --disable-notify --disable-skins2 --disable-libtar
--disable-loader --disable-jack --disable-remoteosd --disable-pulse
--disable-fluidsynth --enable-zvbi --disable-hal --disable-arts
--disable-vcd --disable-libcddb --disable-libcdio --disable-cddax
--disable-cdda --disable-cddax --enable-dvbpsi --with-dvbpsi=/usr/local
--enable-dvdnav --enable-dvdread --disable-esd --with-ffmpeg-faac
--enable-faad --enable-flac --disable-fribidi --disable-aa
--disable-dirac --disable-schroedinger --enable-x264 --disable-lua
--disable-caca --enable-dca --disable-ggi --enable-mkv --enable-a52
--enable-libmpeg2 --enable-real --enable-realrtsp --enable-theora
--enable-live555 --with-live555-tree=/usr/local/live --enable-taglib
--enable-mad --with-mad=/usr/local --enable-mod --enable-mpc
--enable-ogg --disable-smb --disable-sdl --enable-gnutls --enable-speex
--disable-svg --disable-svgalib --disable-tremor --enable-twolame
--enable-vorbis --disable-xosd --enable-release --disable-v4l
--disable-x11 --prefix=/usr/local --mandir=/usr/local/man
--infodir=/usr/local/info/ --build=amd64-portbld-freebsd7.2

and is failing on with:

checking dvbpsi/dr.h presence... yes
configure: WARNING: dvbpsi/dr.h: present but cannot be compiled
configure: WARNING: dvbpsi/dr.h:     check for missing prerequisite headers?
configure: WARNING: dvbpsi/dr.h: see the Autoconf documentation
configure: WARNING: dvbpsi/dr.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: dvbpsi/dr.h: proceeding with the compiler's result
checking for dvbpsi/dr.h... no
configure: error: Could not find libdvbpsi on your system: you may get
it from www.videolan.org, you'll need at least version 0.1.1


If I patch configure (as attached), everything compiles okay.  I believe
the previous patch makes the necessary changes to configure.ac to effect
this change in configure.

King Regards,

Christopher Key
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-configure-dvbpsi.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090923/3fb83ff6/attachment.ksh>


More information about the vlc-devel mailing list