Hello, 

I'm really hitting abrick wall here. Any help or insight would be greatly appreciated.

I'm trying to get this Module installed:
 http://search.cpan.org/author/DROBERTS/Net-SMTP-Multipart-1.5/

[ console output below with step by step actions ]

The line in the Multipart.pm file  :
our $VERSION = sprintf("%d.%d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/);^M
Seems to casue an error about not being able to modify the Variable.

With that I couldn't even get past Makefile.PM
But if I remove the our I can do the make dance.

But then I get an error about not finding a file in @INC. 
The directory exists 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Net/SMTP/Multipart/
::
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):242)# ls \
? /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Net/SMTP/Multipart/
.packlist
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):243)# 

but the file our.al doesn't exist there or anywhere on the server. Obviouosly it 
didn't get installed properly.

I also did all of this with version 1.4 with the same results
I even gid used gmake instead of make for kicks to same thing
Has anybody ever run into this before?

I'll hand out the prestigious genius of the day award for anyone who can get this :)

Thanks

Dan


FROM SCRATCH and THE SCREEN::
(root@q42(/home/dmuey/perlmod ):226)# gzip -dc Net-SMTP-Multipart-1.5.tar.gz.tar |tar 
-xof -
(root@q42(/home/dmuey/perlmod ):227)# cd Net-SMTP-Multipart-1.5
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):228)# perl Makefile.PL 
Checking if your kit is complete...
Looks good
'HTMLLIBPODS' is not a known MakeMaker parameter name.
Could not eval '
            package ExtUtils::MakeMaker::_version;
            no strict;

            local $VERSION;
            $VERSION=undef; do {
                our $VERSION = sprintf("%d.%d", q$Revision: 1.5 $ =~ /(\d+)\.(\d+)/);
            }; $VERSION
        ' in Multipart.pm: Can't modify subroutine entry in scalar assignment at (eval 
15) line 7, at EOF
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):229)# 

SO them I remove the 'our' mentioned above...

(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):230)# perl Makefile.PL 
Checking if your kit is complete...
Looks good
'HTMLLIBPODS' is not a known MakeMaker parameter name.
Writing Makefile for Net::SMTP::Multipart
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):231)# make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Net
mkdir blib/lib/Net/SMTP
pod2text Multipart.pm >README
pod2html Multipart.pm >Multipart.html
cp Multipart.pm blib/lib/Net/SMTP/Multipart.pm
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Net
mkdir blib/arch/auto/Net/SMTP
mkdir blib/arch/auto/Net/SMTP/Multipart
mkdir blib/lib/auto/Net
mkdir blib/lib/auto/Net/SMTP
mkdir blib/lib/auto/Net/SMTP/Multipart
mkdir blib/man3
Manifying blib/man3/Net::SMTP::Multipart.3
/usr/bin/pod2man: Invalid man page - no documentation in Multipart.pm
Couldn't install blib/man3/Net::SMTP::Multipart.3
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):232)# make install
Installing /usr/local/lib/perl5/site_perl/5.005/Net/SMTP/Multipart.pm
Installing /usr/local/lib/perl5/5.00503/man/man3/Net::SMTP::Multipart.3
Writing 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Net/SMTP/Multipart/.packlist
Appending installation info to /usr/libdata/perl/5.00503/mach/perllocal.pod
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):233)# perl -e 'use 
Net::SMTP::Multipart;'
Can't locate auto/Net/SMTP/Multipart/our.al in @INC (@INC contains: 
/usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 
.) at /usr/local/lib/perl5/site_perl/5.005/Net/SMTP/Multipart.pm line 28
BEGIN failed--compilation aborted at -e line 1.
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):234)# 

So then I add the 'our' back to the module at
/usr/local/lib/perl5/site_perl/5.005/Net/SMTP/Multipart.pm ...

(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):245)# perl -e 'use 
Net::SMTP::Multipart;'                                    Can't modify subroutine 
entry in scalar assignment at 
/usr/local/lib/perl5/site_perl/5.005/Net/SMTP/Multipart.pm line 30, near ");"
BEGIN failed--compilation aborted at -e line 1.
(root@q42(/home/dmuey/perlmod/Net-SMTP-Multipart-1.5 ):246)# 

So then I get the original error about the variable. Which would seem to man that I 
need to fix the original problem and the it will get installed properly.







--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to