Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

djgpp install problems #685

Closed
p5pRT opened this issue Oct 5, 1999 · 2 comments
Closed

djgpp install problems #685

p5pRT opened this issue Oct 5, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 5, 1999

Migrated from rt.perl.org#1581 (status was 'resolved')

Searchable as RT1581$

@p5pRT
Copy link
Author

p5pRT commented Oct 5, 1999

From rewind@operamail.com

I've encountered a few problems installing perl500503 onto djgpp.
First of all, symlinking sh to bash didn't seem to work, so I copied bash.exe
to sh.exe within djgpp/bin/. But that's no big deal. After that, everything
pretty much goes smoothly until I run 'make install'. At the point where it
calls perl installperl, it tells me that my patchlevel doesn't match.
that is, this part​:
my $ver = $];
my $release = substr($ver,0,3); # Not used presently.
my $patchlevel = substr($ver,3,2);
die "Patchlevel of perl ($patchlevel)",
  "and patchlevel of config.sh ($Config{'PATCHLEVEL'}) don't match\n"
  if $patchlevel != $Config{'PATCHLEVEL'};
outputs this​:
Patchlevel of perl (5) and patchlevel of config.sh () don't match

Also, perl myconfig didn't work until I changed the first line of myconfig to
have the full path of sh.exe. When I ran it, it had blank spaces next to
patchlevel and subversion. Looking in config.sh, I find the correct numbers
next to patchlevel and subversion, namely '5' and '3'.

I can't install perl without solving this problem!
Help!
Thanks zillions,
Brian Stamper
rewind@​operamail.com

here's what I built djgpp with​:
from djgpp zip picker​:
v2/copying.dj DJGPP Copyright info 2 kb
v2/djdev202.zip DJGPP Basic Development Kit 1.4 mb
v2/faq211b.zip Frequently Asked Questions 551 kb
v2/readme.1st Installation instructions 14 kb
v2apps/rhide14b.zip RHIDE 1.6 mb
v2gnu/bnu281b.zip Basic assember, linker 1.8 mb
v2gnu/gcc2951b.zip Basic GCC compiler 1.7 mb
v2gnu/gpp2951b.zip C++ compiler 1.6 mb
v2gnu/lgpp295b.zip C++ libraries 484 kb
v2gnu/mak377b.zip Make (processes makefiles) 242 kb
v2gnu/txi312b.zip Info file reader
v2tk/allegro/alleg312.zip Allegro game library 1.4 mb
also add portion from perl readme.dos file
v2gnu/bsh1147b.zip
v2gnu/fil316b.zip
v2gnu/sed118b.zip
v2gnu/txt122b.zip
v2gnu/dif271b.zip
v2gnu/grep22b.zip
v2gnu/shl112b.zip
v2gnu/gwk303b.zip
v2misc/csdpmi4b.zip


Yo, visit my website​: http​://members.tripod.com/rewindsindex/

@p5pRT
Copy link
Author

p5pRT commented Oct 6, 1999

From [Unknown Contact. See original ticket]

hello again

I fixed the problem, but it is still a problem others will probably have.
The symlink problem was my fault, I did it in the wrong directory (duh.)
But more to the point, here's what I did​:
I started from scratch - I erased all folders/files of p500503 and djgpp, then
reinstalled all of that. I fixed a djgpp distribution error - I was using
lgpp295b.zip with gpp2951b, but there's an updated lgp2951b.zip which I used
this time. But I don't think this was the real problem.

When the configure script offered a shell exit to modify config.sh, I entered
!edit config.sh (I don't have vi)

Near the bottom of the document was a list of 'Variables propagated from
previous config.sh file.' Now remember, I had erased the previous config.sh
along with everything else. Here there were two lines that said PATCHLEVEL='',
mixed in with a few other lines that said patchlevel='5' (and the date and
subversion lines). I erased the PATCHLEVEL='' lines, saved config.sh, exited
edit and continued with the configure script. After that, 'make', 'make test',
and 'make install' all worked like they're supposed to. (Actually, make test
said op/stat FAILED AT TEST 2, but for some reason I'm not worried about
that.)

brian


Yo, visit my website​: http​://members.tripod.com/rewindsindex/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant