delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/03/15:27:38

Sender: richdawe AT bigfoot DOT com
Message-ID: <36DD9A38.8A754FF4@meridian22.net>
Date: Wed, 03 Mar 1999 20:23:20 +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 AT delorie DOT com
Subject: Re: Perl 5.004/5.005 compilation problems
References: <36D9A99A DOT BEBD4116 AT meridian22 DOT net> <19990301095214 DOT B5710 AT duna91 DOT eth DOT ericsson DOT se> <36DAF8AA DOT 6D20BB3A AT meridian22 DOT net> <19990302165901 DOT B7227 AT duna91 DOT eth DOT ericsson DOT se>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Laszlo Molnar wrote:
> Well, this can be a problem. Try to configure the stuff from plain dos.
> The win9x build is a little bit broken in perl < 5.005_03 (since I only
> tried it on dos :-)

	OK, I tried it on DOS, but it crashed my computer one time, spontaneous
rebooted another :(
 
> Hmm, I think this can be another problem. go32.exe in djdev201 has some
> problems under win9x. I suggest to upgrade go32.exe to 2.02, and try
> again.

	OK, I tried that, but it does the same things. I'll describe what I've tried
doing since with Perl 5.005:

	I have all the required packages installed, although the versions are
different on the following:

	bnu281b
	gcc280b
	mak377b
	grep20b

BTW your docs refer to gawk303b, but it's called gwk303b on my Simtelnet
mirror.

	When I run the djgpp/configur(e).bat, this is what I get:

	Running sed...
	Running Configure...
	Configure: mkdir: command not found
	Configure: UU: No such file or directory (ENOENT)
	Configure: sed: command not found
	Configure: sed: command not found
	Configure: cat: command not found

If I edit the Configure script and put in 'pwd' here and there, it appears
that the PATH gets cleared by the ksh detection routine. So, I comment this
out (see the diff at the end) and run djgpp/configur(e).bat again. I then get
the following error in Windows:

	Invalid instruction at 6568:7547

and then the DOS box closes. Under DOS with doskey running I got the following
error:

	Invalid opcode in RMCB at eip=3f000, flags=3086
	... ... ... error=0006
	Stack fault in RMCB at eip=3f03a, flags=3097
	... ... ... error=0000

Under DOS without doskey running it just rebooted the computer. The only other
driver I booted with was himem.sys.

	I wonder if the problem with ksh routine is because the path separator is
misdetected.

	Anyhow, I then commented out the Venix detection code and the
djgpp/configur(e).bat got a little further before crashing. It detected
libsocket's library OK. It got as far as making a suggestion for "What
optimizer/debugger flags should be used?" and then crashed as per usual.

[Please see the diff for Configure at the end of this mail.]

	One thing I noticed while running it under DOS was that it was detecting
Win95's find & sort commands because c:\windows\command was in my path before
e:\djgpp\bin. Will this make any difference? I changed it anyway, but I didn't
notice anything different.

	Also, I have Activeware's Win32 Perl installed, and the Configure script
detected it. Will this make any difference?

	Would it help if I tried a clean install of DJGPP & others and then tried it?

	Here's the diff:

126,128c126,128
< if (PATH=.; alias -x) >/dev/null 2>&1; then
<               inksh=true
< fi
---
> #if (PATH=.; alias -x) >/dev/null 2>&1; then
> #        inksh=true
> #fi
3013,3023c3013,3023
< if test -f /venix; then
<       echo "Actually, this looks more like a VENIX system..."
<       echo exit 0 >venix
< else
<       echo " "
<       if ./xenix; then
<               : null
<       else
<               echo "Nor is it Venix..."
<       fi
< fi
---
> #if test -f /venix; then
> #    echo "Actually, this looks more like a VENIX system..."
> #    echo exit 0 >venix
> #else
> #    echo " "
> #    if ./xenix; then
> #        : null
> #    else
> #        echo "Nor is it Venix..."
> #    fi
> #fi

-- 
==============================================================================
         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