------------------------------------------------ On Mon, 22 Sep 2003 22:47:16 +0100, "Rob Dixon" <[EMAIL PROTECTED]> wrote:
> Daniel Staal wrote: > > > > --On Monday, September 22, 2003 19:23 +0100 Rob Dixon > > <[EMAIL PROTECTED]> wrote: > > > > > I'm playing away here, as I know nothing about RPM other than > > > that it is a package manager and pro9bably specific to RedHat > > > Linux. > > > > > > Having said that, it looks like you are trying to install a > > > module called MySQL::client, which I've never heard of and > > > isn't available on the definitive CPAN site. > > > > > > Unless you have a reason to go along this route (when I think > > > you will need Linux-specific help) you should use the Database > > > Independent interface module 'DBI' together with the MySQL > > > driver module 'DBD::MySQL', with which most Perl database > > > programmers are familiar. > > > > You've got Perl on the brain. ;-) An RPM doesn't have to be a Perl > > module. What he's trying to do is install a database client (like > > you would write using the DBI) program (MySQL-client-4.0.15-0) that > > happens to depend on Perl. (Presumably it is partially written in > > Perl, maybe using the DBI.) The install is complaining that Perl is > > not installed. > > Then I'm glad I qualified my answer. But please enlighten me: what > sort of beast is an RPM 'package'. The error message An RPM is a file/package that contains a pre-compiled version of a software product combined with some meta information that allows it to detect dependency inconsistencies, version informations, and a bunch of other stuffs to help software compatibility on complex systems like Linux where no two distributions or installations are the same. Originally designed for Red Hat systems, though other distros are supported/support it these days. Usually the name is something descriptive, for instance in this case it is the MySQL client in the 4.x series, which I suppose looks like a Perl naming convention, but that is just because most naming conventions tend to look alike (at least the useable ones). > > Eric Rose wrote: > > > #rpm -Uvh MySQL-client-4.0.15-0.i386.rpm > > > error: Failed dependencies: > > > perl(the) is needed by MySQL-client-4.0.15-0.i386.rpm > > looks like OO terminology but is nonsense in a Perl context. My first > guess would be that an RPM distribution of Perl must be installed, but > now I'm /way/ outside my remit. The bottom line is that this is an RPM > error message to be fought by an RPM gladiator. > It is only OO in that the exact word used was 'the' and/or 'this' which is what is *really* confusing as normally that would be replaced by a version number (I believe). Your guess and bottom lines are correct, it is an RPM error message, and it indicates that Perl is not installed. Though I am concerned as it doesn't list a required version it just spits out 'the' which is non-sensical unless the spec file for the rpm referenced 'The Perl' which seems a bit odd since no one talks about it that way. > > I missed the original question, but I would echo the advice to use > > your distro's help resources to fix this, assuming you are sure Perl > > is installed. > > I don't think the original question was posted to the list at all. Tell > us Wiggins? > Yeh it was, here: http://www.mail-archive.com/beginners%40perl.org/msg46965.html My first reply was a question as to what the hell the OP was talking about as I had never seen that kind of message before from Perl or RPM, I have at least been around the block a couple of times :-). Having now checked it does appear that the mysql-x.rpm package (which is presumably now called mysql-client in the 4.x series of MySQL) does require Perl (I am assuming for some of the utilities that are installed with it (though the main client itself is to my knowledge written in C) and it is an odd dependency). To install DBD::MySQL normally a user would need to have installed the 'mysql-devel' (rpm) package so that the required headers and build libraries were available, which I don't believe requires Perl to be installed, or as is conveniently available these days the rpm for the Perl module which will most likely 'depend' on the aforementioned package anyways. So hopefully the OP can shed light on the topic, and answer the questions from my other post: "Did you install Perl from sources? Is Perl installed?" and/or a new one, is the OP trying to install the Perl module(s) or just the MySQL packages? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]