How to use OpenSSL installed in a different dir to compile Links?
I had a working version of Links browser. It was installed only for my user, in a remote machine where I do *not* have root access. So it is installed in ~/raiz/, a folder who has many subfolders with familiar names: bin, usr, etc, man, share, ... and so on.
But when I tried to access hotmail.com with that Links, it said to me: Quote:
Great: http://links.twibright.com/download.php now is on version 2.14, and the one I already had is 2.3pre1. Downloaded source, configured... but in the end it said this: Code:
--------------------------------------------------------- Well, './configure --prefix=/home/me/raiz/ --with-ssl' ended with an error: Code:
checking for XFree for OS/2... (cached) no After a bit more time looking around, I decided to download OpenSSL source and install it for my user. Check these comments and commands from my terminal, with some output removed to make it easy to read: Code:
$ mkdir ~/dev/openssl; cd ~/dev/openssl |
You would have to compile the openssl source to allow the libraries to be available. Then you would use --with-ssl=/path/to/libs
|
Quote:
Quote:
|
With path to --with-ssl option
Now I tried to compile Links passing the path to the --with-ssl option. It did not work. See commands with some output below. It changed. As I copied in a previous post, there where 2 lines about OpenSSL. One said about "openssl" and the next was about "OpenSSL". Now it is:
Code:
$ cd ~/dev/links/links-2.14 |
It may look for the include files you may have to try /home/me/raiz/ or /home/me/raiz/include
There should be a log for configure that shows what the problem is, don't always rely on the console output. |
Quote:
Quote:
|
Quote:
Look: Code:
$./configure --prefix=/home/me/raiz --with-ssl=/home/me/raiz/ It worked! :D As soon as I run links with some SSH page working I will mark this thread as solved. Many thanks to all that helped me here! Specially to kentyler, who gave the exact tip. (: A possibly smaller question: note that configure did not find SSL v2 and v3. Is this a possible problem when Links use secure connections to any website? |
Quote:
|
After configure for Links 2.14 ended well, and with SSL enabled, I built it. No problem ocurred, then I installed it in my ~/raiz. It also installed a man page.
By running 'links hotmail.com', something surprised me: links said that mail.live.com (the domain we are initially redirected to) and 'login.live.com' (another domain we are redirected to) do not have valid certificates. I told it to connect anyway, but isn't that something strange? Microsoft is one of the biggest free mail providers of the world! Unfortunately, the site refuses to work without Javascript (Links does not have it). Links is working with SSL, so this thread is solved (should be, but is not!). The only remaining question is that about SSLv2 and SSLv3 I have made in the post #7: http://www.linuxquestions.org/questi...8/#post5718466 Again, thank you all very much! (: |
All times are GMT -5. The time now is 09:01 PM. |