]> granicus.if.org Git - ejabberd/commitdiff
* doc/guide.tex: Updated Windows compilation instructions.
authorMickaël Rémond <mickael.remond@process-one.net>
Sat, 1 Dec 2007 16:06:24 +0000 (16:06 +0000)
committerMickaël Rémond <mickael.remond@process-one.net>
Sat, 1 Dec 2007 16:06:24 +0000 (16:06 +0000)
* src/configure.erl: Likewise.
* doc/ejabberd.hrl: Preparing ejabberd 2.0.0 beta release.
* doc/version.tex: Likewise.

SVN Revision: 1009

doc/guide.tex
doc/version.tex
src/configure.erl
src/ejabberd.hrl

index 013c23d451bef22028960e98313620dc48534ea7..10967d6d0ba04692cca4eee67bb66bb7bb4eb968 100644 (file)
@@ -370,12 +370,12 @@ The command to compile ejabberd in BSD systems is:
 To compile \ejabberd{} on a Microsoft Windows system, you need:
 \begin{itemize}
 \item MS Visual C++ 6.0 Compiler
-\item \footahref{http://erlang.org/download.html}{Erlang/OTP R9C-2 or higher}
-\item \footahref{http://sourceforge.net/project/showfiles.php?group\_id=10127\&package\_id=11277}{Expat 1.95.7 or higher}
+\item \footahref{http://erlang.org/download.html}{Erlang/OTP R11B-5 or higher}
+\item \footahref{http://sourceforge.net/project/showfiles.php?group\_id=10127\&package\_id=11277}{Expat 2.0.0 or higher}
 \item
-\footahref{http://www.gnu.org/software/libiconv/}{GNU Iconv 1.9.1}
+\footahref{http://www.gnu.org/software/libiconv/}{GNU Iconv 1.9.2}
 (optional)
-\item \footahref{http://www.slproweb.com/products/Win32OpenSSL.html}{Shining Light OpenSSL}
+\item \footahref{http://www.slproweb.com/products/Win32OpenSSL.html}{Shining Light OpenSSL 0.9.8d or higher}
 (to enable SSL connections)
 \item \footahref{http://www.zlib.net/}{Zlib 1.2.3 or higher}
 \end{itemize}
@@ -384,26 +384,33 @@ To compile \ejabberd{} on a Microsoft Windows system, you need:
 \subsubsection{Compilation}
 \label{windowscom}
 
+We assume that we will try to put as much library as possible into \verb|C:\sdk\| to make it easier to track what is install for ejabberd.
+
 \begin{enumerate}
-\item Install Erlang emulator (for example, into \verb|C:\Program Files\erl5.3|).
-\item Install Expat library into \verb|C:\Program Files\Expat-1.95.7|
+\item Install Erlang emulator (for example, into \verb|C:\sdk\erl5.5.5|).
+\item Install Expat library into \verb|C:\sdk\Expat-2.0.0|
   directory.
 
-  Copy file \verb|C:\Program Files\Expat-1.95.7\Libs\libexpat.dll|
+  Copy file \verb|C:\sdk\Expat-2.0.0\Libs\libexpat.dll|
   to your Windows system directory (for example, \verb|C:\WINNT| or
   \verb|C:\WINNT\System32|)
 \item Build and install the Iconv library into the directory
-  \verb|C:\Program Files\iconv-1.9.1|.
+  \verb|C:\sdk\GnuWin32|.
 
-  Copy file \verb|C:\Program Files\iconv-1.9.1\bin\iconv.dll| to your
+  Copy file \verb|C:\sdk\GnuWin32\bin\lib*.dll| to your
   Windows system directory (more installation instructions can be found in the
   file README.woe32 in the iconv distribution).
 
   Note: instead of copying libexpat.dll and iconv.dll to the Windows
   directory, you can add the directories
-  \verb|C:\Program Files\Expat-1.95.7\Libs| and
-  \verb|C:\Program Files\iconv-1.9.1\bin| to the \verb|PATH| environment
+  \verb|C:\sdk\Expat-2.0.0\Libs| and
+  \verb|C:\sdk\GnuWin32\bin| to the \verb|PATH| environment
   variable.
+\item Install OpenSSL in \verb|C:\sdk\OpenSSL| and add \verb|C:\sdk\OpenSSL\lib\VC| to your path or copy the binaries to your system directory.
+\item Install ZLib in \verb|C:\sdk\gnuWin32|. Copy 
+  \verb|C:\sdk\GnuWin32\bin\zlib1.dll| to your system directory. If you change your path it should already be set after  libiconv install. 
+\item Make sure the you can access Erlang binaries from your path. For example: \verb|set PATH=%PATH%;"C:\sdk\erl5.5.5\bin"|
+\item Depending on how you end up actually installing the library you might need to check and tweak the paths in the file configure.erl.
 \item While in the directory \verb|ejabberd\src| run:
 \begin{verbatim}
 configure.bat
index af05bdba87ac3c0b301a3e4347f5007c76bc2f1e..d40696494bfcabad8f3c9739021753b0f1a432f3 100644 (file)
@@ -1,2 +1,3 @@
 % ejabberd version (automatically generated).
-\newcommand{\version}{2.0.0 beta}
+
+ewcommand{\version}{2.0.0b1}
index 688f94fe53c7728b2b4bc912a7d47593688bc445..022124ce13674ba0ec76dac94f6d552c1bbca32f 100644 (file)
@@ -27,25 +27,25 @@ start() ->
        true ->
            ExpatLib  = "EXPAT_LIB = $(EXPAT_DIR)\\StaticLibs\\libexpatMT.lib\n",
            ExpatFlag = "EXPAT_FLAG = -DXML_STATIC\n",
-           IconvDir  = "ICONV_DIR = c:\\progra~1\\libiconv-1.9.1-static\n",
-           IconvLib  = "ICONV_LIB = $(ICONV_DIR)\\lib\\iconv.lib\n",
-           ZlibDir   = "ZLIB_DIR = c:\\progra~1\\zlib-1.2.3\n",
+           IconvDir  = "ICONV_DIR = c:\\sdk\\GnuWin32\n",
+           IconvLib  = "ICONV_LIB = $(ICONV_DIR)\\lib\\libiconv.lib\n",
+           ZlibDir   = "ZLIB_DIR = c:\\sdk\\GnuWin32\n",
            ZlibLib   = "ZLIB_LIB = $(ZLIB_DIR)\\lib\\zlib.lib\n";
        false ->
            ExpatLib  = "EXPAT_LIB = $(EXPAT_DIR)\\Libs\\libexpat.lib\n",
            ExpatFlag = "",
-           IconvDir  = "ICONV_DIR = c:\\progra~1\\libiconv-1.9.1\n",
-           IconvLib  = "ICONV_LIB = $(ICONV_DIR)\\lib\\iconv.lib\n",
-           ZlibDir   = "ZLIB_DIR = c:\\progra~1\\zlib-1.2.3\n",
-           ZlibLib   = "ZLIB_LIB = $(ZLIB_DIR)\\lib\\zlib1.lib\n"
+           IconvDir  = "ICONV_DIR = c:\\sdk\\GnuWin32\n",
+           IconvLib  = "ICONV_LIB = $(ICONV_DIR)\\lib\\libiconv.lib\n",
+           ZlibDir   = "ZLIB_DIR = c:\\sdk\\GnuWin32\n",
+           ZlibLib   = "ZLIB_LIB = $(ZLIB_DIR)\\lib\\zlib.lib\n"
     end,
 
     EVersion = "ERLANG_VERSION = " ++ erlang:system_info(version) ++ "\n",
     EIDirS   = "EI_DIR = " ++ code:lib_dir("erl_interface") ++ "\n",
     RootDirS = "ERLANG_DIR = " ++ code:root_dir() ++ "\n",
     Version  = "EJABBERD_VERSION = " ++ ?VERSION ++ "\n",
-    ExpatDir = "EXPAT_DIR = c:\\progra~1\\expat-1.95.7\n",
-    OpenSSLDir = "OPENSSL_DIR = c:\\progra~1\\OpenSSL\n",
+    ExpatDir = "EXPAT_DIR = c:\\sdk\\Expat-2.0.0\n",
+    OpenSSLDir = "OPENSSL_DIR = c:\\sdk\\OpenSSL\n",
     DBType = "DBTYPE = generic\n",    %% 'generic' or 'mssql'
 
     SSLDir    = "SSLDIR = " ++ code:lib_dir("ssl") ++ "\n",
index 2d9b8298cc580416240678ec684dcfffe3a8c461..b9cb99de63556ac3b022f89653025c3177058a61 100644 (file)
@@ -8,7 +8,7 @@
 %-define(ejabberd_debug, true).
 %-define(DBGFSM, true).
 
--define(VERSION, "1.1.2").
+-define(VERSION, "2.0.0b1").
 
 %% ---------------------------------
 %% Logging mechanism