Beta 4.50.4 released -- faster than 4.49
Steve Freegard
smf at F2S.COM
Thu Jan 5 16:57:56 GMT 2006
Hi Julian,
On Thu, 2006-01-05 at 16:45 +0000, Julian Field wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> The critical lines are these:
>
> On 5 Jan 2006, at 16:21, Ken A wrote:
>
> > error: Failed dependencies:
> > perl(RPC::PlClient) >= 0.2000 is needed by perl-
> > DBI-1.50-1.noarch
> > perl(RPC::PlServer) >= 0.2001 is needed by perl-
> > DBI-1.50-1.noarch
> > perl(Win32::ODBC) is needed by perl-DBI-1.50-1.noarch
>
> I don't understand why it thinks it needs these. My system hasn't got
> them installed and didn't need them for DBI.
>
<SNIP>
I had exactly the same issues building Perl modules for DefenderMX - it
is caused by the RPM find-requires script that searches for all the
dependencies for the RPM including the optional libraries too.
Personally I use the cpan2rpm script http://perl.arix.com/cpan2rpm/
which you can tell to ignore requirements:
# - DBI -
# This spec file was automatically generated by cpan2rpm [ver: 2.028]
# The following arguments were used:
# '--packager=Steve Freegard <steve.freegard at fsl.com>'
'--distribution=Fort Systems - DefenderMX'
--make-maker=PREFIX=/opt/Fortress/utils --make-install=DESTDIR=
%{buildroot} --spec-only --no-prfx
'--define=_defaultdocdir /opt/Fortress/utils/doc' '--define=_prefix /'
--name=fsmg-perl-DBI --no-requires=perl(Win32::Registry)
--no-requires=perl(RPC::PlClient) --no-requires=perl(RPC::PlServer)
--no-requires=perl(Win32::ODBC)
--no-requires=perl(Apache) ../SOURCES/DBI-1.48.tar.gz
Hope this helps.
Kind regards,
Steve.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list