--with-openssl=<path> failed

From: Andreas Schulze <sca_at_andreasschulze.de>
Date: Mon, 5 Jul 2010 15:23:50 +0200 (CEST)

Hello,

I have to build opendkim 2.1.1 with a selfcomiled version of openssl.
( imy old distro Package does not support rsa-sha256 )

%define sslversion 0.9.8o

%if %sles_version == 9
# SSL selber bauen
gzip -cd openssl-%{sslversion}.tar.gz | tar xf -
cd openssl-%{sslversion}
./config threads no-rc5 no-idea no-zlib --prefix=/usr
make depend
make
make INSTALL_PREFIX=`pwd`/../openssl-%{sslversion}-inst/ install
cd ..

opendkim's configure is then called with
--with-openssl=`pwd`/../openssl-%{sslversion}-inst/usr/
-> OK

in the output I found:
checking for OpenSSL library and includes...
/usr/src/packages/BUILD/opendkim-2.1.1/openssl-0.9.8o/../openssl-0.9.8o-inst/usr/
-> OK

also:
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
-> OK

also comiler calls include my ssl path:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I./../libopendkim
-I/usr/src/packages/BUILD/opendkim-2.1.1/openssl-0.9.8o/../openssl-0.9.8o-inst/usr//include
-I/usr/include -I/usr/include -pthread -I/usr/src/packages/BUILD
/opendkim-2.1.1/openssl-0.9.8o/../openssl-0.9.8o-inst/usr//include -O2 -g
-march=i586 -mcpu=i686 -fmessage-length=0 -MT opendkim-util.o -MD -MP -MF
.deps/opendkim-util.Tpo -c -o opendkim-util.o `test -f 'util.c' || echo '.
/'`util.c
-> OK

But then there is no special Include path anymore:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DOPENDKIM_DB_ONLY
-I./../libopendkim -I/usr/include -O2 -g -march=i586 -mcpu=i686
-fmessage-length=0 -MT opendkim_stats-opendkim-stats.o -MD -MP -MF
.deps/opendkim_stats-opendkim-stats.Tpo -c -o
opendkim_stats-opendkim-stats.o `test -f 'opendkim-stats.c' || echo
'./'`opendkim-stats.c
opendkim-stats.c:33:25: openssl/md5.h: No such file or directory
-> FAIL

Is tis my fault ?
Anybody compiled opendkim *without* openssl on a standard path ?

Andreas


-- 
Viele Gre
Andreas Schulze
Received on Mon Jul 05 2010 - 13:24:10 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:19:47 PST