[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Documentation patches for ./configure message
- To: or-dev@xxxxxxxx
- Subject: Documentation patches for ./configure message
- From: Dave <someguytryingtohelpwithtor@xxxxxxxxx>
- Date: Thu, 21 Aug 2008 21:02:15 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-dev-outgoing@xxxxxxxx
- Delivered-to: or-dev@xxxxxxxx
- Delivery-date: Thu, 21 Aug 2008 23:02:20 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=si/dw5bSXvfQzMJN6M60jdbC6hdweG4wctmIyWgA/lY=; b=qsDpxpdxXmnckmb0cf8Cdv5mDm/SAgSScd/o1Q1dxNYKg3adNZYMM8dT/F3gKT7+2r qerOVAQBcsyBeI38ehM5JuN+b4/4bWJ4Tsemu7plA0jq/cBk21PyUVM7vCYgrwnpM8du ydyZJgrIROGKqtI4KPmg7bvyOaR5XdWTQK9hw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=XsOo0s1EiM54PyYMwp2jC7PpHJ7wW0YXtD0yV9rlc4LZuyJNbHDsXlt9mRMlESNuWu m/i2Oez4yysA6tCvetGtCTRsWghtdFGYHoY8ihXcJXgqlnQQC3wEQbHF6IRlddgP3WPh yKtzEUjp3+NbkT3ePKS6JsvmBpDL4wRgs17S8=
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-dev@xxxxxxxxxxxxx
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