ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 18 Sep 2012 01:28:37 -0500Sage cannot find openssl during compilation although it is installedhttp://ask.sagemath.org/question/9326/sage-cannot-find-openssl-during-compilation-although-it-is-installed/I try to compile Sage-5.3 from sources on OpenSuse 12.2 64 bit. After 'make' I get:
>
checking for SSL_library_init in -lssl... no
configure: The OpenSSL library is required to build the Sage Notebook.
configure: You might need to execute one of the following (or the equivalent for your
configure: operating system):
configure: sudo apt-get install libssl-dev
configure: sudo yum install openssl-devel
configure: error: Exiting, since the OpenSSL library was not found.
You do not have all of the prerequisites needed to build Sage
from source. See the errors above.
If you would like to try the build anyway (to help porting)
>
On my system I have:
>
libgnutls-openssl-devel gnutls libgnutls-openssl27 libopenssl-devel libopenssl-devel-32bit libopenssl0_9_8 libopenssl0_9_8-32bit libopenssl1_0_0 libopenssl1_0_0-32bit openssl
>
installed.
Please, help me compile sage.
Best regards,
Aleksey.Mon, 17 Sep 2012 12:29:23 -0500http://ask.sagemath.org/question/9326/sage-cannot-find-openssl-during-compilation-although-it-is-installed/Answer by John Palmieri for <p>I try to compile Sage-5.3 from sources on OpenSuse 12.2 64 bit. After 'make' I get:</p>
<blockquote>
<p></p>
</blockquote>
<p>checking for SSL_library_init in -lssl... no</p>
<p>configure: The OpenSSL library is required to build the Sage Notebook.</p>
<p>configure: You might need to execute one of the following (or the equivalent for your</p>
<p>configure: operating system):</p>
<p>configure: sudo apt-get install libssl-dev</p>
<p>configure: sudo yum install openssl-devel</p>
<p>configure: error: Exiting, since the OpenSSL library was not found.</p>
<p>You do not have all of the prerequisites needed to build Sage</p>
<p>from source. See the errors above.</p>
<p>If you would like to try the build anyway (to help porting)</p>
<blockquote>
<p></p>
</blockquote>
<p>On my system I have:</p>
<blockquote>
<p></p>
</blockquote>
<p>libgnutls-openssl-devel gnutls libgnutls-openssl27 libopenssl-devel libopenssl-devel-32bit libopenssl0_9_8 libopenssl0_9_8-32bit libopenssl1_0_0 libopenssl1_0_0-32bit openssl</p>
<blockquote>
<p></p>
</blockquote>
<p>installed. </p>
<p>Please, help me compile sage.</p>
<p>Best regards,
Aleksey.</p>
http://ask.sagemath.org/question/9326/sage-cannot-find-openssl-during-compilation-although-it-is-installed/?answer=14042#post-id-14042The following should work, I think. From the command line, from the main Sage directory, run
$ ./sage -i patch
$ ./sage -i openssl
$ make
The second line requires an internet connection.
Future versions of Sage won't have this issue; you could instead get a beta version of Sage 5.4, for example from [here](http://sage.math.washington.edu/home/release/sage-5.4.beta1/sage-5.4.beta1.tar) (tar file). It won't require OpenSSL.
Mon, 17 Sep 2012 15:56:47 -0500http://ask.sagemath.org/question/9326/sage-cannot-find-openssl-during-compilation-although-it-is-installed/?answer=14042#post-id-14042Comment by Aleksey_R for <p>The following should work, I think. From the command line, from the main Sage directory, run</p>
<pre><code>$ ./sage -i patch
$ ./sage -i openssl
$ make
</code></pre>
<p>The second line requires an internet connection.</p>
<p>Future versions of Sage won't have this issue; you could instead get a beta version of Sage 5.4, for example from <a href="http://sage.math.washington.edu/home/release/sage-5.4.beta1/sage-5.4.beta1.tar">here</a> (tar file). It won't require OpenSSL.</p>
http://ask.sagemath.org/question/9326/sage-cannot-find-openssl-during-compilation-although-it-is-installed/?comment=19048#post-id-19048Thanks a lot! These commands helped!Tue, 18 Sep 2012 01:28:37 -0500http://ask.sagemath.org/question/9326/sage-cannot-find-openssl-during-compilation-although-it-is-installed/?comment=19048#post-id-19048