2013-03-08 :-(
_ *BSD on PlayStation
日本ではあまり馴染みのない企業名や,大企業であっても業界関係者でなければ知らない企業名が多いかもしれません。日本でも名の通った企業で,すぐに確認できるところだと,ソニー・コンピュータエンタテインメントのPlayStation 3やPlayStation Vitaといったゲーム・ハードウェアでFreeBSDが活用されているというのが有名でしょうか。
次のライセンス表記のページなどで確認できます。
ということで以下の URI
11. NetBSD
10. NetBSD
NetBSD もあった。
YAML とか Mono も使ってるんですなあ。
_ [cygwin][pkgsrc]Cygwin is now in pkgsrc supported platform
というわけでやってみる。
環境
- Microsoft Windows 7 64bit
- cygwin( base と devel をインストールしてある )
取得
いつもどおりに current を取得
% export CVS_RSH="ssh" % export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot" % cvs co -P pkgsrc
bootstrap
最初 mintty.exe を「管理者として実行」して bootstrap したら怒られた。
% cd pkgsrc/pkgsrc % ./bootstrap : ===> running: /usr/bin/sh /home/public/pkgsrc/bootstrap/work/bin/install-sh -c -o 1000 -g 513 -m 755 /home/public/pkgsrc/bootstrap/work/pkg_install/admin/pkg_admin /home/public/pkgsrc/bootstrap/work/sbin/pkg_admin ===> running: /usr/bin/sh /home/public/pkgsrc/bootstrap/work/bin/install-sh -c -o 1000 -g 513 -m 755 /home/public/pkgsrc/bootstrap/work/pkg_install/create/pkg_create /home/public/pkgsrc/bootstrap/work/sbin/pkg_create ===> running: /usr/bin/sh /home/public/pkgsrc/bootstrap/work/bin/install-sh -c -o 1000 -g 513 -m 755 /home/public/pkgsrc/bootstrap/work/pkg_install/info/pkg_info /home/public/pkgsrc/bootstrap/work/sbin/pkg_info ===> Installing packages ===> running: (cd /home/public/pkgsrc/pkgtools/bootstrap-mk-files && /home/public/pkgsrc/bootstrap/work/bin/bmake USE_DESTDIR=no -DPKG_PRESERVE MAKECONF=/home/public/pkgsrc/bootstrap/work/mk.conf install) ===> Installing dependencies for bootstrap-mk-files-20120415 ===> Overriding tools for bootstrap-mk-files-20120415 ===> Extracting for bootstrap-mk-files-20120415 ===> Patching for bootstrap-mk-files-20120415 ===> Creating toolchain wrappers for bootstrap-mk-files-20120415 ===> Configuring for bootstrap-mk-files-20120415 cd /home/public/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20120415; for file in bsd.* sys.mk; do test ! -f mods/Cygwin.$file || /bin/cp -f mods/Cygwin.$file /home/public/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20120415/$file; done cd /home/public/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20120415; if test -f mods/Cygwin.bsd.own.mk.in; then own_mk=mods/Cygwin.bsd.own.mk.in; else own_mk=mods/bsd.own.mk.in; fi; /bin/sed -e 's|@ROOT_GROUP@|'None'|g' -e 's|@ROOT_USER@|'rin'|g' -e 's|@SYSCONFDIR@|'/home/rin//pkg/etc'|g' $own_mk > bsd.own.mk ===> Installing for bootstrap-mk-files-20120415 WARNING: Your umask is ``0022''. WARNING: If this is not desired, set it to an appropriate value (002) and install WARNING: this package again by ``/home/public/pkgsrc/bootstrap/work/bin/bmake deinstall reinstall''. => Creating installation directories cd /home/public/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20120415 && for file in bsd.* sys.mk; do /bin/install -c -o rin -g None -m 644 $file /home/rin//pkg/share/mk/$file; done => Automatic manual page handling ▒▒▒▒▒ȃX▒C▒b▒`▒ł▒▒B *** Error code 1 Stop. bmake: stopped in /home/public/pkgsrc/pkgtools/bootstrap-mk-files *** Error code 1 Stop. bmake: stopped in /home/public/pkgsrc/pkgtools/bootstrap-mk-files *** Error code 1 Stop. bmake: stopped in /home/public/pkgsrc/pkgtools/bootstrap-mk-files ===> exited with status 1 aborted.
obache さんが「Cygwin Terminalを右クリックしろ」と言っているので正攻法で c:\cygwin\cygwin.bat を「管理者として実行」して bootstrap したらイケた。
: => Automatic manual page handling => Running POST-INSTALL script actions => Please note the following: =========================================================================== $NetBSD: MESSAGE,v 1.5 2009/02/02 12:34:59 joerg Exp $ You may wish to have the vulnerabilities file downloaded daily so that it remains current. This may be done by adding an appropriate entry to a user's crontab(5) entry. For example the entry # download vulnerabilities file 0 3 * * * /usr/pkg/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1 will update the vulnerability list every day at 3AM. You may wish to do this more often than once a day. In addition, you may wish to run the package audit from the daily security script. This may be accomplished by adding the following lines to /etc/security.local if [ -x /usr/pkg/sbin/pkg_admin ]; then /usr/pkg/sbin/pkg_admin audit fi Alternatively this can also be acomplished by adding an entry to a user's crontab(5) file. e.g.: # run audit-packages 0 3 * * * /usr/pkg/sbin/pkg_admin audit Both pkg_admin subcommands can be run as as an unprivileged user, as long as the user chosen has permission to read the pkgdb and to write the pkg-vulnerabilites to /var/db/pkg. The behavior of pkg_admin and pkg_add can be customised with pkg_install.conf. Please see pkg_install.conf(5) for details. If you want to use GPG signature verification you will need to install GnuPG and set the path for GPG appropriately in your pkg_install.conf. =========================================================================== => Registering installation for pkg_install-20130131nb1 ===> running: /usr/bin/sh /home/public/pkgsrc/bootstrap/work/bin/install-sh -d -o Administrators -g Administrators /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 /home/public/pkgsrc/doc/pkgsrc.txt. Hopefully everything is now complete. Thank you for using pkgsrc! =========================================================================== ===> bootstrap started: 2013年 3月 8日 金曜日 22:54:31 JST ===> bootstrap ended: 2013年 3月 8日 金曜日 23:10:14 JST
_ [pkgsrc][cygwin]pkgsrc on cygwin で sl をビルド(失敗)
いつもどおりに sl をビルドしてみる。/usr/pkg/bin に PATH を通してないので full path で実行している。
% cd pkgsrc/games/sl % /usr/pkg/bin/bmake install : config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h ===> Building for digest-20121220 gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c digest.c -o digest.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c md5c.c -o md5c.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c rmd160.c -o rmd160.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c rmd160hl.c -o rmd160hl.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c sha2.c -o sha2.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c sha2hl.c -o sha2hl.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c md5hl.c -o md5hl.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c sha1.c -o sha1.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c sha1hl.c -o sha1hl.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c tiger.c -o tiger.o gcc -DHAVE_CONFIG_H -I. -I. -DHOST=\"i386-pc-cygwin\" -DVERSION=\"20121220\" -O -c whirlpool.c -o whirlpool.o gcc -O -Wl,-R/usr/pkg/lib -o digest digest.o md5c.o rmd160.o rmd160hl.o sha2.o sha2hl.o md5hl.o sha1.o sha1hl.o tiger.o whirlpool.o => Unwrapping files-to-be-installed. ===> Installing for digest-20121220 WARNING: Your umask is ``0022''. WARNING: If this is not desired, set it to an appropriate value (002) and install WARNING: this package again by ``/usr/pkg/bin/bmake deinstall reinstall''. /bin/sh ./mkinstalldirs /home/public/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/bin mkdir /home/public/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/bin /bin/install -c -s -o rin -g None -m 755 digest /home/public/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/bin/digest /bin/sh ./mkinstalldirs /home/public/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/man/man1 mkdir /home/public/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/man mkdir /home/public/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/man/man1 /bin/install -c -o rin -g None -m 644 digest.1 /home/public/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg/man/man1/digest.1 => Automatic manual page handling ===> Building binary package for digest-20121220 => Creating binary package /home/public/pkgsrc/packages/All/digest-20121220.tgz ===> Install binary package of digest-20121220 => Returning to build of sl-3.03p5 => Bootstrap dependency tnftp-[0-9]*: NOT found => Verifying package-install for ../../net/tnftp ERROR: This package has set PKG_FAIL_REASON: ERROR: No usable termcap library found on the system. *** Error code 1 Stop. bmake: stopped in /home/public/pkgsrc/net/tnftp *** Error code 1 Stop. bmake: stopped in /home/public/pkgsrc/games/sl
termcap が無い。と怒られた
寝るか
[ツッコミを入れる]