Re: IO-Tty-1.02 on z/os
[email protected] (Nick Ing-Simmons)
| Newsgroups | perl.unicode,perl.mvs,perl.perl5.porters |
|---|---|
| Message-ID | <[email protected]> |
Mohammad Yaseen <[email protected]> writes: >I'm trying to build IO-Tty-1.02 on z/os using perl-5.8.7, i'm getting this error messages > > Now let's see what we can find out about your system >(logfiles of failing tests are available in the conf/ dir)... >FSUM7332 syntax error: got (, expecting Newline > > ERROR: cannot run the configured compiler 'c89' >(see conf/compilerok.log). Please fix this by adjusting >perls Config.pm, creating a symlink to the right location >or maybe by just adding it to your PATH. You could also build >perl yourself. > > Can anyone suggest how to resolve this problem? The error message just did ;-) To build this module you needs a C compiler. If you haven't got one you are stuck. Perl records which C compiler was used to build _perl_ in Config.pm when you build XS extensions Makefile.PL etc. use the name stored there as the C compiler. If you _do_ have a C compiler you can - change your shell's PATH variable so that the compiler as named in Config.pm can be found. - edit Config.pm to point at where compiler is. - Build your own perl with _your_ compiler so that the new perl will have right location in its Config.pm