bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot build automake from CVS


From: John R. Jackson
Subject: Cannot build automake from CVS
Date: Fri, 06 Jul 2001 17:18:03 -0500

The Amanda project (www.amanda.org) is having a problem with automake
built around 6-Apr-2001.  In one of our directories we have (in part):

  if WANT_CHIO_SCSI
  CHIO_SCSI = chg-scsi-chio
  endif

  if WANT_CHG_SCSI
  libexec_PROGRAMS =      chg-scsi $(CHIO_SCSI)
  endif

In Makefile.in this has turned into:

  @address@hidden = chg-scsi-chio

  @address@hidden = chg-scsi $(CHIO_SCSI)
  ...
  @address@hidden =
  @address@hidden =
  PROGRAMS = $(libexec_PROGRAMS)

but that last part is wrong.  If WANT_CHG_SCSI is true but WANT_CHIO_SCSI
is false, it resets libexec_PROGRAMS to nothing and chg-scsi does not
get installed.

My first thought was to grab the latest CVS of automake and try it, but
it will not build:

  ===>  Building for automake-1.4-cvs
  Making all in .
  cd . && /opt/ports/packages/All/automake/work/automake-1.4-cvs/aclocal 
--acdir=m4 
  cd . &&  /opt/ports/packages/All/automake/work/automake-1.4-cvs/automake 
--amdir=. --gnits  Makefile
  Can't locate Automake/Struct.pm in @INC (@INC contains: 
/opt/automake-1.4-cvs/share/automake /opt/perl-5.6.0/lib/5.6.0/sun4-solaris 
/opt/perl-5.6.0/lib/5.6.0 /opt/perl-5.6.0/lib/site_perl/5.6.0/sun4-solaris 
/opt/perl-5.6.0/lib/site_perl/5.6.0 /opt/perl-5.6.0/lib/site_perl .) at 
/opt/ports/packages/All/automake/work/automake-1.4-cvs/automake line 39.
  BEGIN failed--compilation aborted at 
/opt/ports/packages/All/automake/work/automake-1.4-cvs/automake line 39.

I notice the last ChangeLog entry says something about moving Automake
to lib, and sure enough, that's where Automake/Struct.pm is now.  But
it is not in @INC so perl cannot find it.

This last problem needs to be resolved first, then I'll try the latest
automake against our Makefile.am and let you know if the original
libexec_PROGRAMS problem is still there.

John R. Jackson, Technical Software Specialist, address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]