Documentation patches for ./configure message
Dave
someguytryingtohelpwithtor at gmail.com
Fri Aug 22 03:02:15 UTC 2008
Hi everyone,
Sorry if this is the wrong place for this. I searched around and
'or-dev' seemed like the best place to submit a documentation patch.
Let me know if I should send this somewhere else.
--
I recently downloaded tor-0.2.0.30 and attempted to build from source.
When the configuration process could not find my openssl library
(under Ubuntu Edgy) it gave this error message:
"checking for openssl directory... configure: WARNING: Could not find
a linkable openssl. If you have it installed somewhere unusal, you
can specify an explicit path using --with-ssl-dir"
Looking at the source, however, I believe this message should use the
switch '--with-openssl-dir' instead of '--with-ssl-dir'. A minor issue
perhaps, but nice to fix. Below is a patch to the configure.in file in
case you want to use it. There is also a patch to acinclude.m4 to fix
the minor typo for 'unusal'. Both of these are patched to the head SVN
files I downloaded a few hours ago - I hope that's current enough.
Cheers,
Dave
-------
--- configure.in 2008-08-22 01:58:51.000000000 +0000
+++ configure.in.patched 2008-08-22 02:41:47.000000000 +0000
@@ -286,7 +286,7 @@
TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI],
[#include <openssl/rand.h>],
[void RAND_add(const void *buf, int num, double entropy);],
- [RAND_add((void*)0,0,0); exit(0);], [--with-ssl-dir],
+ [RAND_add((void*)0,0,0); exit(0);], [--with-openssl-dir],
[/usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl
/usr/local /usr/athena /opt/openssl])
dnl XXXX check for OPENSSL_VERSION_NUMBER == SSLeay()
-------
--- acinclude.m4 2008-08-22 01:58:51.000000000 +0000
+++ acinclude.m4.patched 2008-08-22 02:40:13.000000000 +0000
@@ -129,7 +129,7 @@
if test "$tor_$1_dir_found" = no; then
if test "$tor_$1_any_linkable" = no ; then
- AC_MSG_WARN([Could not find a linkable $1. If you have it
installed somewhere unusal, you can specify an explicit path using
$7])
+ AC_MSG_WARN([Could not find a linkable $1. If you have it
installed somewhere unusual, you can specify an explicit path using
$7])
TOR_WARN_MISSING_LIB($1, pkg)
AC_MSG_ERROR([Missing libraries; unable to proceed.])
else
More information about the tor-dev
mailing list