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
Philip Newton
March 15, 2000 12:27
[ID 20000315.017] Not OK: perl 5.6.0 RC2 on dos-djgpp
Message ID:
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);

Here's what myconfig says:
bash$ ./myconfig
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=dos, osvers=djgpp, archname=dos-djgpp
    uname='ms-dos hare 7 10 pc '
    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
    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'
    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:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-object
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cl.exe', optimize='-Od -MD -DNDEBUG -TP -GX', gccversion=
    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'
    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:

@INC for perl 5.00503:

Environment for perl 5.00503:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Philip Newton <>

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About