Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2007 17:27:47 +0300
From:      Sergiy Kazakov <rendol@mail.zp.ua>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   automake  bug?
Message-ID:  <382789756.20070803172747@mail.zp.ua>

next in thread | raw e-mail | index | archive | help
Hello freebsd-ports-bugs,

While 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@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@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@APIPVERSION@';
+  my $perllibdir = $ENV{'perllibdir'} || '/usr/local/share/automake' . $ENV{'AUTOMAKE_VERSION'};
   unshift @INC, (split ':', $perllibdir);
 }
--------------------------- cut here finish ---------------------------
it looks like ok.

-- 
Sincerely,
 Sergiy                          mailto:rendol@mail.zp.ua




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?382789756.20070803172747>