I demand that Gregoire Favre may or may not have written...
On Thu, Jul 13, 2006 at 06:12:00PM +0100, Darren Salt wrote:
[snip]
If, during a CVS update, you see changes in the m4 directory or to configure.ac, you *MUST* then re-run autogen.sh. You should append your usual configuration options, exactly as if running configure.
[snip]
Oh, many thanks for the explanation, you are right, I never run automake...
There were changes in m4/* and configure.ac. That isn't enough.
I added it to my compil script :
#!/bin/bash p=/data/linux/dvb/patches/xine/xine-lib.patch MAKE='sudo nice -n 4 make' OPTIONS="show update dry-run apply undry-run unapply compile exit" select opt in $OPTIONS; do
[snip]
elif [ "$opt" = "compile" ]; then sudo rm -fr /usr/include/xine.h /usr/include/xine && \
Not needed until you're ready to reinstall.
sudo ./autogen.sh --prefix=/usr --with-xvmc-lib=XvMCNVIDIA \
Why as root?
[snip]
sudo automake && $MAKE && $MAKE install && $MAKE distclean
Duplication: automake is run by autogen.sh.
[snip]
But that wasn't enough : with this I still got the same compilation error... so I fetched a brand new xine-lib from CVS and there is first the missing /usr/include/alsa/asoundlib.h as before and :
Works fine here. I'm guessing that you have a broken libasound installation.
gcc -shared .libs/input_vdr.o -Wl,--rpath -Wl,/usr/src/CVS/xine-lib/src/xine-engine/.libs ../../src/xine-engine/.libs/libxine.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../ -march=k8 @XINE_PLUGIN_MIN_SYMS@ -Wl,-soname -Wl,xineplug_inp_vdr.so -o .libs/xineplug_inp_vdr.so x86_64-pc-linux-gnu-gcc: @XINE_PLUGIN_MIN_SYMS@: No such file or directory make[3]: *** [xineplug_inp_vdr.la] Error 1 make[3]: Leaving directory `/usr/src/CVS/xine-lib/src/vdr'
That means that the VDR patch needs to be updated to work with CVS HEAD. You should either do that (it may be enough to remove @XINE_PLUGIN_MIN_SYMS@) or use 1.1.2.