MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: [mv] Installation Problem - Bareword Errors - repost



This is a repost of a message. I am having problems installing Minvend on
a new server. Perl
is reporting the following error on several lines of Makefile.PL:

  Bareword found where operator expected at
     /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm

I searched the archives for "Bareword" errors, but didn't find anything
that seemed applicable. Any ideas? Something wrong with the Perl
installation?

The only place I see Basename being used in Makefile.PL is at the
beginning of install_file():

sub install_file {
	my ($srcdir, $targdir, $filename) = @_;
	my $srcfile  = $srcdir . '/' . $filename;
	my $targfile = $targdir . '/' . $filename;
	my $mkdir = File::Basename::dirname($targfile);
	my $extra;
	my $perms;
...
}

Here is the output from the Minivend configure script:


minivend-3.14-3$ ./configure

 MiniVend Version 3.0x Configuration

 Copyright 1996-1998 Michael J. Heins, <mikeh@minivend.com>

 MiniVend is largely based on Vend 0.2
 Copyright 1995 Andrew M. Wilcox <awilcox@maine.com>

 Portions from Vend 0.3
 Copyright 1995, 1996 Andrew M. Wilcox <awilcox@maine.com>

 Distributed under the GNU General Public License, see
 the file Copying for license information.

Found Perl 5.00404 as /usr/local/bin/perl

If you get a CPAN error, rerun the configuration and it
should go away.

Bareword found where operator expected at
/usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line 163, near
"/^(.*[:>\]])?(.*)/t"
        (Missing operator before t?)
Bareword found where operator expected at
/usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line 168, near
"/^((?:.*[:\\\/])?)(.*)/t"
        (Missing operator before t?)
Bareword found where operator expected at
/usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line 172, near
"/^(.*:)?(.*)/t"
        (Missing operator before t?)
Bareword found where operator expected at
/usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line 175, near
"/(.*[:\/])?(.*)/t"
        (Missing operator before t?)
Bareword found where operator expected at
/usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line 179, near
"m#^(.*/)?(.*)#t"
Bareword found where operator expected at
/usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line 191, near
"s/$pat//t"
syntax error at /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line
163, near "/^(.*[:>\]])?(.*)/t"
syntax error at /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line
168, near "/^((?:.*[:\\\/])?)(.*)/t"
syntax error at /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line
172, near "/^(.*:)?(.*)/t"
syntax error at /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line
175, near "/(.*[:\/])?(.*)/t"
syntax error at /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line
179, near "m#^(.*/)?(.*)#t"
syntax error at /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line
191, near "s/$pat//t"
syntax error at /usr/lib/perl5/i386-linux/5.00404/File/Basename.pm line
201, near "}"
BEGIN failed--compilation aborted at /usr/lib/perl5/ExtUtils/MM_Unix.pm
line 5.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `test'.  Stop.



Search for: Match: Format: Sort by: