[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Odd perl dependency for MySQL 4.0.14 on RH9



On Fri, Aug 29, 2003 at 07:07:29PM -0300, Andre Costa wrote:
> Hi all,
> 
> I built MySQL from scratch on my RH9 machine, and it is refusing to
> install because of "perl(the)" requirement (??) :
> 
> rpm -ivh MySQL-client-4.0.14-0.i386.rpm 
> error: Failed dependencies:
>         perl(the) is needed by MySQL-client-4.0.14-0
> 
> If I list its dependencies, it comes as:
> 
> rpm -qpR MySQL-client-4.0.14-0.i386.rpm
> /bin/sh  
> /usr/bin/perl  
> perl(CGI)  
> perl(Exporter)  
> perl(Fcntl)  
> perl(Getopt::Long)  
> perl(IPC::Open3)  
> perl(POSIX)  
> perl(Sys::Hostname)  
> perl(the)  
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> 
> CGI, Exporter, Fcntl etc. are CPAN modules, AFAICS, but WTF is the
> 'the'??
> 
> I used the spec file provided directly by MySQL.org. If anyone can help
> me solve this, or provide me links to MySQL 4.0.x RPMs for RH9, I would
> be most grateful.
> 

Automagic perl dependncy generation is just some regex's run across scripts
to extract tokens.

When the regex extracts token from unusual context, then problems like
	Requires: perl(the)
are seen.

Filter out the bogus dependency, see examples in many CPAN packages.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []