/*********************************************************************** * File: README * * Copyright (C) 2005 Novell, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ***********************************************************************/ REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON WINDOWS - Install Visual Studio .NET 2003 - Install Cygwin - See instructions below. Download and start cygwin install: Browse to http://sources.redhat.com/cygwin/ Click on "Install or update now!" or "Install Cygwin now" Cygwin Setup: Next Cygwin Setup - Choose Installation Type: Install from Internet Next Cygwin Setup - Choose Installation Directory: Root Directory: C:\cygwin Install For: "All Users" Default Text File Type: DOS Cygwin Setup - Select Local Package Directory: Local Package Directory: C:\cygwin-packages Cygwin Setup - Select Connection Type: Direct Connection Choose A Download Site: ftp://ftp.nas.nasa.gov Cywin Setup - Select Packages: Base: defaults Devel: autoconf automake libtool make pkgconfig cvs gcc gcc-g++ Editors: vim (optional) Net: openssh openssl Text: more Utils: clear (optional) Cygwin Setup - Create Icons: Finish Download the latest Jave JRE and J2EE from "http://java.sun.com" and install them on the machine. Edit cygwin.bat (c:\cygwin\cygwin.bat) to add a call to %VS71COMNTOOLS%\vsvars32.bat (see example below). Also add the MSCS and JAVA_HOME environment parameters to this file. This sets up the Visual Studio and Java tools in Cygwin. Sample cygwin.bat: @echo off call "%VS71COMNTOOLS%\vsvars32.bat" > NUL @set "MSCS=c:/WINDOWS/Microsoft.NET/Framework/% @set "JAVA_HOME=c:/Sun/AppServer/jdk" C: chdir C:\cygwin\bin bash --login -i To build run mk-ca-all or mk-cai-all scripts that will build all of the modules for debug and optimized. REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON LINUX Install latest mono and mono-devel RPM - Obtain RPMs from www.go-mono.org. BUILDING THE SOFTWARE PACKAGE Windows: Start at Step 1. Linux: Skip to Step 2. 1. Run cygwin.bat to start up Cygwin. 2. Generate autotools files: ./autogen.sh --prefix=/ [--enable-debug] ( is some writable directory where 'make install' will install files for testing. 3. To reconfigure later, or to configure software that came from a source distribution (.tar.gz) file, use configure. ./configure --prefix/ [--enable-debug] (run ./configure --help for more options) 4. Select your make target, here are a few interesting ones: mk-ca-all or mk-cai-all All of the build scripts are under shsrc/lshsrc for Linux or shsrc/wshsrc for Windows.