I'm trying to bootstrap pkgsrc in a RHEL 7 environment and libnbcompat configure and build step (a child of cwrappers-20180325) is failing with:
/usr/bin/env: domain: no such file or directory
My environment is RHEL 7 on Azure (I didn't install it). I did install devtoolset-8 and ncurses-devel via yum default RHEL repos.
uname -a:
Linux HOSTNAME 3.10.0-1062.9.1.el7.x86_64 #1 SMP Mon Dec 2 08:31:54 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
My bootstrap command:
$ scl enable devtoolset-8 bash
$ cd /mnt/datadisk01/pkg/src/bootstrap
$ ./bootstrap --abi 64 --make-jobs 4 --pkgdbdir /mnt/datadisk01/pkg/var/db/pkg --pkginfodir ../../info --pkgmandir ../../man --prefix /mnt/datadisk01/pkg --sysconfdir /mnt/datadisk01/pkg/etc --unprivileged --varbase /mnt/datadisk01/pkg/var
I tried using devtoolset-9 also, did not seem to work either...
Can I get a hint on what I might need to patch?
Thanks