FreeBSD Port: Error Upgrading Perl 5.8.9
Usually I perform portupgrade daily on some of my FreeBSD Servers, not all at once of cause. This afternoon I came to a problem when performing upgrade for Perl 5.8.9 The upgrade was failed error show as below;
/bin/mkdir -p /usr/local/lib/perl5/5.8.9/BSDPAN/.
install -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.9/BSDPAN.pm /usr/local/lib/perl5/5.8.9/BSDPAN/BSDPAN.pm
install: /usr/ports/lang/perl5.8/work/BSDPAN-5.8.9/BSDPAN.pm: No such file or directory
*** Error code 71
Somehow it shown BSDPAN.pm is missing, so I try to search for the file;
shell> locate BSDPAN.pm
/usr/local/lib/perl5/5.8.9/BSDPAN/BSDPAN.pm
Try to crave for more information for the file;
shell> ls -al /usr/local/lib/perl5/5.8.9/BSDPAN/BSDPAN.pm
ls: /usr/local/lib/perl5/5.8.9/BSDPAN/BSDPAN.pm: No such file or directory
File not found, I guess something is wrong with the Perl 5.8.9 Makefile. After a while, I did portsnap fetch update to get latest port tree update.
I guess there were some error with the Makefile, tried to do diff after I got the latest Perl Makefile and previous error Makefile;
shell> diff Makefile.perl.1 Makefile.perl.2
5c5
< # $FreeBSD: ports/lang/perl5.8/Makefile,v 1.100 2009/02/15 22:42:37 skv Exp $
---
> # $FreeBSD: ports/lang/perl5.8/Makefile,v 1.101 2009/02/16 07:27:41 itetcu Exp $
146c146
< BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-${PORTVERSION}
---
> BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-${BSDPAN_VERSION}
Problem fixed after few hours, the BSDPAN_WRKSRC was configured on the wrong path. Hope this mistake won’t happen again
Related posts:
- How to Enable Suidperl in FreeBSD Enable Suidperl In FreeBSD Due to security issues, by default...
- Cacti Spine Source Installation Error on FreeBSD Just noticed FreeBSD’s port still using old version of spine,...
- Razor2 Error: No such file or directory report requires authentication While doing Spam Report on SpamAssassin, I came across this...
- MySQL Quick Installation on FreeBSD Quick installation of MySQL Database on FreeBSD Server. Make sure...
- How To Fix php5-pcre Ignored Package in FreeBSD Ports I guess most of the FreeBSD users having problem to...
- OURMON Installation and Configuration on FreeBSD 7 with Multi-threading Support OURMON is popular known as open source Network Monitoring and...
- freebsd port update, monitor outdated port with portsnap we have about 15 freebsd servers with us, ranging from...
- Fixed Cacti Spine 0.8.7g Problem on FreeBSD On latest release of Cacti Spine 0.8.7g, it has new...
- Open file and Splitting String in Perl What I gonna do is to read a bunch of...
- PCRE Error on PHP 5.2.x Recent upgrade to PHP 5.2.8 and PHP 5.2.9 have given...