# Forced extension compilation

**URL:** <https://www.ruby-forum.com/t/forced-extension-compilation/48861>\
**Category:** Ruby\
**Created:** [November 25, 2005, 9:13pm UTC](https://www.ruby-forum.com/t/forced-extension-compilation/48861 "2005-11-25T21:13:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![micah.alles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/5e9695/32.png) [@micah.alles](https://www.ruby-forum.com/u/micah.alles)\
**Post date:** [November 25, 2005, 9:13pm UTC](https://www.ruby-forum.com/t/forced-extension-compilation/48861/1 "2005-11-25T21:13:53Z")

</div>

Is there a way to force the compilation of any or all native extensions  
to be built when compiling ruby from src? I find it annoying to  
install ruby from source only to find out later that I don’t have  
readline, openssl or curses, simply because I didn’t have the headers  
installed when I compiled ruby.

Is there any way to ensure that a native extension will configure /  
install correctly at build time other than checking that the library  
was built once everything is done?

Thanks,

/micah
