Ruby Issue Tracking System: Issues
https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2016-05-18T15:14:23Z
Ruby Issue Tracking System
Redmine
Ruby master - Bug #12392 (Closed): configure --with-sitedir=no --with-sitearchdir=no --with-vendo...
https://bugs.ruby-lang.org/issues/12392
2016-05-18T15:14:23Z
yoko-a (Atsushi YOKOYAMA)
<p>configure のヘルプでは、オプション --with-sitedir, --with-sitearchdir, --with-vendordir, --with-vendorarchdir に noを与えられることになっているが、正しく機能しない。</p>
<p>make installでカレントディレクトリに誤ったディレクトリが生成される。<br>
また、ライブラリ検索パスに誤ったエントリが残る。</p>
<pre><code>% ./configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no
% make
% sudo make install
% ls -l | head -3
total 147396
drwxr-xr-x 3 root root 4096 May 18 23:51 $(sitedir)/
drwxr-xr-x 3 root root 4096 May 18 23:51 $(vendordir)/
%
</code></pre>
<pre><code>% ruby -e 'puts $:.join("\n")'
/usr/local/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib
${sitedir}/2.3.0
${sitearchdir}
${sitedir}
${vendordir}/2.3.0
${vendorarchdir}
${vendordir}
/usr/local/lib/ruby/2.3.0
/usr/local/lib/ruby/2.3.0/x86_64-linux
%
</code></pre>