gmake (perl-5.8.6) fails on z/OS

[email protected] (rajarshi das)
Newsgroups perl.unicode,perl.perl5.porters
Message-ID <[email protected]>
Hi,
I made the following modifications to utf8.c :
#ifdef EBCDIC
      uv = NATIVE_TO_UTF(uv);
#endif

I get the following output from gmake :
----------------------------------------------
`sh  cflags "optimize='-g'" utf8.o`  utf8.c
          CCCMD =  c89 -DPERL_CORE -c -DMAXSIG=38
-DOEMVS -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED
-D_ALL_SOURCE -DYYDYNAMIC -DDEBUGGING
-I/usr/local/include -W 0,float(ieee) -g
rm -f libperl.a
/bin/ar rcu libperl.a perl.o  gv.o toke.o perly.o op.o
pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o
run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o
doop
.o doio.o regexec.o utf8.o taint.o deb.o universal.o
xsutils.o globals.o perlio.o perlapi.o numeric.o
locale.o pp_pack.o pp_sort.o
c89 -Wl,EDIT=NO -L/usr/local/lib -o miniperl \
    miniperlmain.o opmini.o libperl.a -lm -lc
./miniperl -w -Ilib -MExporter -e '<?>' || gmake
minitest
./miniperl -Ilib configpm configpm.tmp
Malformed UTF-8 character (unexpected continuation
byte 0x54, with no preceding start byte) in printf at
configpm line 63.
Malformed UTF-8 character (unexpected continuation
byte 0x68, with no preceding st
art byte) in printf at configpm line 63.
....
...
"no" not allowed in expression at configpm.tmp line
20, near ""%"
configpm.tmp has too many errors.
Compilation failed in require at configpm line 673.
gmake: *** [lib/Config.pm] Error 113
---------------------------------------------------

I have attached the configpm file. 

I tried redoing it with a clean build, but it still
fails. 

Why does configpm generate errors ? 

Thanks in advance,
Rajarshi.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.