Mail Archives: djgpp-workers/1999/03/05/14:20:37
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 -