X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: Automake broken - cannot find strict.pm ?? Date: Wed, 20 Mar 2002 20:26:56 +0000 Lines: 41 Message-ID: <3C98F090.2444254A@phekda.freeserve.co.uk> References: <3c97c9ca$0$12697$9b622d9e AT news DOT freenet DOT de> NNTP-Posting-Host: modem-185.tellurium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg3.svr.pol.co.uk 1016656628 20948 62.136.43.185 (20 Mar 2002 20:37:08 GMT) NNTP-Posting-Date: 20 Mar 2002 20:37:08 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Hans-Bernhard Broeker wrote: > > deckerben wrote: > > I had to copy 2 megabytes of scripts out of [djdir]/lib/perl5 into > > [djdir]/share/automake. The automake script SAID that it was seraching my > > include path: > > > bash-2.04$ automake --version > [...] > > as you see, /lib/perl5 was already in the path. > > Yes. But $(DJDIR)/lib/perl5 wasn't, and that's the root of your > problem. Did you build your Perl yourself, or did this happen with > the DJGPP binary .zip of it? I've experienced weird problems like this with Perl as well. I think I reported the problems to djgpp-workers, but I can't remember. I remember having to run some regexp on @INC to convert the paths somehow. Oh, here we go - I added the foreach ... { ... } loop in the BEGIN below to the start of $DJDIR/bin/automake: BEGIN { my $prefix = "/dev/env/DJDIR"; my $perllibdir = $ENV{'perllibdir'} || "${prefix}/share/automake"; unshift @INC, "$perllibdir"; foreach $inc (@INC) { $inc =~ s!/djdir/!/DJDIR/!g; } } But it looks like this replacement isn't needed for deckerben, since DJDIR is always uppercase is in his report. deckerben, which version of Perl are you running? Bye, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]