Compiling 19218 on X86_64: [dvdpcodecs] Error 2
#1
Hello.
Apologies if this is an old well documented bug but my searching has not turned up anything.

While compiling R19218 on 64 bit Arch, I get this:

make[2]: Leaving directory `/var/abs/local/xbmc-dev/src/XBMC-build/xbmc/cores/dvdplayer/Codecs/ffmpeg'
make[1]: Leaving directory `/var/abs/local/xbmc-dev/src/XBMC-build/xbmc/cores/dvdplayer/Codecs'
make: *** [dvdpcodecs] Error 2

For the arch aware, I am using my own local PKGBUILD based on Haggy's VDPAU one: http://paste2.org/p/177340

I have tried with and without the patch: 'xbmc-libfaad2-configure.patch' (I'm not sure exactly what that is for BTW?).

I have also tried the --disable-pulse flag on ./configure.

I'm using kernel 2.6.29

Thanks very much!
Richy
Django Bespoke Business Software, Sydney Australia
Reply
#2
You haven't posted any real errors. Run make again (without -j) and it should give you something more useful. Paste that output to pastebin.

I suspect this is just yet another autotool version mismatch. Please search the forums, you probably just need to run autoreconf -vif in some dir.
Reply
#3
You are absolutely right.

Compilation without the -j3 produced this: http://paste2.org/p/177360

Which is exactly the same as this: http://forum.xbmc.org/showthread.php?tid=48026

Thanks for the help, I didn't realise -j flags subdue messages.

rich
Django Bespoke Business Software, Sydney Australia
Reply
#4
I'm having the same problem too in Arch with revision 19232, AC_PROG_CXX is already in configure.in Sad
How did you succeed? what changes did you made to PKGBUILD? can you please post your PKGBUILD.
Reply
#5
I did suceed, but I haven't updated my PKGBUILD to make it repeatable yet.

Basically I had to add AC_PROG_CXX to /xbmc/cores/dvdplayer/Codecs/libfaad2/configure.in

cd into that directory then run 'autoreconf -vif'

I then did a 'autoreconf -vif' in every subdir of /dvdplayer/Codecs for good measure. Then I just ran my PKGBUILD again and it all worked fine.

If you are useing my PKGBUILD that's in the OP, then simply make these changes in the src/XBMC folder and not the src/XBMC-build folder as that gets created during makepkg.

I do seem to have lost VDPAU from the render options though... looking at that now.
EDIT: It seems I removed my VDPAU headers somewhere along the way.
Django Bespoke Business Software, Sydney Australia
Reply
#6
decaturguy Wrote:I'm having the same problem too in Arch with revision 19232, AC_PROG_CXX is already in configure.in Sad
How did you succeed? what changes did you made to PKGBUILD? can you please post your PKGBUILD.

This works fine: http://pastebin.com/f5fda3bde
Django Bespoke Business Software, Sydney Australia
Reply
#7
atkinsonr Wrote:This works fine: http://pastebin.com/f5fda3bde

Thanks for the PKGBUILD, but this time it get stuck @ XBMC-build/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss
Here is the log: http://pastebin.com/m74f6931d

Edit: fixed the second problem with:
cd "$srcdir/$_svnmod-build/xbmc/cores/dvdplayer/Codecs/libdvd/libdvdcss"
autoreconf -vif

update your PKGBUILD Smile
Reply
#8
I'm not sure if there is some other problem with libdvdcss?
In the source tree the folder appears to be called libDVDCSS?

If I compile with the ./configure flags as is posted above, it works for me.

If I add --enable-vdpau I can repeat the problem you report.

I noticed some funny stuff in configure.in, so I tried this:
sed -e 's/libdvdcss/libDVDCSS/g' configure.in
...but that didn't work either.

I got it to compile with --enable-vdpau --disable-dvdcss

Haven't tested the build yet.

Edit: Just re-read your post, will try the change suggested, thanks.
Edit2: Just noticed that hey are two different folders. Doh! Have just noticed some very recent SVN changes (19266, 19267) fiddling with the VDPAU flag, so will try again with latest SVN.
Django Bespoke Business Software, Sydney Australia
Reply
#9
In case anyone is interested, here's the latest PKGBUILD with your correction and a couple of other clean ups: http://pastebin.com/m11bfb430

FWIW: VDPAU is incredible - XBMC has never looked so good!

BTW: I've commented out the libfaad2-configure patch, and everything seems well. Does anyone know what it was for and if it is still required?
Django Bespoke Business Software, Sydney Australia
Reply

Logout Mark Read Team Forum Stats Members Help
Compiling 19218 on X86_64: [dvdpcodecs] Error 20