develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000315.017] Not OK: perl 5.6.0 RC2 on dos-djgpp

Thread Next
From:
Philip Newton
Date:
March 15, 2000 12:27
Subject:
[ID 20000315.017] Not OK: perl 5.6.0 RC2 on dos-djgpp
Message ID:
200003152027.VAA93523@smtp1.nikoma.de
This is a build failure report for perl from @localhost,
generated with the help of perlbug 1.26 running under perl 5.00503.


-----------------------------------------------------------------
[Please enter your report here]

Note that I'm submitting this "NOK" report with perl 5.005_03's
perlbug since perl-5.6.0-RC2 didn't even build.

Make breaks off with "Parse error before `long'" in a system include
file. The three lines in question seem OK to me -- and there's no
"long" there in any event.

These used to run through just fine in 5.5.6[67]0 in dos_djgpp
(though trouble came later on, in `make test` at the latest).

bash$ make
`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
          CCCMD =  gcc -DPERL_CORE -c -DPERL_EXTERNAL_GLOB -fno-strict-aliasing
-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2
In file included from perl.h:2086,
                 from miniperlmain.c:12:
d:/djgpp/include/math.h:142: parse error before `long'
d:/djgpp/include/math.h:143: parse error before `long'
d:/djgpp/include/math.h:144: parse error before `long'
make.exe: *** [miniperlmain.o] Error 1
bash$ sed -n -e '142,144p' /djgpp/include/math.h
extern int isinff(float);
extern int isnanf(float);
extern int finitef(float);
bash$


Here's what myconfig says:
bash$ ./myconfig
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=dos, osvers=djgpp, archname=dos-djgpp
    uname='ms-dos hare 7 10 pc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='gcc', optimize='-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2', gccversion=2.95.2 19991024 (release)
    cppflags='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing'
    ccflags ='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-s'
    libpth=d:/djgpp/lib
    libs=-lm -lc
    libc=d:/djgpp/lib/libc.a, so=none, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
    cccdlflags='', lddlflags=''



[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl 5.00503:

Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-object
    uname=''
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cl.exe', optimize='-Od -MD -DNDEBUG -TP -GX', gccversion=
    cppflags='-DWIN32'
    ccflags ='-Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT  -DHAVE_DES_FCRYPT -DPERL_OBJECT'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"D:\Perl\lib\CORE" -machine:x86'
    libpth="D:\Perl\lib\core" 
    libs= oldnames.lib kernel32.lib user32.lib gdi32.lib  winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib  
oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib PerlCRT.lib
    libc=D:\Perl\lib\CORE\PerlCRT.lib, so=dll, useshrplib=yes, libperl=perlcore.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"D:\Perl\lib\CORE" -machine:x86'

Locally applied patches:
    ACTIVEPERL_LOCAL_PATCHES_ENTRY

---
@INC for perl 5.00503:
    D:/Perl/lib
    D:/Perl/site/lib
    .

---
Environment for perl 5.00503:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=D:\PERL\BIN;D:\BIN;D:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;D:\PROGRA~1\PGP
    PERL_BADLANG (unset)
    SHELL=d:/djgpp/bin/sh.exe

-- 
Philip Newton <Philip.Newton@gmx.net>

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About