On Jul 2, 2008, at 22:20 PM, Jeremy Hinegardner wrote:
> On Thu, Jul 03, 2008 at 01:23:16PM +0900, Jason Bornhoft wrote:
>> Eric Hodel wrote:
>>> On Jul 2, 2008, at 21:12 PM, Jason Bornhoft wrote:
>>>>>> location for compiling software, then try: make clean, configure,
>>>>>> make,
>>>>>> and make install. You didn't specify which OS you do have, so,
>>>>>> YMMV :)
>>>>>
>>>> Still getting the same error...
>>>>
>>>> make: Nothing to be done for `all'.
>>>>
>>>> How can I ensure that the headers and dev libraries are properly
>>>> installed?
>>>
>>> You're sure you ran make clean first?  If that still doesn't do it,
>>> you'll have to re-run configure with the location of your openssl.
>>
>> Ok. I installed the openssl from source after I installed ruby.  Can
>> that be my issue?
>
> Yes, that would do it.  When you built ruby from scratch openssl was  
> not
> on your system.  At that point ruby had no way of building the openssl
> extension so it would of course exclude it.
>
> If you are building ruby from scratch, then you must make sure that  
> all
> the dependencies that ruby requires and for the extensions you want to
> build are already on the system.

a) unpack and install ruby
b) notice that openssl extension is missing
c) install openssl libs + headers # you are here
d) make clean in ruby
e) make and install ruby

should do it.

the first time around ruby generated a do-nothing Makefile for the  
openssl bindings.  make clean removes this empty makefile so that it  
can be generated correctly.  If you still don't have openssl after  
that, you'll need to tell configure where you installed it.