Help Required
Gavin Nelmes-Crocker
gavin at NETERGY.COM
Tue Dec 31 15:08:32 GMT 2002
ok that fixed it - now I just have to work a way round all the bits to get
it right :-)
Thanks
Gavin
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Julian Field
> Sent: 31 December 2002 14:33
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Help Required
>
>
> I think I got myself out of this loop once by doing the "make install" of
> File::Spec by hand (it's a very simple module), then trying MakeMaker
> again. You are quite right, it becomes a vicious circle.
>
> At 13:51 31/12/2002, you wrote:
> >thanks I hadn't noticed the MakeMaker stuff - having checked its
> wrong but
> >the update fails here
> >
> >Can't locate object method "rel2abs" via package "File::Spec" at
> Makefile.PL
> >line 55.
> >BEGIN failed--compilation aborted at Makefile.PL line 57.
> >
> >which refers to this - is this possibly because File:Spec is out
> of date -
> >starting to go round in circles :-)
> >
> > my($lib, $tlib);
> > BEGIN {
> > $lib = File::Spec->rel2abs('lib/');
> > $tlib = File::Spec->rel2abs('t/lib/');
> > }
> >
> > > -----Original Message-----
> > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > > Behalf Of Julian Field
> > > Sent: 31 December 2002 13:15
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Re: Help Required
> > >
> > >
> > > At 23:12 30/12/2002, you wrote:
> > > >ok well its difficult in some ways as there is so much info,
> > > here is some of
> > > >the build info when building the rpm from src for File:spec adding in
> > > >UNINST=1 to the make install as it correctly notices that there is an
> > > >existing install to upgrade
> > > >
> > > >+ make install UNINST=1
> > > >Installing
> > > /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/Win32.pm
> > > >Unlinking /usr/lib/perl5/5.00503/File/Spec/Win32.pm (shadowing?)
> > >
> > > I don't quite see why you need the UNINST=1, as it will
> install the new
> > > version in the site_perl directories which should be searched
> before the
> > > original version.
> > >
> > > I have seen this incorrect path problem when MakeMaker was
> out of date,
> > > hence the update-makemaker script I include in the RPM distribution.
> > >
> > > >Installing
> /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/OS2.pm
> > > >Unlinking /usr/lib/perl5/5.00503/File/Spec/OS2.pm (shadowing?)
> > > >Installing
> /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/Unix.pm
> > > >Unlinking /usr/lib/perl5/5.00503/File/Spec/Unix.pm (shadowing?)
> > > >Installing
> /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/VMS.pm
> > > >Unlinking /usr/lib/perl5/5.00503/File/Spec/VMS.pm (shadowing?)
> > > >Installing
> /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/Mac.pm
> > > >Unlinking /usr/lib/perl5/5.00503/File/Spec/Mac.pm (shadowing?)
> > > >Installing
> > > >/var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/Functions.pm
> > > >Installing /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec.pm
> > > >Unlinking /usr/lib/perl5/5.00503/File/Spec.pm (shadowing?)
> > > >Installing
> > >
> >/var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec::Win32.3
> > > >Installing
> > >
> >/var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec::Unix.3
> > > >Installing
> > > >/var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec::OS2.3
> > > >Installing
> > > >/var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec::VMS.3
> > > >Installing
> > > >/var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec::F
> > > unctions.3
> > > >Installing
> > > >/var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec::Mac.3
> > > >Installing
> > > /var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec.3
> > > >Writing
> > > >/var/tmp/perl-File-Spec-root/usr/lib/5.00503/i386-linux/auto/File
> > > /Spec/.pack
> > > >list
> > > >Appending installation info to
> > > >/var/tmp/perl-File-Spec-root/usr/lib/5.00503/i386-linux/perllocal.pod
> > > >+ [ -x /usr/lib/rpm/brp-compress ]
> > > >+ /usr/lib/rpm/brp-compress
> > > >+ find /var/tmp/perl-File-Spec-root/usr -type f -print
> > > >+ sed s@^/var/tmp/perl-File-Spec-root@@g
> > > >+ grep -v perllocal.pod
> > > >+ grep -v \.packlist
> > > >++ cat File-Spec-0.82-filelist
> > > >+ [ /usr/lib/perl5/man/man3/File::Spec::OS2.3.gz
> > > >/usr/lib/perl5/man/man3/File::Spec::VMS.3.gz
> > > >/usr/lib/perl5/man/man3/File::Spec::Functions.3.gz
> > > >/usr/lib/perl5/man/man3/File::Spec::Mac.3.gz
> > > >/usr/lib/perl5/man/man3/File::Spec.3.gz
> > > >/usr/lib/perl5/man/man3/File::Spec::Win32.3.gz
> > > >/usr/lib/perl5/man/man3/File::Spec::Unix.3.gz
> > > >/usr/lib/5.00503/File/Spec/Win32.pm
> > > >/usr/lib/5.00503/File/Spec/OS2.pm
> > > >/usr/lib/5.00503/File/Spec/Unix.pm
> > > >/usr/lib/5.00503/File/Spec/VMS.pm
> > > >/usr/lib/5.00503/File/Spec/Mac.pm
> > > >/usr/lib/5.00503/File/Spec/Functions.pm
> > > >/usr/lib/5.00503/File/Spec.pmX = X ]
> > > >+ /usr/lib/rpm/brp-compress
> > > >+ /usr/lib/rpm/brp-strip
> > > >+ /usr/lib/rpm/brp-strip-comment-note
> > > >Processing files: perl-File-Spec-0.82-1
> > > >
> > > >but if you then install the rpm it install itself to
> > > >/usr/lib/5.00.503/File/Spec
> > > >
> > > >compared with installing from source in the same manner where you get
> > > >
> > > >[root File-Spec-0.82]# perl Makefile.PL
> > > >Checking if your kit is complete...
> > > >Looks good
> > > >Writing Makefile for File::Spec
> > > >[root File-Spec-0.82]# make
> > > >mkdir blib
> > > >mkdir blib/lib
> > > >mkdir blib/lib/File
> > > >mkdir blib/arch
> > > >mkdir blib/arch/auto
> > > >mkdir blib/arch/auto/File
> > > >mkdir blib/arch/auto/File/Spec
> > > >mkdir blib/lib/auto
> > > >mkdir blib/lib/auto/File
> > > >mkdir blib/lib/auto/File/Spec
> > > >mkdir blib/man3
> > > >cp Spec/Win32.pm blib/lib/File/Spec/Win32.pm
> > > >cp Spec/OS2.pm blib/lib/File/Spec/OS2.pm
> > > >cp Spec/Unix.pm blib/lib/File/Spec/Unix.pm
> > > >cp Spec/VMS.pm blib/lib/File/Spec/VMS.pm
> > > >cp Spec.pm blib/lib/File/Spec.pm
> > > >cp Spec/Mac.pm blib/lib/File/Spec/Mac.pm
> > > >cp Spec/Functions.pm blib/lib/File/Spec/Functions.pm
> > > >Manifying blib/man3/File::Spec::Win32.3
> > > >Manifying blib/man3/File::Spec::Unix.3
> > > >Manifying blib/man3/File::Spec::OS2.3
> > > >Manifying blib/man3/File::Spec::VMS.3
> > > >Manifying blib/man3/File::Spec::Functions.3
> > > >Manifying blib/man3/File::Spec::Mac.3
> > > >Manifying blib/man3/File::Spec.3
> > > >[root File-Spec-0.82]# make test
> > > >PERL_DL_NONLAZY=1
> > > >/usr/bin/perl -Iblib/arch -Iblib/lib
> > > -I/usr/lib/perl5/5.00503/i386-linux -I/
> > > >usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose);
> > > >$verbose=0; runtests @ARGV;' t/*.t
> > > >t/filefunc..........ok
> > > >t/filespec..........ok, 53/246 subtests skipped
> > > >All tests successful, 53 subtests skipped.
> > > >Files=2, Tests=247, 1 wallclock secs ( 0.50 cusr + 0.03 csys
> > > = 0.53 CPU)
> > > >[root File-Spec-0.82]# make install
> > > >Installing /usr/lib/perl5/5.00503/File/Spec/Win32.pm
> > > >Installing /usr/lib/perl5/5.00503/File/Spec/OS2.pm
> > > >Installing /usr/lib/perl5/5.00503/File/Spec/Unix.pm
> > > >Installing /usr/lib/perl5/5.00503/File/Spec/VMS.pm
> > > >Installing /usr/lib/perl5/5.00503/File/Spec/Mac.pm
> > > >Installing /usr/lib/perl5/5.00503/File/Spec/Functions.pm
> > > >Installing /usr/lib/perl5/5.00503/File/Spec.pm
> > > >Installing /usr/lib/perl5/man/man3/File::Spec::Win32.3
> > > >Installing /usr/lib/perl5/man/man3/File::Spec::Unix.3
> > > >Installing /usr/lib/perl5/man/man3/File::Spec::OS2.3
> > > >Installing /usr/lib/perl5/man/man3/File::Spec::VMS.3
> > > >Installing /usr/lib/perl5/man/man3/File::Spec::Functions.3
> > > >Installing /usr/lib/perl5/man/man3/File::Spec::Mac.3
> > > >Installing /usr/lib/perl5/man/man3/File::Spec.3
> > > >Writing /usr/lib/perl5/5.00503/i386-linux/auto/File/Spec/.packlist
> > > >Appending installation info to
> > > >/usr/lib/perl5/5.00503/i386-linux/perllocal.pod
> > > >
> > > >putting itself in the correct place
> > >
> > > Good.
> > >
> > > > - now its the last line thats the most
> > > >interesting here for the other 2 rpms as its this bit that seems
> > > to go wrong
> > > >in the rpm build it tries to append to a file that doesn't exist
> > > hence later
> > > >when SpamAssassin looks for stuff it doesn't find it.
> > >
> > > I haven't see this problem before. What is perllocal.pod used
> for anyway?
> > > Does it hurt anything if you delete it? :)
> > >
> > > >Hope this rather rambling mail makes sense the problem is
> that I have to
> > > >rebuild a RaQ every time I try something to make sure I am
> doing it on a
> > > >clean box.
> > >
> > > That's the last thing you want to be doing.
> > > I would make sure you have the latest ExtUtils-MakeMaker
> > > installed then try
> > > doing the simple route again.
> > >
> > >
> > > >Gavin
> > > >
> > > > > -----Original Message-----
> > > > > From: MailScanner mailing list
> [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > > > > Behalf Of Julian Field
> > > > > Sent: 30 December 2002 22:16
> > > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > > Subject: Re: Help Required
> > > > >
> > > > >
> > > > > At 21:18 30/12/2002, you wrote:
> > > > > >In battling away to get Spam Assassin installed on a Cobalt
> > > RaQ I have
> > > > > >discovered that the rpm sources for Mailscanner don't build
> > > properly on a
> > > > > >RaQ in that they don't add the information to the podfile
> > > the ones I'm
> > > > > >working on specifically at the moment is File::Spec,
> HTML::Parser and
> > > > > >HTML::Tagset
> > > > >
> > > > > What doesn't build correctly? What output do you get?
> > > > >
> > > > > >When I build them manually they do what they should do but not
> > > > > in the rpm -
> > > > > >there are some areas of the rpm spec file I don't understand.
> > > > >
> > > > > Can you give me any more info to go on?
> > > > >
> > > > > >Is there anyone who is a wizz at rpm and a bit of a perl
> > > guru who could
> > > > > >help?
> > > > >
> > > > > I'll help if I can! :)
> > > > > --
> > > > > Julian Field
> > > > > www.MailScanner.info
> > > > > MailScanner thanks transtec Computers for their support
> > > > >
> > > > > --
> > > > > This message has been scanned for viruses and dangerous content
> > > > > by the Netergy Virus Spam Defence, and is believed to be clean.
> > > > > For details on having your email scanned email nvsd at netergy.com
> > > > >
> > >
> > > --
> > > Julian Field
> > > www.MailScanner.info
> > > MailScanner thanks transtec Computers for their support
> > >
> > > --
> > > This message has been scanned for viruses and dangerous content
> > > by the Netergy Virus Spam Defence, and is believed to be clean.
> > > For details on having your email scanned email nvsd at netergy.com
> > >
> >
> >
> >--
> >This message has been scanned for viruses and dangerous content
> >by the Netergy Virus Spam Defence, and is believed to be clean.
> >For details on having your email scanned email nvsd at netergy.com
>
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
>
> --
> This message has been scanned for viruses and dangerous content
> by the Netergy Virus Spam Defence, and is believed to be clean.
> For details on having your email scanned email nvsd at netergy.com
>
--
This message has been scanned for viruses and dangerous content
by the Netergy Virus Spam Defence, and is believed to be clean.
For details on having your email scanned email nvsd at netergy.com
More information about the MailScanner
mailing list