[Xorp-users] Failed to configure on solaris 2.9 sparc

Pavlin Radoslavov pavlin@icir.org
Thu, 09 Mar 2006 16:35:39 -0800


> I am able to build xorp on RH linux but not on Solaris. the configure script 
> looks like work well if openssl is in /usr/lib, /lib.

Currently Solaris is not supported (see xorp/BUILD_NOTES for list of
platforms that can be used to run XORP).

> 
> Looks like the configure.in has issue but I don't enough to fix it myself.
> Can others confirm the issue ?
> 
> 
> <snip>
> checking whether preprocessor supports GNU variadic macros... no
> checking whether preprocessor supports C99 variadic macros... yes
> checking if GNU make is installed... make
> checking for python2.2... no
> checking for python2... no
> checking for python... no
> checking OpenSSL installation prefix... /opt/bd/libopenssl097/
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... no
> checking for unistd.h... yes
> checking openssl/md5.h usability... yes
> checking openssl/md5.h presence... yes
> checking for openssl/md5.h... yes
> checking for MD5_Init in -lcrypto... no
> Could not find part of OpenSSL or one it's components in 
> /opt/bd/libopenssl097/
> Use --with-openssl=DIR to specify OpenSSL installation root.
>       error: error executing script
> bash-2.05# ls -l /opt/bd/libopenssl097/
> total 30
> drwxr-xr-x   2 root     other        512 Mar  6 05:57 bin
> drwxr-xr-x   2 root     root        1024 Mar  6 05:57 certs
> drwxr-xr-x   3 root     other        512 Mar  6 05:57 include
> drwxr-xr-x   3 root     other        512 Mar  6 05:57 lib
> drwxr-xr-x   6 root     other        512 Mar  6 05:50 man
> drwxr-xr-x   2 root     other        512 Mar  6 05:57 misc
> -rw-r--r--   1 root     other       7521 Mar  6 05:57 openssl.cnf
> drwxr-xr-x   2 root     other        512 Mar  6 05:57 private
> bash-2.05#

The particular test inside configure.in is whether it can find a
directory like ${xr_cv_openssl_prefix}/include/openssl (e.g.,
/opt/bd/libopenssl097/include/openssl in your case), and whether
that directory contains file md5.h. Furthermore, it checks whether
there is a library ${xr_cv_openssl_prefix}/libcrypto* or
${xr_cv_openssl_prefix}/lib/libcrypto* and whether that library
contains function MD5_Init().

This should give you some idea where to start looking for the
problem.

Pavlin