WSL Ubuntu 20.04
92 cd /usr/pkgsrc/bootstrap/
93 which g++
94 which c++
95 which ccc
96 apt-get install gcc
97 sudo apt-get install gcc
98 sudo apt-get install g++
99 apt-get update
100 sudo apt-get update
CF-SV8-G5LVC@makoto 21:53:54/200621(..pkgsrc/bootstrap)% sudo ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkgdb
ERROR: Your shell's echo command is not BSD-compatible.
ERROR: Please select another shell by setting the environment
ERROR: variable SH.
CF-SV8-G5LVC@makoto 21:58:32/200621(..pkgsrc/bootstrap)% fc -fild -100
1 2020-06-21 21:54 sudo ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkgdb\n
2 2020-06-21 21:55 sudo env SH=/usr/bin/ksh ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkgdb\n
3 2020-06-21 21:55 which cc
4 2020-06-21 21:55 which gcc
5 2020-06-21 21:55 apt-get install gcc
6 2020-06-21 21:55 sudo apt-get ksh
7 2020-06-21 21:56 sudo apt-get install ksh
8 2020-06-21 21:56 sudo env SH=/usr/bin/ksh ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkgdb\n
9 2020-06-21 21:57 sudo rm -rf work
10 2020-06-21 21:57 sudo env SH=/usr/bin/ksh ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkgdb\n
11 2020-06-21 21:57 sudo apt-get install gcc
12 2020-06-21 21:58 which gcc
13 2020-06-21 21:58 fc -fild -100
14 2020-06-21 21:59 sudo env SH=/usr/bin/ksh ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkgdb\n
15 2020-06-21 21:59 sudo rm -rf work
16 2020-06-21 21:59 sudo env SH=/usr/bin/ksh ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkgdb\n
===> running: /usr/bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g root /usr/pkg/etc
===========================================================================
Please remember to add /usr/pkg/bin to your PATH environment variable
and /usr/pkg/man to your MANPATH environment variable, if necessary.
An example mk.conf file with the settings you provided to "bootstrap"
has been created for you. It can be found in:
/usr/pkg/etc/mk.conf
You can find extensive documentation of the NetBSD Packages Collection
in /usr/pkgsrc/doc/pkgsrc.txt.
Thank you for using pkgsrc!
===========================================================================
===> bootstrap started: Sun Jun 21 21:59:19 JST 2020
===> bootstrap ended: Sun Jun 21 22:15:52 JST 2020
CF-SV8-G5LVC@makoto 22:15:52/200621(..pkgsrc/bootstrap)%
|