On Sunday 16 October 2005 10:11, david rankin wrote:
----- Original Message -----
#!/bin/sh # # # This script will: # 1) download the sources needed to build libdvdcss2 RPM # 2) Ask the root password # 3) Build the binary RPM packages and install it. # NOTE: To build is needed to install before the following packages: # gcc (the C GNU compiler) # make (the make build GNU utility) # wget (the tool to download the source code) # To use it, you will need an internet conection up to download the sources # a) Download the script # b) move it to a temp directory # c) cd to that temp directory # d) execute the script (you will need to know the root password and the # internet conection up) # ./install_libdvdcss2 # # (c) Guillermo Ballester Valor, 2004 # # v 0.1.1 (15-feb-2004) # V_DVDCSS2=1.2.9 V_PACKMAN=0.pm.0 SITE_PACKMAN=mirrors.mathematik.uni-bielefeld.de/pub/linux/misc/packman TEMP_FILE=./tmpfile
# First check about gcc and make packages echo "Checking if you have basic compiler and utils installed ..." ! ( rpm -q gcc ) && echo "You have to install 'gcc' RPM package before" && exit ! ( rpm -q make ) && echo "You have to install 'make' RPM package before" && exit ! ( rpm -q wget ) && echo "You have to install 'wget' RPM package before" && exit
echo "Ok, continue downloading needed packages and sources ..." echo " "
# A small clean before download fresh files rm -f libdvdcss2-${V_DVDCSS2}-${V_PACKMAN}.nosrc.rpm* rm -f libdvdcss-${V_DVDCSS2}.tar.bz2*
I've ran the script (nice) and I get this error message: + cd /usr/src/packages/BUILD + rm -rf libdvdcss-1.2.9 + exit 0 Preparing... ########################################### [100%] file /usr/lib/libdvdcss.so.2 from install of libdvdcss2-1.2.9-0.pm.0 conflicts with file from package libdvdcss-1.2.8-1 libdvdcss2 have not been installed I removed everything I could find: Cosmos3:/home/adriel # rm /usr/lib/libdvdcss.so.2.0.7 Cosmos3:/home/adriel # rm /usr/lib/libdvdcss.so.2 Cosmos3:/home/adriel # rm /usr/lib/libdvdread.so.3.0.0 Cosmos3:/home/adriel # rm /usr/lib/libdvdnav.so.4.0.0 Cosmos3:/home/adriel # rm /usr/lib/libdvdnav.so.4 Cosmos3:/home/adriel # rm /usr/lib/libdvdread.so.3 Cosmos3:/home/adriel # rm /usr/lib/libdvdread.so.2 I there a command to tell me all the files left on my system that are part of the libdvdcss-1.2.8-1 package? Thanks, Jerome