Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 15:43:27 +0000 (UTC)
From:      Ryusuke SUZUKI <ryusuke@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r41779 - head/ja_JP.eucJP/books/handbook/cutting-edge
Message-ID:  <201305301543.r4UFhRLY042925@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ryusuke
Date: Thu May 30 15:43:27 2013
New Revision: 41779
URL: http://svnweb.freebsd.org/changeset/doc/41779

Log:
  - Merge the following from the English version:
  
  	r41772 -> r41773	head/ja_JP.eucJP/books/handbook/cutting-edge/chapter.xml

Modified:
  head/ja_JP.eucJP/books/handbook/cutting-edge/chapter.xml

Modified: head/ja_JP.eucJP/books/handbook/cutting-edge/chapter.xml
==============================================================================
--- head/ja_JP.eucJP/books/handbook/cutting-edge/chapter.xml	Thu May 30 15:20:45 2013	(r41778)
+++ head/ja_JP.eucJP/books/handbook/cutting-edge/chapter.xml	Thu May 30 15:43:27 2013	(r41779)
@@ -3,7 +3,7 @@
      The FreeBSD Documentation Project
      The FreeBSD Japanese Documentation Project
 
-     Original revision: r41772
+     Original revision: r41773
      $FreeBSD$
 -->
 
@@ -1927,11 +1927,30 @@ Fetching 133 new ports or files... done.
 	</listitem>
 
 	<listitem>
+	  <para><command>make
+	      <maketarget>delete-old</maketarget></command></para>
+
+	  <para>このターゲットは (使われなくなった) ファイルを削除します。
+	    もし使われなくなったファイルがディスクに残っていると、
+	    問題が起きる可能性があるため重要な作業です。
+	    たとえば、古い <filename>utmp.h</filename> が残っていると、
+	    新しい <filename>utmpx.h</filename> をインストールしたときに、
+	    問題が起きる ports があります。</para>
+	</listitem>
+
+	<listitem>
 	  <para>再起動</para>
 
 	  <para>新しいカーネル、world そして設定ファイルがロードされたので、
 	    再起動が必要です。</para>
 	</listitem>
+
+	<listitem>
+	  <para><command>make <maketarget>delete-old-libs</maketarget></command></para>
+
+	  <para>使われなくなったライブラリが新しいライブラリと競合することを避けるため削除します。
+	  古いライブラリを削除する前にすべての ports を再構築する必要があります。</para>
+	</listitem>
       </orderedlist>
 
       <para>もし、&os; のあるブランチのあるリリースから、
@@ -1990,7 +2009,9 @@ Fetching 133 new ports or files... done.
 &prompt.root; <userinput>cd /usr/src</userinput>
 &prompt.root; <userinput>make installworld</userinput>
 &prompt.root; <userinput>mergemaster</userinput>
-&prompt.root; <userinput>reboot</userinput></screen>
+&prompt.root; <userinput>make delete-old</userinput>
+&prompt.root; <userinput>reboot</userinput>
+&prompt.root; <userinput>make delete-old-libs</userinput></screen>
 
       <warning>
 	<title>この後の説明を読んでください</title>
@@ -2706,10 +2727,10 @@ Script done, &hellip;</screen>
 	  </author>
 	</authorgroup>
       </sect2info>
-      <title>使われなくなったファイル、ディレクトリ、ライブラリの削除</title>
+      <title>使われなくなったファイル、ディレクトリの削除</title>
 
       <indexterm>
-	<primary>Deleting obsolete files, directories and libraries</primary>
+	<primary>Deleting obsolete files and directories</primary>
       </indexterm>
 
       <para>&os; の開発サイクルにおいて、
@@ -2730,9 +2751,8 @@ Script done, &hellip;</screen>
 	にまとめられています。以下の手順により、
 	アップグレードの過程でこれらのファイルを削除できます。</para>
 
-      <para><xref linkend="canonical-build"/>
-	で説明した方法でシステムを構築してください。
-	<command>make <maketarget>installworld</maketarget></command>
+      <para><command>make
+	<maketarget>installworld</maketarget></command>
 	と、その後の <command>mergemaster</command> が無事に終わったら、
 	以下の方法で使われなくなったファイルやライブラリを確認してください。</para>
 
@@ -2772,7 +2792,7 @@ Script done, &hellip;</screen>
       <screen>&prompt.root; <userinput>shutdown -r now</userinput></screen>
     </sect2>
 
-    <sect2>
+    <sect2 id="make-delete-old-libs">
       <title>使われなくなったライブラリの削除</title>
 
       <warning>
@@ -2798,7 +2818,7 @@ Script done, &hellip;</screen>
 	新しいライブラリと競合し、以下のようなメッセージを表示することがあります。</para>
 
       <screen>/usr/bin/ld: warning: libz.so.4, needed by /usr/local/lib/libtiff.so, may conflict with libz.so.5
-  /usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/local/lib/libXext.so, may conflict with librpcsvc.so.5</screen>
+/usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/local/lib/libXext.so, may conflict with librpcsvc.so.5</screen>
 
       <para>この問題を解決するには、
 	まずライブラリがどの port によってインストールされたかを調べて下さい。</para>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305301543.r4UFhRLY042925>