Thank you all for your replies. I'm still struggling with how to build my own RPM. Any good howto you know of? The book Maximum RPM is from the year 2000. I don't know if it can still be a good one. Regards, Vidol ----- Original Message ----- From: "Jean Francois Martinez" <jfm512@xxxxxxx> To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx> Sent: Thursday, July 14, 2005 2:24 PM Subject: Re: XINE Installation Error on RedHat EL 4 Le mercredi 13 juillet 2005 �5:01 +0300, Tamer Higazi a �it : > I don't prefer installing xine from 3rd parties RPM! > donwload the xine-lib, and xine-ui source files. > > untar with: > tar xvfz xine-lib file > and run: > ./configure --prefix=/usr > > The configure script tells you what is missing on your system or not. > With 3rd party RPM's I have a lot of excperiences... > Then use a good dependency manager like Smartpm, learn to know which sites have good RPMS and what sites have mediocre ones and, if necessary download the SRPM and rebuild it, NEVER compile from the raw source. If you have no SRPM you can still try either to build a proper one or if you are lazy use the -t method Use of the "./configure; make; make install" means you u immediately lose all the benefits provided by RPM: you no longer are sure your config files are protected, you no longer are sure what you install will not overwrite a file belonging to another file, uninstalling is difficult and in case you do it you no longer are sure you will not be accidentally breaking other software. Plus the fact you lose all the informational capabilities provided by RPM: you no longer can tell at a glance what is installed on your box and at what version, you no longer can notice a file and do an rpm -qf on it in order to know what is his purpose (executing the command with --help only works for executables) and so on That is only part of the reasons why the "configure; make; make install" method is unprofessional. Disclaimer: I am not ever as professional as I should be. > He tells you that > > libaa > libdvdcss > libfame > > are missing! > No it will not tell you. Unless explicitly set as mandatory by the author, a lot of software will just probe what is installed on your box and in case the requirements are not met it will print a message (who can easily be missed between the two or three hundred generated by your average configure script) and silently build the thing without the feature. And you could end with a xine without those features. That is another reason to build from a SRPM: a careful RPM author will have included dependency builds for those optional but important features so you can't build a crippled software. Additional benefit: the build will fail immediately instead of after several minutes of probing. Finally at times a feature can only be activated by giving some parms to the configure script. (Eg at one point Acl and winbind support in Samba were built only if explicitly activated). If you build from the SRPM used for an RPM who provides a feature you are interested in (eg mp3 support) you will be sure the RPM you build has the feature too because somewhere in teh spec file there is a line activating it. > Look in your installation cd's if you have the chance to install them > (if available). If you don't have the packages, then try to find the rpm > packages for your system. If you still have problems, download the > source packages, and build yourself RPM packages... > > Tamer > > Am Mittwoch, den 13.07.2005, 10:12 +0700 schrieb Vidol Loeung: > > Dear All: > > > > First, sorry if this is not the right place to ask about RedHat EL4. I've > > tried to install Xine, Xine-lib on my newly-installed RedHat EL 4. I > > downloaded the Xine, Xine-lib RPMs for the RedHat EL4 and installed them > > with the following error: > > > > -- > > # rpm -iv xine-lib-1.0.0-2.2.el4.rf.i386.rpm > > error: Failed dependencies: > > libXvMCW.so.1 is needed by xine-lib-1.0.0-2.2.el4.rf.i386 > > libaa.so.1 is needed by xine-lib-1.0.0-2.2.el4.rf.i386 > > libdvdcss is needed by xine-lib-1.0.0-2.2.el4.rf.i386 > > libfame-0.9.so.1 is needed by xine-lib-1.0.0-2.2.el4.rf.i386 > > > > # rpm -iv xine-0.99.3-2.2.el4.rf.i386.rpm > > error: Failed dependencies: > > libaa.so.1 is needed by xine-0.99.3-2.2.el4.rf.i386 > > libxine.so.1 is needed by xine-0.99.3-2.2.el4.rf.i386 > > xine-lib >= 1.0.0 is needed by xine-0.99.3-2.2.el4.rf.i386 > > -- > > > > What other packages should I install in order to have all the libraries: > > libXvMCW, libaa, libframe, etc.? > > > > Thanks for any ideas? > > > > Vidol > > > -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list