you might try *sh -x go build hello.go*
-x says trace the flow of the shell command

On Fri, 4 Jun 2021 at 18:15, Dave Jones <[email protected]> wrote:

> Hello, all.
> I have downloaded and installed the IBM 'golang' package here on my z/OS
> 2.44 USS system. However when I attempt to compile and run a very simple
> test program (hello.go which does exactly what you thing), I get the
> following message, which makes no sense to me as a lowly mainframe type
> person:
>
> IBMUSER:/u/ibmuser: >go build hello.go
> # command-line-arguments
> /u/dave/golang/usr/lpp/IBM/cvg/v1r16/go/pkg/tool/zos_s390x/link: running
> clang failed: exit status 127
> env: FSUM6196 bash: not executable: EDC5129I No such file or directory.
>
> There is a program named "clang" here:
> -rwxr-xr-x   1 OMVSKERN SYS1       11297 Mar 31 12:11
> /u/dave/golang/usr/lpp/IBM/cvg/v1r16/go/bin/clang
>
> and the $PATH is set to this:
> IBMUSER:/u/ibmuser: >echo $PATH
>
> /u/dave/golang/usr/lpp/IBM/cvg/v1r16/go/bin:/bin:.:/usr/sbin:/apps/zospt/bin:/usr/lpp/java/J8.0_64/bin
>
> I would like to buy a clue, please.
> Have a good weekend, too.
> DJ
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to