Unix
 Property List Editor
  環境変数
  Daemon 起動
 X
 Jterminal
 IPv6
  利用可
  利用不可
 automount
  Panther
  Jaguar
  10.1.x
packages
 Fink
 Darwin Ports
 bootstrap-pkgsrc
   大・小文字を区別する FS
   外付の Firewire
   内蔵の区画し直し
   binary か src か
  src の場合
   bashrc
  pkgsrc
  各論
  問題
   debug
   以前に用意した情報
  20071007
   X-Code
   /cvslock
   ./bootstrap
   package が作れない
  pkg_create
  HFS+ Case Sensitive
 Darwin Ports
Emacs
  Carbon
  Aqua
  XDarwin
  その他
 Emacs/cvs
  texinfo
  cvs co
  inline image patch
  patch が当らない
   当たると分っている
  image + im
  ことえり準備
  ことえり
 emacs-w3m
  w3m
  emacs-w3m
 wl
 Canna
  tamago
   Canna
 FreeWnn
 anthy
 Mail
 Network
 Namazu
 kakasi
Server
 Java
 QTSS
 PostgreSQL
 WebObjects
URL
 Apple
 URL/tips
 books
  backup

Mac OS X

20071007

2007/10/07 に 10.4.10 の上で bootsrap を使って試したことを書きます。
X-Code
X-code の が入っていなかったので追加しました。 何故か DVD を入れてクリックしても それを開けるアプリケーションがありません。 と言われて、再起動しても同じだったのですが、一度 Mac OS X をインストール を選んで、すぐに終了した後に、もう一度クリックしたら、何と入れることが出来ました。
/cvslock
cvs -d ${HOGE} co pkgsrc とした時に、/cvslock がない と言われて、
sudo mkdir /cvslock
sudo chmod 777 /cvslock
としても何故か同様に言われて、また cvs -u を使っても、どうも cvs の版が古いらしく、これはだめでした。 そこで、 止むを得ず /cvs-root/CVSROOT/config の中を編集してしまいました。 (これは cvs 保管庫の写しが手元にあったので、可能だったのです)
./bootstrap
cd /usr/pkgsrc/bootstrap
sudo ./bootstrap
最近では Case Sensitive の file system を使っているかを最初に調べます。 そうでないと、いろいろ問題が起きるからです。 しかし、大小文字を区別しない Case insensitive の file system でも 最低限、例えば展開だけは出来るようになっていて、後は、application 毎次第 ということになっています。時間と興味のある人は、それを試すのも一興です。 ということで、その場合には
--ignore-case-check
を指定しておきます。 bootstrap が正常に終ると、次のような表示が出ます。
...
=> Please note the following:

===========================================================================
$NetBSD: MESSAGE,v 1.2 2007/08/05 17:21:50 adrianp 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 users crontab(5) entry.  For example the entry

# download vulnerabilities file
0 3 * * * /usr/pkg/sbin/download-vulnerability-list >/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/audit-packages ]; then
        /usr/pkg/sbin/audit-packages
fi

Alternatively this can also be acomplished by adding an entry to a users
crontab(5) file. e.g.:

# run audit-packages
0 3 * * * /usr/pkg/sbin/audit-packages

audit-packages and/or download-vulnerability-list need not be run by
the root user.  They will function as an unpriveleged user just so
long as the user chosen has permmission to write the pkg-vulnerabilites
to /var/db/pkg.

A sample audit-packages.conf has been installed to:

        /usr/pkg/share/examples/pkg_install/audit-packages.conf

You may want to customise this file and copy it to 
/usr/pkg/etc/audit-packages.conf.
If you want to use signature verification you will need to install GnuPG and
set the path for GPG appropriately in your audit-packages.conf.  See
audit-packages.conf(5) and audit-packages(8) for further information.

===========================================================================

=> Registering installation for pkg_install-20070927
===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g wheel /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.

Hopefully everything is now complete.
Thank you

===========================================================================

===> bootstrap started: Sun Oct  7 17:57:56 JST 2007
===> bootstrap ended:   Sun Oct  7 18:37:05 JST 2007
hostname:/usr/pkgsrc/bootstrap username$ 
この後に、必要な package のディレクトリに行って bmake や bmake package をすれば いいのですが、何も考えないと、多分次のようになってしまいます。
hostname:/usr/pkgsrc/lang/perl5 username$ sudo bmake package
sudo: bmake: command not found
これは /usr/pkg/bin が PATH に入っていない為です。 前の頁 の bashrc の項目のようにしておきます。
package が作れない
cd /hostname:~ user$ cd /usr/pkgsrc/*/p5-Digest-MD5
hostname:/usr/pkgsrc/security/p5-Digest-MD5 user$ sudo bmake package 
Password:
=> Bootstrap dependency digest>=20010302: digest-20070803 found
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `download-vulnerability-list'.
===> Building binary package for p5-Digest-MD5-2.36
Creating package /usr/pkgsrc/packages/All/p5-Digest-MD5-2.36
Using SrcDir value of /usr/pkg
Registering conflicts: p5-MD5-[0-9]*.
ERROR: pkg_create -K pkg failed (138)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/p5-Digest-MD5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/p5-Digest-MD5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/p5-Digest-MD5
hostname:/usr/pkgsrc/security/p5-Digest-MD5 user$ 
Last Update: Sat, 07 Jun 2014 22:16:17 GMT 1.66 2008/03/08