Skinem fajl d4x-2.5.1.tar.bz2 sa oficijalnog sajta, otpakujem i pokrenem ./configure . Dok to radi dobijem:
checking for openssl >= 0.9.7f... Requested 'openssl >= 0.9.7f' but version of OpenSSL is0.9.7e
configure: error: Library requirements (openssl >= 0.9.7f) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Ajde skinuo sam OpenSSL-0.9.8 i uspeshno instalirao sa ./configure, make pa zatim make install (pre toga
su i pass).
Pokrenuo ponovo ./configure i ponovo ne moze da mi nadje OpenSSL verziju koju trazi.
Shta da radim? U Krusaderu sam uradio search sa parametrom openssl*8* al' nije nishta pametno nashao (osim gde sam otpakovao openssl, ali mi to nishta ne znachi).
Ne znam shta da mu dam ./configure PKG_CONFIG_PATH=/ali/shta/ovde/?/
Poz
Edit: ako je od pomoci postoji u ...../d4x-2.5.1/m4/openssl.m4 fajl sa sadrzajem:
##
## $Header: /home/cvs/d4x/m4/Attic/openssl.m4,v 1.1.2.2 2005/08/11 12:25:57 zaufi Exp $
##
## Wed 29 Oct 2003 02:11:44 PM MSK by Zaufi
##
## AC_FIND_OPENSSL([REQUIRED-VERSION, [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]])
##
## Try to find the SSL headers and libraries
##
AC_DEFUN([AC_FIND_OPENSSL],
[
SSL_LIBS="-lssl"
ac_ssl_includes=no
ac_ssl_libraries=no
ssl_libraries=""
ssl_includes=""
ac_ssl_needed_version="ifelse([$1], , ">= 0.9.7f", $1)"
# try pkg-config to locate OpenSSL
AC_MSG_NOTICE([try pkg-config to locate OpenSSL])
PKG_CHECK_MODULES(SSL, openssl $ac_ssl_needed_version, ac_ssl_found='yes')
if test "$ac_ssl_found" = 'yes'; then
SSL_CFLAGS=`$PKG_CONFIG --cflags openssl`
SSL_LIBS=`$PKG_CONFIG --libs-only-l openssl`
SSL_LDFLAGS=`$PKG_CONFIG --libs-only-L --libs-only-other openssl`
have_ssl=yes
fi
if test "$have_ssl" != yes; then
SSL_CFLAGS="";
SSL_LDFLAGS="";
SSL_LIBS="";
else
AC_DEFINE(HAVE_SSL, 1, [If we are going to use OpenSSL])
fi
AC_SUBST(SSL_CFLAGS)
AC_SUBST(SSL_LDFLAGS)
AC_SUBST(SSL_LIBS)
if test "$have_ssl" == yes; then
ifelse([$2], , :, [$2])
else
ifelse([$3], , :, [$3])
fi
])