This file is indexed.

/usr/share/doc/HOWTO/ja-html/Software-Building-HOWTO-4.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>Building and Installing Software Packages for Linux: $B%3%s%Q%$%k:Q%P%$%J%j%Q%C%1!<%8(B</TITLE>
 <LINK HREF="Software-Building-HOWTO-5.html" REL=next>
 <LINK HREF="Software-Building-HOWTO-3.html" REL=previous>
 <LINK HREF="Software-Building-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Software-Building-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Software-Building-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Software-Building-HOWTO.html#toc4">$BL\<!$X(B</A>
<HR>
<H2><A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>
<LI><CODE>rpm -K --nopgp gnucash-1.1.23-4.i386.rpm</CODE>
<BLOCKQUOTE><CODE>
<PRE>
</PRE>
</CODE></BLOCKQUOTE>

<CODE>gnucash-1.1.23-4.i386.rpm: size md5 OK</CODE></LI>
</UL>
</P>
<P>$BK\Ev$K:Y$+$$$3$H$,5$$K$J$k?M$N$?$a$K(B($B$=$7$F!"$3$&$$$C$?>l9g$O$h$/(B
$BJP<9IB$H8@$o$l$^$9(B)$B!"%Q%C%1!<%8$N8D!9$NMWAG$rE83+$7$F%A%'%C%/$9$k$?$a(B
$B$N(B <EM>unrpm</EM> $B$d(B <EM>rpmunpack</EM> $B$H$$$&%f!<%F%#%j%F%#$,$"$j$^(B
$B$9!#$3$l$O(B
<A HREF="ftp://metalab.unc.edu/pub/Linux/utils/package">Sunsite $B$N%f!<%F%#%j%F%#(B/$B%Q%C%1!<%8MQ%G%#%l%/%H%j(B</A> $B$K$"$j$^$9!#(B</P>
<P>
<A HREF="mailto:klee@debian.org">Klee Diene</A> $B$O!"%$%s%9%H!<%k(B
$B$5$l$?(B <EM>.deb</EM> $B%U%!%$%k$,2~JQ$5$l$F$$$J$$$3$H$r(B MD5 $B%A%'%C%/%5%`(B
$B$GD4$Y$k$?$a$N<B83E*$J(B <EM>dpkgcert</EM> $B%Q%C%1!<%8$r:n$j$^$7$?!#$3$N(B
$B%Q%C%1!<%8$O(B 
<A HREF="ftp://ftp.debian.org/pub/debian/project/experimental">Debian $B$N(B ftp $B%"!<%+%$%V(B</A>$B$+$iF~<j$G$-$^$9!#8=:_$N%Q%C%1!<%8L>$H(B
$B%P!<%8%g%s$O(B <EM>dpkgcert_0.2-4.1_all.deb</EM> $B$G$9!#(B
<A HREF="http://dpkgcert.jimpick.com">Jim Pick Software</A> $B$N(B
$B%5%$%H$G$O!"(BDebian $B$NDL>o$N%$%s%9%H!<%kBP>]$H$J$C$F$$$k%Q%C%1!<%8$KBP(B
$B$7$F(B <EM>dpkgcert</EM> $B>ZL@=q$rDs6!$9$k$?$a$N<B83E*$J%5!<%P%G!<%?%Y!<%9(B
$B$,F0$+$5$l$F$$$^$9!#(B</P>
<P>$B:G$bC1=c$J7A$G$O!"(B<B>rpm -i [$B%U%!%$%kL>(B]</B> $B$d(B
<B>dpkg --install [$B%U%!%$%kL>(B]</B> $B%3%^%s%I$G%=%U%H%&%'%"(B
$B$NE83+$H%$%s%9%H!<%k$,<+F0E*$K9T$o$l$^$9!#$7$+$7Cm0U$7$F$/$@$5$$!#(B
$B$3$l$i$N%3%^%s%I$r$`$d$_$K;H$&$H!"%7%9%F%`$,IT0BDj$K$J$k62$l$,$"$j$^$9(B!</P>
<P>$B$3$3$GCm0U$G$9$,!">e5-$N7Y9p$O(B ($BHo32$NHO0O$3$=>/$J$$$b$N$N(B) Slackware $B$N(B 
$B%$%s%9%H!<%k%f!<%F%#%j%F%#$G$"$k(B <EM>pkgtool</EM> $B$K$bEv$F$O$^$j$^$9!#(B
$B%=%U%H%&%'%"$N!V<+F0E*$J!W%$%s%9%H!<%k$O$I$s$J$b$N$G$"$C$F$bCm0U$,I,MW(B
$B$G$9!#(B</P>
<P>
<A HREF="http://www.people.cornell.edu/pages/rc42/program/martian.html">martian</A>
$B%W%m%0%i%`$H(B 
<A HREF="http://kitenet.net/programs/alien/">alien</A> 
$B%W%m%0%i%`$r;H$&$H!"(B<EM>rpm</EM>, <EM>deb</EM>, Stampede $B$N(B 
<EM>slp</EM>, <EM>tar.gz</EM> $B7A<0$N3F%U%!%$%k$r8_$$$KJQ49$G$-$^$9!#(B
$B$3$l$K$h$j!"$3$l$i$N%Q%C%1!<%8$,$I$N(B Linux $B%G%#%9%H%j%S%e!<%7%g%s$G$b(B
$B;H$($k$h$&$K$J$j$^$9!#(B</P>
<P><EM>rpm</EM> $B%3%^%s%I$d(B <EM>dpkg</EM> $B%3%^%s%I$N(B man $B%Z!<%8$O$8$C$/$j(B
$BFI$s$G$/$@$5$$!#$^$?!">\$7$$>pJs$K$D$$$F$O(B
<A HREF="ftp://metalab.unc.edu/pub/Linux/docs/HOWTO/RPM-HOWTO">RPM HOWTO</A> $B$d(B TFUG $B$N(B 
<A HREF="http://www.tfug.org/helpdesk/linux/rpm.html">Quick Guide to Red Hat's Package Manager</A>$B!"(B
<A HREF="http://www.debian.org/doc/FAQ/debian-faq-7.html">The Debian Package Management Tools</A> $B$r8+$F$/$@$5$$!#(B</P>


<H2><A NAME="ss4.2">4.2</A> <A HREF="Software-Building-HOWTO.html#toc4.2">RPM $B$G5/$3$kLdBj$NNc(B</A>
</H2>


<P>
<A HREF="mailto:hubicka@paru.cas.cz">Jan Hubicka</A> $B$O!"(B
<EM>xaos</EM> $B$H$$$&$H$C$F$bNI$$46$8$N%U%i%/%?%kI=<(%Q%C%1!<%8$r:n$C$F(B
$B$$$^$9!#H`$N(B
<A HREF="http://www.paru.cas.cz/~hubicka/XaoS">$B%[!<%`%Z!<%8(B</A>
$B$K$O!"(B<CODE>.tar.gz</CODE> $B7A<0$H(B <CODE>rpm</CODE> $B7A<0$N%Q%C%1!<%8$,N>J}$"$j(B
$B$^$9!#$3$3$OJXMx$5$r$H$C$F!"(B"tarball" $B$G$O$J$/(B rpm $BHG$r;n$7$^$7$g$&!#(B</P>
<P>$B;DG0$J$3$H$K!"(B<EM>xaos</EM> $B$N(B rpm $B%Q%C%1!<%8$O%$%s%9%H!<%k$G$-$^$;$s!#(B
$B$*$+$7$JF0:n$r$9$k%P!<%8%g%s$O(B 2 $B$D$"$j$^$9!#(B</P>
<P><B>rpm -i --test XaoS-3.0-1.i386.rpm</B>
<BLOCKQUOTE><CODE>
<PRE>
error: failed dependencies:
        libslang.so.0 is needed by XaoS-3.0-1
        libpng.so.0 is needed by XaoS-3.0-1
        libaa.so.1 is needed by XaoS-3.0-1
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P><B>rpm -i --test xaos-3.0-8.i386.rpm</B>
<BLOCKQUOTE><CODE>
<PRE>
error: failed dependencies:
        libaa.so.1 is needed by xaos-3.0-8
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$3$G$*$+$7$$$N$O!"(B<CODE>libslang.so.0</CODE>, <CODE>libpng.so.0</CODE>,
<CODE>libaa.so.1</CODE> $B$OA4It!"%F%9%H$r9T$C$?%^%7%s$N(B <CODE>/usr/lib</CODE>
$B$K$"$k$3$H$G$9!#%i%$%V%i%j$N%j%j!<%9HV9f$OF1$8$G$"$C$F$b!"(B
<EM>xaos</EM> $B$O$A$g$C$H%P!<%8%g%s$,0c$&%i%$%V%i%j$r;H$C$F$$$k$K0c$$$"(B
$B$j$^$;$s!#(B</P>
<P>$B%F%9%H$H$7$F!"(B<EM>--nodeps</EM> $B%*%W%7%g%s$r;H$C$F(B
<CODE>xaos-3.0-8.i386.rpm</CODE> $B$r6/@)E*$K%$%s%9%H!<%k$7(B
$B$F$_$^$7$g$&!#$H$3$m$,!";n$7$K(B <EM>xaos</EM> $B$r<B9T$7$F$b%/%i%C%7%e$7(B
$B$F$7$^$$$^$9!#(B
<BLOCKQUOTE><CODE>
<PRE>
xaos: error in loading shared libraries: xaos: undefined symbol: __fabsl
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$3$G$/$8$1$J$$$G??Aj$rDI5a$7$F$_$^$7$g$&!#(B<EM>xaos</EM> $B$N%P%$%J%j(B
$B$KBP$7$F(B <EM>ldd</EM> $B$r<B9T$7$F%i%$%V%i%j$N0MB84X78$rD4$Y$k$H!"I,MW$J(B
$BA4$F$N6&M-%i%$%V%i%j$,I=<($5$l$^$9!#(B<CODE>/usr/lib/libaa.so.1</CODE> 
$B%i%$%V%i%j$KBP$7$F(B <EM>nm</EM> $B$r<B9T$7$F%7%s%\%k;2>H$rI=<($5$;$k$H!"(B
$BK\Ev$K(B <EM>__fabsl</EM> $B$,$J$$$3$H$,J,$+$j$^$9!#$b$A$m$s!"B-$j$J$$;2>H(B
$B$,B>$N%i%$%V%i%j$N$I$l$+$+$iH4$1$F$$$k(B<EM>$B2DG=@-(B</EM>$B$O$"$j$^$9!D!#(B
$B$3$NLdBj!"$D$^$j%i%$%V%i%j$NF~$l49$($K$h$jB-$j$J$$$b$N$,=P$F$/$k$3$H$K(B
$B$D$$$F$O!"BP=h$NJ}K!$O$"$j$^$;$s!#(B</P>
<P>$B$G$bBg>fIW(B! "tarball" $B$N(B <CODE>XaoS-3.0.tar.gz</CODE> $B$r(B
<A HREF="ftp://ftp.ta.jcu.cz/pub/linux/hubicka/XaoS/3.0">FTP $B%5%$%H(B</A>
$B$+$iF~<j$7$^$7$g$&!#%[!<%`%Z!<%8$+$i$bF~<j$G$-$^$9!#$3$l$r9=C[$7$F$_$^(B
$B$7$g$&!#(B<B>./configure</B>, <B>make</B> $B$r<B9T$7!":G8e$K(B(root $B$K$J$C(B
$B$F(B) <B>make install</B> $B$r<B9T$9$l$PLdBj$J$/%$%s%9%H!<%k$G$-$^$9!#(B</P>
<P>$B$3$l$O%Q%C%1!<%8:Q$_$N%P%$%J%j$G5/$3$k!"JXMx$H$$$&$h$j$bLdBj$,@h$KN)$D(B
$B$h$&$J$?$/$5$s$NNc$N$&$A$N$R$H$D$G$9!#(B</P>


<HR>
<A HREF="Software-Building-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Software-Building-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Software-Building-HOWTO.html#toc4">$BL\<!$X(B</A>
</BODY>
</HTML>