www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/05/14:20:37

Sender: richdawe AT bigfoot DOT com
Message-ID: <36DF3446.D7E17518@meridian22.net>
Date: Fri, 05 Mar 1999 01:32:54 +0000
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: Perl 5.004/5.005 compilation problems
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990304120751 DOT 1354L-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

	I have solved the problems I had with the Perl configure script. It seems the
version of bash 1.1.47 I was using was old. As soon as I replaced it with the
latest one, it worked fine. I'm sorry for any time anybody's wasted on this.

> I think I know what happens here.  The ported Bash runs parenthesized
> commands in the same process (because there's no fork), so any changes
> done there propagate into the script.  Replace (foo) > /dev/null with
> `foo > /dev/null`, and it should work.
> 
> Laszlo, how does this work for you?  (I haven't myself built this
> version of Perl yet.)

	This change didn't make any difference with the bad bash. With the latest
bash 1.1.47, the unchanged script works fine. I haven't tried the change you
suggest with the latest bash, however.
 
> I don't see anything bad here.  Which line exactly crashes?

	The line that crashed was the 'chmod +x xenix' just after the Xenix detection
code. This and another error executing './osf1' made me think that something
was wrong with the shell, as the errors didn't seem connected.

	After installing the latest bash, the configure went smoothly under Win95!
Thanks to Laszlo for making it so easy. I never thought I'd be able to build
Perl with a DOS compiler. However, I do have a couple of queries about the
configure defaults:

1. It suggests '/usr/ucb/more' as the pager. You cannot change this to e.g.
'e:/djgpp/bin/less.exe', since it objects to the drive at the start.

2. It suggests that the man pages be put in $DJDIR/man. Other packages I've
used put them in $DJDIR/share/man. Which is the preferred directory?

	I haven't managed to compile Perl with gcc 2.8.0 yet as it complains about
'dev_t' in 'sys/stat.h', but I'll look into that later.

	Thanks & sorry again for wasting your time.

-- 
==============================================================================
         Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
           richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019