Bug #6900
closedexecinfo ライブラリ(およびそのヘッダ)の探索に --with-opt-dir の指定が利かない
Description
手元の FreeBSD の環境で execinfo ライブラリは ports で入っていて、
たとえば execinfo.h は /usr/local/include にあるのですが、
--with-opt-dir=/usr/local と指定していても、
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
のようになります。
configure 実行時の環境変数で CPPFLAGS=-I/usr/local/include などのように
明示的に指定してやれば yes にすることはできますが、--with-opt-dir で
設定できてほしいと思います。
Files
Updated by naruse (Yui NARUSE) over 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r36788.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- configure.in: use the value of --with-opt-dir on building ruby
itself. [ruby-dev:46064] [Bug #6900]
Updated by knu (Akinori MUSHA) over 12 years ago
- File opt-dir_DLDFLAGS.diff opt-dir_DLDFLAGS.diff added
- Status changed from Closed to Open
- ruby -v changed from ruby 2.0.0dev (2012-08-18 trunk 36726) [x86_64-freebsd8.3] to ruby 2.0.0dev (2012-09-27 trunk 37039) [x86_64-freebsd9]
手元のFreeBSD 9.1-PRERELEASE/amd64環境では、 --with-opt-dir=/usr/local を付けてもLIBRUBY_SOのビルドでこけます。
(...)
linking shared-library libruby.so.20
/usr/bin/ld: cannot find -lexecinfo
DLDFLAGSも手当てが必要と思いますがどうでしょう。
Updated by naruse (Yui NARUSE) over 12 years ago
knu (Akinori MUSHA) wrote:
手元のFreeBSD 9.1-PRERELEASE/amd64環境では、 --with-opt-dir=/usr/local を付けてもLIBRUBY_SOのビルドでこけます。
(...)
linking shared-library libruby.so.20
/usr/bin/ld: cannot find -lexecinfoDLDFLAGSも手当てが必要と思いますがどうでしょう。
なるほど、コミットしてください
Updated by knu (Akinori MUSHA) over 12 years ago
- Status changed from Open to Closed
Fix committed in r37062.