devel/automake19 don't wok - cant locate perl library
Sergiy Kazakov
rendol at mail.zp.ua
Fri Aug 3 14:39:54 UTC 2007
Hello freebsd-ports-bugs,
hile php4-extensions installation (via ports tree) automake-1.9.6_2
was installed, but I've met the problem while using it. It shows
error:
--------------------------- cut here start ---------------------------
===> Configuring for firebird-client-2.0.1
Can't locate Automake/Config.pm in @INC (@INC contains:
/usr/local/share/automake at APIPVERSION@ /usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach
/usr/local/lib/perl5/5.8.8 .) at /usr/local/bin/aclocal-1.9 line 36.
BEGIN failed--compilation aborted at /usr/local/bin/aclocal-1.9 line 36.
*** Error code 2
--------------------------- cut here finish ---------------------------
After browsing automake package content I've been found it in
/usr/local/share/automake/Automake/Config.pm
After examining of aclocal-1.9 file I found that it contain line,
which (probably) contains an error(see error message above):
--------------------------- cut here start ---------------------------
BEGIN
{
my $perllibdir = $ENV{'perllibdir'} || '/usr/local/share/automake at APIPVERSION@';
unshift @INC, (split ':', $perllibdir);
}
--------------------------- cut here finish ---------------------------
Non-interpolation was used and APIPVERSION variable is not defined.
After:
--------------------------- cut here start ---------------------------
--- aclocal-1.9.bad 2007-08-03 17:25:11.000000000 +0300
+++ aclocal-1.9 2007-08-03 17:22:45.000000000 +0300
@@ -29,7 +29,7 @@
BEGIN
{
- my $perllibdir = $ENV{'perllibdir'} || '/usr/local/share/automake at APIPVERSION@';
+ my $perllibdir = $ENV{'perllibdir'} || '/usr/local/share/automake' .
$ENV{'AUTOMAKE_VERSION'};
unshift @INC, (split ':', $perllibdir);
}
--------------------------- cut here finish ---------------------------
it looks fine.
--
Best regards,
Sergiy mailto:rendol at mail.zp.ua
More information about the freebsd-ports-bugs
mailing list