Having trouble installing OSSL

I’m trying to install OSSL, but it gives me this error when I run
"ruby extconf.rb":

checking for strptime()… yes
checking for openssl/ssl.h… no

I’ve already installed OpenSSL 9.6e, so shouldn’t that have taken care
of looking for ssl.h? Hints appreciated.

Francis

Try

% ruby extconf.rb --with-ssl-dir=/usr/local

which is identical to

% ruby extconf.rb --with-ssl-include=/usr/local/include
–with-ssl-lib=/usr/local/lib

Gotoken

···

At Fri, 18 Oct 2002 03:27:40 +0900, Francis Hwang wrote:

I’m trying to install OSSL, but it gives me this error when I run
“ruby extconf.rb”:

checking for strptime()… yes
checking for openssl/ssl.h… no

I’ve already installed OpenSSL 9.6e, so shouldn’t that have taken care
of looking for ssl.h? Hints appreciated.

GOTO Kentaro gotoken@notwork.org wrote in message news:200210171847.g9HIlF4Z045314@miso.k.notwork.org

Try

% ruby extconf.rb --with-ssl-dir=/usr/local

which is identical to

% ruby extconf.rb --with-ssl-include=/usr/local/include
–with-ssl-lib=/usr/local/lib

Gotoken

I looked for ssl.h, and it’s in /usr/local/ssl/include/openssl/ …
which means I should do this, right?

% ruby extconf.rb --with-ssl-dir=/usr/local/ssl

… that gives me the same error.

Francis

% ruby extconf.rb --with-ssl-include=/usr/local/include/openssl
–with-ssl-lib=$SSLLIBDIR

where $SSLLIBDIR is a path in which libssl.a exists.

Gotoken

···

At Sat, 19 Oct 2002 00:29:07 +0900, Francis Hwang wrote:

I looked for ssl.h, and it’s in /usr/local/ssl/include/openssl/ …
which means I should do this, right?

Hi,

···

In article 7b561b93.0210180705.6f009d50@posting.google.com, Francis Hwang wrote:

% ruby extconf.rb --with-ssl-dir=/usr/local/ssl

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

	Michal


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ing. Michal Rokos Czech Technical University, Prague
e-mail: m.rokos@sh.cvut.cz icq: 36118339 jabber: majkl@jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

What version of OSSL do you have? 0.1.2a?

I guess your system is *BSD.

	Michal

PS: There were some problems with *BSD compilation, they were fixed in
0.1.2a.

···

In article 7b561b93.0210210930.3e9b5747@posting.google.com, Francis Hwang wrote:

ruby extconf.rb --with-openssl-dir=/usr/local/ssl
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


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ing. Michal Rokos Czech Technical University, Prague
e-mail: m.rokos@sh.cvut.cz icq: 36118339 jabber: majkl@jabber.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Michal Rokos m.rokos@sh.cvut.cz wrote in message news:slrnar8kng.muq.m.rokos@nightmare.sh.cvut.cz

What version of OSSL do you have? 0.1.2a?

I guess your system is *BSD.

  Michal

PS: There were some problems with *BSD compilation, they were fixed in
0.1.2a.

I’ve been trying to install 0.1.2, on a Linux box.