Sender: tim AT mxrelay DOT g-net DOT be Message-ID: <3BA05C69.B9B8F455@falconsoft.be> Date: Thu, 13 Sep 2001 09:12:41 +0200 From: Tim Van Holder Organization: Anubex (www.anubex.com) X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en, nl-BE, nl MIME-Version: 1.0 To: Bob Chapman , djgpp AT delorie DOT com Subject: Re: ANNOUNCE: Automake 1.5 References: <200109072035 DOT QAA31462 AT delorie DOT com> <9nmoqh$hrf$1 AT suaar1aa DOT prod DOT compuserve DOT com> <3B9F53DC DOT 4EBA8BA4 AT falconsoft DOT be> <9nnnbs$5j7$1 AT suaar1aa DOT prod DOT compuserve DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Bob Chapman wrote: > > > > > Can't locate strict.pm in @INC (@INC contains: \ > > > /dev/env/DJDIR/share/automake /dev/env/djdir/lib/perl5 \ > > > /dev/env/djdir/lib/perl5/site /dev/env/djdir/lib/perl5/site \ > > > c:/djgpp/lib/perl5/site .) \ > > > at /dev/env/DJDIR/share/automake/Automake/Struct.pm line 29. > > > > BEGIN failed--compilation aborted \ > > > at /dev/env/DJDIR/share/automake/Automake/Struct.pm line 29. > > > > Compilation failed in require at c:/djgpp/bin/automake line 39. > > > > BEGIN failed--compilation aborted at c:/djgpp/bin/automake line 39. > > > > > > > Very odd - you obviously have Perl, but it seems unable to find its own > > files. Its search path seems correct as well. > > What version of perl do you have installed? The later the better; 5.6.x > > recommended, though not required. > > Do you have a strict.pm file anywhere on your disk? > > Thanks for the reply. I had installed (and redownloaded & reinstalled - x > many :) the contents of: > > -rw-r--r-- 1 REC root 4397999 Sep 11 23:13 perl561b.zip > > which installs a perl.exe that reports: > > > perl --version > This is perl, v5.6.1 built for dos-djgpp > . . . . . That should be fine. > After the installation (including the README.1st instructions :) there is a > 'strict.pm' file located as follows: > > > find /djgpp -iname 'strict*' > /djgpp/lib/perl5/strict.pm > > > vdir /djgpp/lib/perl5/strict.pm > -rw-r--r-- 1 REC root 2624 Apr 16 17:30 /djgpp/lib/perl5/strict.pm Looks fine as well; plus, this directory is included in the reported search path. The only strange thing is that it uses /dev/env/djdir/ instead of /dev/env/DJDIR/, but that shouldn't make a difference I think. try running 'perl foo.pl' with foo.pl containing print "\$djdir is \"$ENV{'djdir'}\".\n"; print "/dev/env/djdir/djgpp.env exist\n" if -r "/dev/env/djdir/djgpp.env"; print "\$DJDIR is \"$ENV{'DJDIR'}\".\n"; print "/dev/env/DJDIR/djgpp.env exists\n" if -r "/dev/env/DJDIR/djgpp.env"; If it does not print that /dev/env/djdir/djgpp.env exists, there may be a serious problem with the 5.6.1 package (it would prohibit packages using ANY perl library packages from working). In this case, you can probably work around it: there is a BEGIN block at the top of automake; adding unshift @INC, "c:/djgpp/lib/perl5"; at the end there should allow it to find strict.pm. > FWIW, aclocal appears to work. > > > aclocal --version > aclocal (GNU automake) 1.5 Not that surprising, since aclocal doesn't use any external procedures.