perl and openwebmail - cant locate vars.pm
parv
parv at pair.com
Wed Feb 25 17:37:31 PST 2004
in message <20040225160658.N28489 at typhoon.enabled.com>,
wrote Noah Garrett Wallach thusly...
>
> okay i am attempting to install perl-5.8.2 from the /usr/ports
>
> I am seeing the following thing happen
...
> and also what should my /etc/make.conf file look like - is this
> okay?
...
> # -- use.perl generated deltas -- #
> # Created: Tue Jul 15 22:09:26 2003
> # Setting to use base perl from ports:
> PERL_VER=5.8.2
> PERL_VERSION=5.8.2
> PERL_ARCH=mach
> NOPERL=yo
> NO_PERL=yo
> NO_PERL_WRAPPER=yo
...
> output from speedyCGI files.
>
> Can't locate vars.pm in @INC (@INC contains:
I have that in /usr/local/lib/perl5/5.8.2/vars.pm.
What does "find /usr/local/lib -type f -name 'vars.pm'" show? Better
yet tell us the output of ...
perl -Mstrict -w \
-e \
' use vars q/$polka/;
$polka = q/dot/;
'
...which should be whole lot of nothing.
( reformated original --v )
> /usr/local/lib/perl5/site_perl/5.8.0/mach
> /usr/local/lib/perl5/site_perl/5.8.0
> /usr/local/lib/perl5/site_perl/5.6.1
> /usr/local/lib/perl5/site_perl/5.005
> /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN
> /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0) at
> /dev/fd/10 line 19. BEGIN failed--compilation aborted at
> /dev/fd/10 line 19. speedy_backend[20770]: perl_parse error
> speedy[20768]: Cannot spawn backend process
Wow, you have three versions of perl installed; now have installed,
rather, trying to install 5.8.2 -- as it is missing from above @INC --
*seemingly* under the same parent directory. You are one brave
fellow!
If you do not need old files, why not deinstall old ports nd/or clear
directories, deinstall 5.8.2, & recompile? Then again problem could
itself be w/ the speedyCGI port.
For comparison, i have only Perl 5.8.2 installed & @INC is...
# perl -e '$, = qq/\n/; print @INC'
/usr2/local/lib/perl5/site_perl/5.8.2/mach
/usr2/local/lib/perl5/site_perl/5.8.2
/usr2/local/lib/perl5/site_perl
/usr2/local/lib/perl5/5.8.2/BSDPAN
/usr2/local/lib/perl5/5.8.2/mach
/usr2/local/lib/perl5/5.8.2
.
- Parv
--
More information about the freebsd-questions
mailing list