ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50924] [Ruby master Bug#12392] configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
       [not found] <redmine.issue-12392.20160518151423.10943@ruby-lang.org>
@ 2020-03-18 11:24 ` nagachika00
  2020-03-26 14:57 ` [ruby-dev:50925] " naruse
  1 sibling, 0 replies; 2+ messages in thread
From: nagachika00 @ 2020-03-18 11:24 UTC (permalink / raw)
  To: ruby-dev

Issue #12392 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED to 2.5: REQUIRED, 2.6: DONE, 2.7: REQUIRED

ruby_2_6 r67844 merged revision(s) 8a6ba10f9dd456cf54de800203cf04bbe42271fb.

----------------------------------------
Bug #12392: configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
https://bugs.ruby-lang.org/issues/12392#change-84698

* Author: yoko-a (Atsushi YOKOYAMA)
* Status: Closed
* Priority: Normal
* ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
* Backport: 2.5: REQUIRED, 2.6: DONE, 2.7: REQUIRED
----------------------------------------
configure のヘルプでは、オプション --with-sitedir, --with-sitearchdir, --with-vendordir, --with-vendorarchdir に noを与えられることになっているが、正しく機能しない。

make installでカレントディレクトリに誤ったディレクトリが生成される。
また、ライブラリ検索パスに誤ったエントリが残る。

~~~
% ./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)/
%
~~~
~~~
% 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
%
~~~




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-dev:50925] [Ruby master Bug#12392] configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
       [not found] <redmine.issue-12392.20160518151423.10943@ruby-lang.org>
  2020-03-18 11:24 ` [ruby-dev:50924] [Ruby master Bug#12392] configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない nagachika00
@ 2020-03-26 14:57 ` naruse
  1 sibling, 0 replies; 2+ messages in thread
From: naruse @ 2020-03-26 14:57 UTC (permalink / raw)
  To: ruby-dev

Issue #12392 has been updated by naruse (Yui NARUSE).

Backport changed from 2.5: REQUIRED, 2.6: DONE, 2.7: REQUIRED to 2.5: REQUIRED, 2.6: DONE, 2.7: DONE

ruby_2_7 95c3bb6c426a11253644a86137bb67c542fd5799.

----------------------------------------
Bug #12392: configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
https://bugs.ruby-lang.org/issues/12392#change-84785

* Author: yoko-a (Atsushi YOKOYAMA)
* Status: Closed
* Priority: Normal
* ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
* Backport: 2.5: REQUIRED, 2.6: DONE, 2.7: DONE
----------------------------------------
configure のヘルプでは、オプション --with-sitedir, --with-sitearchdir, --with-vendordir, --with-vendorarchdir に noを与えられることになっているが、正しく機能しない。

make installでカレントディレクトリに誤ったディレクトリが生成される。
また、ライブラリ検索パスに誤ったエントリが残る。

~~~
% ./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)/
%
~~~
~~~
% 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
%
~~~




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-26 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-12392.20160518151423.10943@ruby-lang.org>
2020-03-18 11:24 ` [ruby-dev:50924] [Ruby master Bug#12392] configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない nagachika00
2020-03-26 14:57 ` [ruby-dev:50925] " naruse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).