[Tcsh] tcsh on Z/OS

H.Merijn Brand h.m.brand at xs4all.nl
Wed Oct 2 08:47:32 UTC 2019

On Tue, 1 Oct 2019 19:59:50 -0400, Christos Zoulas
<christos at zoulas.com> wrote:

> The question is why is it not supported and what can we do to fix
> it... I.e. how does it fail to build?

1. Configure does not know about the system/architecture:

z-os:/VERSYSB/usr/local/src/tux/tcsh-6.21.00 508 > sh configure --prefix=/u/tux

trap: configure 2371: FSUM7327 signal number 13 not conventional
checking for a BSD-compatible install... ./install-sh -c
checking build system type... i370-ibm-openedition
checking host system type... i370-ibm-openedition
checking cached host tuple... ok
configure: error: Tcsh can't guess the configuration file name
for `i370-ibm-openedition' systems.
Check tcsh's `Ported' file for manual configuration instructions.

2. When making this combo similar to aix, like

  ## IBM OS/390 systems

I altered the Makefile to make the compiler do what was needed:

        -qlanglvl=extended:extc89:extc99 -qlongname -qxplink -qdll \
        -qfloat=ieee -qexportall -qhaltonmsg=3296:4108 \

then the start of the failures is

$  make
c99 -c -qlanglvl=extended:extc89:extc99 -qlongname -qxplink -qdll -qfloat=ieee -qexportall -qhaltonmsg=3296:4108 -DOEMVS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -D_SHR_ENVIRON -Wc,XPLINK,dll,EXPORTALL -I. -I. -D_PATH_TCSHELL='"/u/tux/bin/tcsh"'     sh.c
WARNING CCN3115 /usr/include/sys/socket.h:115   Duplicate type specifier "int" ignored.
WARNING CCN3137 /usr/include/sys/socket.h:115   Declaration must declare at least one declarator, tag, or the members of an enumeration.
ERROR CCN3296 ./sh.h:408   #include file <shadow.h> not found.
ERROR CCN3296 ./sh.h:411   #include file <auth.h> not found.
ERROR CCN3296 ./pathnames.h:36    #include file <paths.h> not found.
INFORMATIONAL CCN3684 ./sh.c:233   Exporting function main is not allowed.
CCN0793(I) Compilation failed for file ./sh.c.  Object file not created.
make: *** [Makefile:466: sh.o] Error 12

Any hints or suggestions or shall I dig on myself?

> christos
> > On Oct 1, 2019, at 9:57 AM, H.Merijn Brand <h.m.brand at xs4all.nl>
> > wrote:
> > 
> > Signed PGP part
> > What is the current preferred way of feedback and questions?
> > I got a bounce on "TCSH Development Team" <tcsh at mx.gw.com>
> > Is tcsh at astron.com current? (then I will re-subscribe)
> > 
> > 
> > I now have access to a z/OS (os390 EBCDIC) system and it comes with
> > a tcsh \o/ \o/ \o/ (the only other available sh is the default
> > /bin/sh, probably a POSIX-ish sh: no bash, no ksh, no zsh)
> > 
> > But the version available is "just" a 6.08.02
> > version tcsh 6.08.02 (Astron) 1998-11-24 (z/OS-ibm-posix) options
> > 8b,nls,bye,al,kan,sm,ng,nd,dspm
> > 
> > I sure like some of the newer features
> > 
> > I copies the sources of 6.21.00 over to the system, only to find
> > out it is not supported anymore.
> > 
> > What was the last tcsh version that supported os390?  

H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.31      porting perl5 on HP-UX, AIX, and Linux
https://useplaintext.email  https://tux.nl  http://www.test-smoke.org
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20191002/fd11666a/attachment.asc>

More information about the Tcsh mailing list