Help Required

Julian Field mailscanner at
Tue Dec 31 13:15:26 GMT 2002

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/
>Unlinking /usr/lib/perl5/5.00503/File/Spec/ (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/
>Unlinking /usr/lib/perl5/5.00503/File/Spec/ (shadowing?)
>Installing /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/
>Unlinking /usr/lib/perl5/5.00503/File/Spec/ (shadowing?)
>Installing /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/
>Unlinking /usr/lib/perl5/5.00503/File/Spec/ (shadowing?)
>Installing /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/Spec/
>Unlinking /usr/lib/perl5/5.00503/File/Spec/ (shadowing?)
>Installing /var/tmp/perl-File-Spec-root/usr/lib/5.00503/File/
>Unlinking /usr/lib/perl5/5.00503/File/ (shadowing?)
>Installing /var/tmp/perl-File-Spec-root/usr/lib/perl5/man/man3/File::Spec.3
>Appending installation info to
>+ [ -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/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
>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/ blib/lib/File/Spec/
>cp Spec/ blib/lib/File/Spec/
>cp Spec/ blib/lib/File/Spec/
>cp Spec/ blib/lib/File/Spec/
>cp blib/lib/File/
>cp Spec/ blib/lib/File/Spec/
>cp Spec/ blib/lib/File/Spec/
>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
>/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/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/
>Installing /usr/lib/perl5/5.00503/File/Spec/
>Installing /usr/lib/perl5/5.00503/File/Spec/
>Installing /usr/lib/perl5/5.00503/File/Spec/
>Installing /usr/lib/perl5/5.00503/File/Spec/
>Installing /usr/lib/perl5/5.00503/File/Spec/
>Installing /usr/lib/perl5/5.00503/File/
>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
>putting itself in the correct place


>  - 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.

> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > Behalf Of Julian Field
> > Sent: 30 December 2002 22:16
> > 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
> >
> > 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
> >

Julian Field
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list