You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paul Gross <pa...@grosss.net> on 2003/10/15 06:19:11 UTC

Can't get SSL working

I'm trying to build subversion from source and I can't seem to get ssl 
working.  The machine is a sparc running solaris, and ssl is installed in 
/usr/local/ssl.  I tried running the following commands:

./configure --prefix=/home/paul/apps --with-ssl
./configure --prefix=/home/paul/apps --with-ssl=/usr/local/ssl
./configure --prefix=/home/paul/apps --with-ssl=/usr/local/ssl/include/openssl

None of these could find SSL; I get a "No SSL support" message.  Then, I 
installed my own openssl from source in my home directory:

./configure --prefix=/home/paul/apps --with-ssl=/home/paul/apps/ssl
./configure --prefix=/home/paul/apps --with-ssl=/home/paul/apps/lib

None of these work.  I can't get it to recognize ssl.  Any ideas?  Thanks.

Paul Gross
paul@grosss.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't get SSL working

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Wed, Oct 15, 2003 at 02:44:32AM -0500, Paul Gross wrote:
> No matter how I run the configure command, the only line in the
> config.log containing the word ssl is the line which echos my input
> command.  Is there something I'm missing here?  Why isn't there
> something in the log about trying to find ssl?  Thanks.

You might find it easier to compile and install neon first and then
compile Subversion using the installed neon.  It's neon that uses SSL.
Subversion doesn't directly use SSL.

i.e compile neon with the "--with-ssl --with-libs=/path/to/ssl" options
and then compile subversion with the "--with-neon=/path/to/neon" option.

Check neon's config.log if that doesn't work.

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't get SSL working

Posted by Paul Gross <p-...@northwestern.edu>.
No matter how I run the configure command, the only line in the config.log 
containing the word ssl is the line which echos my input command.  Is there 
something I'm missing here?  Why isn't there something in the log about 
trying to find ssl?  Thanks.

At 01:56 AM 10/15/2003, Daniel Stenberg wrote:
>On Wed, 15 Oct 2003, Paul Gross wrote:
>
> > ./configure --prefix=/home/paul/apps --with-ssl
> > ./configure --prefix=/home/paul/apps --with-ssl=/usr/local/ssl
> > ./configure --prefix=/home/paul/apps 
> --with-ssl=/usr/local/ssl/include/openssl
> >
> > None of these could find SSL; I get a "No SSL support" message.  Then, I
> > installed my own openssl from source in my home directory:
>
>When configure runs it creates a detailed logfile called config.log. It will
>contain useful hints on why/how specific configure tests failed. If you study
>it, you may realize yourself why it fails or if you paste a relevant snippet
>from it here, someone else might be able to help you analyze the problem.
>
>--
>          -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
>   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org


Paul Gross
p-gross@northwestern.edu



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't get SSL working

Posted by Daniel Stenberg <da...@haxx.se>.
On Wed, 15 Oct 2003, Paul Gross wrote:

> ./configure --prefix=/home/paul/apps --with-ssl
> ./configure --prefix=/home/paul/apps --with-ssl=/usr/local/ssl
> ./configure --prefix=/home/paul/apps --with-ssl=/usr/local/ssl/include/openssl
>
> None of these could find SSL; I get a "No SSL support" message.  Then, I
> installed my own openssl from source in my home directory:

When configure runs it creates a detailed logfile called config.log. It will
contain useful hints on why/how specific configure tests failed. If you study
it, you may realize yourself why it fails or if you paste a relevant snippet
from it here, someone else might be able to help you analyze the problem.

-- 
         -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
  ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't get SSL working

Posted by Paul Gross <pa...@grosss.net>.
Yes, this worked.  Thank you.  And I hope it gets fixed in the INSTALL file.

Paul


>The --with-ssl option of neon does not take arguments. You have to use
>--with-libs=/path/to/lib additionally. This is documented wrong in INSTALL, I
>posted a patch for it a while back, but it has not been applied yet.
>Reposting, in case somebody with commit access is listening...



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

[PATCH] Re: Can't get SSL working

Posted by Michael Wood <mw...@its.uct.ac.za>.
Just adding [PATCH] to the subject line to make it easier for the patch
manager to spot.  Also sending to the dev list instead of the users
list.

On Wed, Oct 15, 2003 at 11:06:14AM +0200, Michael Suess wrote:
[snip]
> The --with-ssl option of neon does not take arguments. You have to use 
> --with-libs=/path/to/lib additionally. This is documented wrong in INSTALL, I 
> posted a patch for it a while back, but it has not been applied yet.  
> Reposting, in case somebody with commit access is listening...
> 
> 
> Log:
> 
> Fix two minor errors in INSTALL about neons configure options.
> 
> * INSTALL: fix
> 
> Index: INSTALL
> ===================================================================
> --- INSTALL     (revision 7424)
> +++ INSTALL     (working copy)
> @@ -267,9 +267,9 @@
>        a parameter when you run Subversion's "./configure", and it will
>        be passed on to the Neon build system.  If your OpenSSL
>        installation is hard for Neon to find, you may need to use
> -      "--with-ssl=/path/to/lib" instead.  The zlib library is included
> +      "--with-libs=/path/to/lib" additionally.  The zlib library is included
>        in Neon by default, but you can also specify a path to the
> -      library using "--with-zlib".  Consult the Neon documentation for
> +      library using "--with-libs".  Consult the Neon documentation for
>        more information on how to use these parameters and versions of
>        libraries you need.
> 
> 
> -- 
> "What we do in life, echos in eternity..."
> Michael Suess 
> Public PGP key: http://www.suessnetz.de/michael/michaelsuess.gpg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Can't get SSL working

Posted by Michael Suess <mi...@suessnetz.de>.
On Wednesday 15 October 2003 08:19, Paul Gross wrote:
> I'm trying to build subversion from source and I can't seem to get ssl
> working.  The machine is a sparc running solaris, and ssl is installed in
> /usr/local/ssl.  I tried running the following commands:
>
> ./configure --prefix=/home/paul/apps --with-ssl
> ./configure --prefix=/home/paul/apps --with-ssl=/usr/local/ssl
> ./configure --prefix=/home/paul/apps
> --with-ssl=/usr/local/ssl/include/openssl
>
> None of these could find SSL; I get a "No SSL support" message.  Then, I
> installed my own openssl from source in my home directory:
>
> ./configure --prefix=/home/paul/apps --with-ssl=/home/paul/apps/ssl
> ./configure --prefix=/home/paul/apps --with-ssl=/home/paul/apps/lib
>
> None of these work.  I can't get it to recognize ssl.  Any ideas?  Thanks.

The --with-ssl option of neon does not take arguments. You have to use 
--with-libs=/path/to/lib additionally. This is documented wrong in INSTALL, I 
posted a patch for it a while back, but it has not been applied yet.  
Reposting, in case somebody with commit access is listening...


Log:

Fix two minor errors in INSTALL about neons configure options.

* INSTALL: fix

Index: INSTALL
===================================================================
--- INSTALL     (revision 7424)
+++ INSTALL     (working copy)
@@ -267,9 +267,9 @@
       a parameter when you run Subversion's "./configure", and it will
       be passed on to the Neon build system.  If your OpenSSL
       installation is hard for Neon to find, you may need to use
-      "--with-ssl=/path/to/lib" instead.  The zlib library is included
+      "--with-libs=/path/to/lib" additionally.  The zlib library is included
       in Neon by default, but you can also specify a path to the
-      library using "--with-zlib".  Consult the Neon documentation for
+      library using "--with-libs".  Consult the Neon documentation for
       more information on how to use these parameters and versions of
       libraries you need.


-- 
"What we do in life, echos in eternity..."
Michael Suess 
Public PGP key: http://www.suessnetz.de/michael/michaelsuess.gpg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Can't get SSL working

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Wed, Oct 15, 2003 at 01:19:11AM -0500, Paul Gross wrote:
> I'm trying to build subversion from source and I can't seem to get ssl 
> working.  The machine is a sparc running solaris, and ssl is installed in 
> /usr/local/ssl.  I tried running the following commands:
> 
> ./configure --prefix=/home/paul/apps --with-ssl
> ./configure --prefix=/home/paul/apps --with-ssl=/usr/local/ssl
> ./configure --prefix=/home/paul/apps 
> --with-ssl=/usr/local/ssl/include/openssl
> 
> None of these could find SSL; I get a "No SSL support" message.  Then, I 
> installed my own openssl from source in my home directory:
[snip]

Check the configure script for neon.  I think you need something like
this, IIRC.

$ ./configure --prefix=/blah --with-ssl --with-libs=/usr/local/ssl

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org