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

[patch perl@8102] dos/djgpp update

Thread Next
From:
Laszlo Molnar
Date:
December 15, 2000 20:24
Subject:
[patch perl@8102] dos/djgpp update
Message ID:
20001216014052.A335@freemail.hu
Hi p5p,

First some file name problems on 8.3 filesystems. I do not really care
about these, because perl still works. And I guess few people would use
this unicode + encode stuff on plain dos anyway.

perl/vos/config.ga-h -> [skipped]
perl/vos/config.alpha-h -> [skipped]
perl/pod/perltootc.pod -> [skipped]
perl/lib/unicode/In/MiscellaneousTechnical.pl -> [skipped]
perl/lib/unicode/In/LatinExtendedAdditional.pl -> [skipped]
perl/lib/unicode/In/LatinExtended-B.pl -> [skipped]
perl/lib/unicode/In/EnclosedCJKLettersandMonths.pl -> [skipped]
perl/lib/unicode/In/CombiningMarksforSymbols.pl -> [skipped]
perl/lib/unicode/In/CombiningHalfMarks.pl -> [skipped]
perl/lib/unicode/In/CJKUnifiedIdeographsExtensionA.pl -> [skipped]
perl/lib/unicode/In/CJKCompatibilityIdeographs.pl -> [skipped]
perl/lib/unicode/In/CJKCompatibilityForms.pl -> [skipped]
perl/lib/unicode/In/BopomofoExtended.pl -> [skipped]
perl/lib/unicode/In/ArabicPresentationForms-B.pl -> [skipped]
perl/hints/sunos_4_1.sh -> [skipped]
perl/hints/sco_2_3_4.sh -> [skipped]
perl/hints/sco_2_3_3.sh -> [skipped]
perl/hints/sco_2_3_2.sh -> [skipped]
perl/hints/sco_2_3_1.sh -> [skipped]
perl/ext/Encode/Encode/macRomania.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-9.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-8.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-7.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-6.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-5.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-4.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-3.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-2.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-16.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-15.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-14.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-13.enc -> [skipped]
perl/ext/Encode/Encode/iso8859-10.enc -> [skipped]
perl/ext/Encode/Encode/iso2022-kr.enc -> [skipped]

Otherwise it was possible to build perl in my dosemu session, using the
patches below.

Apply with: patch -p0
Files:
        djgpp/config/over
        t/base/commonsense.t


Laszlo

Perl reported to build OK on this system.
---
Flags:
    category=install
    severity=none
---
Site configuration information for perl v5.7.0:

Configured by ml1050 at Fri Dec 15 21:10:30  2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=dos, osvers=djgpp, archname=dos-djgpp
    uname='ibmpcdos pc 6 00 pc '
    config_args='-dEs -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing',
    optimize='-O2 -malign-loops=2 -malign-jumps=2 -malign-functions=2',
    cppflags='-DPERL_EXTERNAL_GLOB -fno-strict-aliasing'
    ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    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=c:/djgpp/lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=c:/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=''

Locally applied patches:
    DEVEL8101

---
@INC for perl v5.7.0:
    lib
    ./lib/perl5
    ./lib/perl5/site
    ./lib/perl5/site
    c:/djgpp/lib/perl5/site
    .

---
Environment for perl v5.7.0:
    HOME=c:/djgpp
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=c:\djgpp\bin;c:\util;c:\shez
    PERL_BADLANG (unset)
    SHELL=c:/djgpp/bin/sh.exe



--8<--

--- djgpp/config.over~	Tue Dec 12 04:29:46 2000
+++ djgpp/config.over	Fri Dec 15 21:06:05 2000
@@ -35,7 +35,9 @@
      -e 's=File/=='\
      -e 's=glob=='\
      -e 's=Glob=='\
-     -e 's/storable/Storable/'
+     -e 's/storable/Storable/'\
+     -e 's/encode/Encode/'\
+     -e 's=filter/util/call=Filter/Util/Call='
 }
 static_ext=$(repair "$static_ext")
 extensions=$(repair "$extensions")
--- t/base/commonsense.t~	Fri Dec 15 21:47:12 2000
+++ t/base/commonsense.t	Fri Dec 15 21:33:09 2000
@@ -15,7 +15,8 @@
   print "Bail out! Perl configured without IO module\n";
   exit 0;
 }
-if (($Config{'extensions'} !~ /\bFile\/Glob\b/) ){
+# hey, DOS users do not need this kind of common sense ;-)
+if ($^O ne 'dos' && ($Config{'extensions'} !~ /\bFile\/Glob\b/) ){
   print "Bail out! Perl configured without File::Glob module\n";
   exit 0;
 }

End Of Patch


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