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

MySQL 4.0.x and RH 9



Hi all,

please excuse if you receive a duplicate for this: I sent another msg
about this yesterday, and since it didn't appear so far, I am sending
another one.

I am trying to build MySQL 4.0.14 on my RH9 box using official SRPM from
MySQL.org, and I am going through some weird problem.

First: I had to replace

%install -n mysql-%{mysql_version}

by

%install

on the spec file (will report this to mysql.org). Second, all RPMs build
fine (aside from a couple of "installed but unpackaged" complaints):

[...]
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/rpm/MySQL-4.0.14-build
warning: Installed (but unpackaged) file(s) found:
   /shared-libs.tar
   /usr/bin/mysql_fix_extensions
   /usr/bin/mysql_install
   /usr/bin/mysql_tableinfo
   /usr/bin/mysqldumpslow
   /usr/share/man/man1/mysql_fix_privilege_tables.1.gz
Wrote: /home/costa/redhat/SRPMS/MySQL-4.0.14-0.src.rpm
Wrote: /home/costa/redhat/RPMS/athlon/MySQL-server-4.0.14-0.athlon.rpm
Wrote: /home/costa/redhat/RPMS/athlon/MySQL-client-4.0.14-0.athlon.rpm
Wrote: /home/costa/redhat/RPMS/athlon/MySQL-bench-4.0.14-0.athlon.rpm
Wrote: /home/costa/redhat/RPMS/athlon/MySQL-devel-4.0.14-0.athlon.rpm
Wrote: /home/costa/redhat/RPMS/athlon/MySQL-shared-4.0.14-0.athlon.rpm
Wrote: /home/costa/redhat/RPMS/athlon/MySQL-Max-4.0.14-0.athlon.rpm
Wrote: /home/costa/redhat/RPMS/athlon/MySQL-embedded-4.0.14-0.athlon.rpm

The probl is that MySQL-client lists "perl(the)" as one of its requirements:

rpm -qpR /home/costa/redhat/RPMS/athlon/MySQL-client-4.0.14-0.athlon.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

As a result, I just can't install the RPM:

sudo rpm -ivh /home/costa/redhat/RPMS/athlon/MySQL-client-4.0.14-0.athlon.rpm
error: Failed dependencies:
        perl(the) is needed by MySQL-client-4.0.14-0

What gives? I know Exporter, Fcntl etc. are CPAN modules, but "the"
doesn't seem to be one.

If anyone has a solution for this, or any pointers to prebuilt MySQL
RPMs for RH9, I would be most grateful.

TIA,

Andre

-- 
Andre Oliveira da Costa




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