Difference between revisions of "Compilation and Installation"

From OpenSSLWiki
Jump to: navigation, search
(Git Repositories)
(More)
Line 87: Line 87:
 
=== More ===
 
=== More ===
  
==== VMS ====
+
==== VAX/VMS ====
 +
 
 +
I you wonder what are files ending with .com like test/testca.com those are VAX/VMX scripts.
 +
This code is still maintained.
  
 
==== OS/2 ====
 
==== OS/2 ====

Revision as of 08:04, 25 May 2013

Get source code

http://www.openssl.org/source/

Repositories :

Git Repositories

What is Git ? See http://git-scm.com/

http://www.openssl.org/source/repos.html

in short : git://git.openssl.org/openssl.git

GitHub: https://github.com/openssl/openssl

exemple

mkdir work
cd work
git clone git://git.openssl.org/openssl.git
cd openssl

Compilation

once you untarred source ( or got it from a source control ) best is to look at README provided in it.

cat README

where you will understand that you have to read another file INSTALL :

cat INSTALL

Depending on your platform you will have to pick up the right INSTALL by example INSTALL.W64. Default is for Unix based systems.

Quick

./config
make depend
make
make test
make install

If things go wrong you might want to get some information like BUILD FAQ

Platfom specific

Linux

Intel

ARM

Windows

W32 / Windows NT - Windows 9x

type INSTALL.W32

  • you need Perl for Win32. Unless you will build on Cygwin, you will need ActiveState Perl, available from http://www.activestate.com/ActivePerl.
  • one of the following C compilers:
    • Visual C++
    • Borland C
    • GNU C (Cygwin or MinGW)
  • Netwide Assembler, a.k.a. NASM, available from http://nasm.sourceforge.net/ is required if you intend to utilize assembler modules. Note that NASM is now the only supported assembler.

W64

type INSTALL.W64

basically some specific 64bits information, default Windows build information is still in INSTALL.W32

Windows CE

Mac

More

VAX/VMS

I you wonder what are files ending with .com like test/testca.com those are VAX/VMX scripts. This code is still maintained.

OS/2

NetWare

5.x 6.x