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

NOT OK: perl-5.8.0-RC4 on dos-djgpp #6684

Closed
p5pRT opened this issue Aug 6, 2003 · 5 comments
Closed

NOT OK: perl-5.8.0-RC4 on dos-djgpp #6684

p5pRT opened this issue Aug 6, 2003 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 6, 2003

Migrated from rt.perl.org#23232 (status was 'stalled')

Searchable as RT23232$

@p5pRT
Copy link
Author

p5pRT commented Aug 6, 2003

From Philip.Newton@gmx.net

I tried to build RC4 on DJGPP.

The first hurdle was that djgpp/configure.bat "doesn't work". I
"executed" it manually (using /dev/brain as $SHELL, as it were).
(That seems to be because it's in Unix LF format; converting it
to DOS CRLF format makes it work.)

Then I got a warning​:

d​:/djgpp/bin/sed.exe​: can't read ext/GDBM_File/gdbm.t​: No such file or directory (ENOENT)

Next, I ran into lots and lots of warnings; first during certain
Configure tests and then at every compiled source file. These say​:

cc1.exe​: warning​: -malign-loops is obsolete, use -falign-loops
cc1.exe​: warning​: -malign-jumps is obsolete, use -falign-jumps
cc1.exe​: warning​: -malign-functions is obsolete, use -falign-functions

Hm, those appear to come from hints/dos_djgpp.sh. Bad Hints file.

I'm using​:

sh-2.04$ gcc -v
Reading specs from d​:/djgpp/lib/gcc-lib/djgpp/3.21/specs
Configured with​: /devel/gnu/gcc/3.2/gnu/gcc-3.21/configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR --disable-nls
Thread model​: single
gcc version 3.2.1

The questions "Pathname where the public executables will reside?"
and "Pathname where the site-specific manual pages should be
installed?" and "Pathname where the site-specific library manual
pages should be installed?" don't have a default value so you have
to type one in rather than being able to accept the default with
<Return>.

Configure also complains about​:

uname() was found, but you're running xenix, and older versions of xenix
have a broken uname(). If you don't really know whether your xenix is old
enough to have a broken system call, use the default answer.

Is your uname() broken? [y]

I'm not sure where it gets the idea that I'm running Xenix.
Hmm... ./xenix exists and consists solely of 'exit 1', yet
executing './xenix; echo $?' gives '0'.

Then 'make' failed after building miniperl​:

gcc -s -o miniperl \
  miniperlmain.o opmini.o libperl.a -lsocket -lm -lc
./miniperl -w -Ilib -MExporter -e '<?>' || d​:/djgpp/bin/make.exe minitest
make.exe​: [extra.pods] Error 1 (ignored)
./miniperl -Ilib configpm configpm.tmp
Perl lib version (5_8_1) doesn't match executable version (5.8.1) at configpm.tmp line 33.
Compilation failed in require at configpm line 662.
make.exe​: *** [lib/Config.pm] Error -1

I grepped for '5_8_1' and found it only in three files​: config.sh
has "version='5_8_1'" and "xs_apiversion='5_8_1'", config.h has
'#define PERL_XS_APIVERSION "5_8_1"', and configpm.tmp, the
failing file, has this​:

die "Perl lib version (5_8_1) doesn't match executable version ($])"
  unless $^V;

my $exever = sprintf("%vd",$^V);
$exever eq "5_8_1" # <-- line 33
  or die "Perl lib version (5_8_1) doesn't match executable version ($exever)";

I'm not sure where this 5_8_1 comes from, though. Any ideas?

Running a clean Configure turns it up in config.sh already.

Cheers,
Philip

@p5pRT
Copy link
Author

p5pRT commented Aug 6, 2003

From @JohnPeacock

Philip Newton (via RT) wrote​:

'#define PERL_XS_APIVERSION "5_8_1"', and configpm.tmp, the
failing file, has this​:

<snip>

I'm not sure where this 5_8_1 comes from, though. Any ideas?

configpm.tmp is created from configpm by miniperl. But apparently config.sh
already has the underscores, so the fact that configpm.tmp is failing is a false
lead. It looks like Configure is messing up config.sh; I'm sorry, I am past the
point where I know what is going on here...

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748

@p5pRT
Copy link
Author

p5pRT commented Feb 15, 2005

From @richardfoley

Old installation - superceded by more recent releases.

@p5pRT
Copy link
Author

p5pRT commented Feb 15, 2005

@richardfoley - Status changed from 'open' to 'stalled'

@pne
Copy link

pne commented Feb 3, 2020

Hi - OP here. As far as I'm concerned, this ticket can simply be closed. (I don't use djgpp any more and, as noted, 5.8.x is ancient.)

@jkeenan jkeenan closed this as completed Feb 3, 2020
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

3 participants