Michal Rokos <m.rokos / sh.cvut.cz> wrote in message news:<slrnar0agu.ueh.m.rokos / nightmare.sh.cvut.cz>...

> 	what about:
> 	ruby extconf.rb --with-openssl-dir=/usr/local/ssl
> 
> 		Michal

That worked, thanks. But after I type make, I get this error:

gcc -fPIC -g -O2  -I. -I/usr/local/lib/ruby/1.6/i686-linux -I.
-I/usr/local/include -DHAVE_STRPTIME -DHAVE_OPENSSL_SSL_H  
-I/usr/local/ssl//include -c -o ossl.o ossl.c
ossl.c: In function `time_to_time_t':
ossl.c:98: storage size of `t' isn't known
ossl.c:100: invalid use of undefined type `struct timeval'
make: *** [ossl.o] Error 1