Code Search for Developers
 
 
  

INSTALL from AlphaMail at Krugle


Show INSTALL syntax highlighted

REQUIREMENTS
============

   - Boost libraries v 1.33 or above. 1.32 seems to work with gcc-3.3.6, but
     1.33 works better for other versions.  
   - GCC >3.3.6; older versions can't handle the template code, and may loop
     indefinitely, or otherwise fail to compile.
   - GNU make may be required depending on your platform.

IMPORTANT
=========
   - Some platforms include a boost library package. If it is version 1.32 or
     earlier then the compile on two of the files may loop indefinitely
     depending on your version of gcc. Please build a newer version of boost
     before reporting the problem to me!

TESTED PLATFORMS
================
   - Fedora Core 4 (requires manual build of boost 1.33 or above. Yum installs
     1.32, which loops indefinitely - AWK 1/23/2006). Probably also fixable by
     the description under RedHat EL3 below.

   - Gentoo Linux (no longer using Gentoo. It built fine last time I used it -
     1/10/2006). gcc-4, boost 1.33

   - RedHat EL3 on 64-bit AMD. Requires latest Boost libraries, and I had to
     upgrade the compiler by hand, since the bug (shown here)

      https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=171940

     does not have an updated RPM yet. I installed gcc-4.0.2 in /usr/local,
     recompiled boost and webcache, and all was well.

   - Mac OSX 10.4.4 with gcc 4.0.1 and boost 1.33.1

   - Solaris 8 with Sun Studio 11 and boost 1.33.1.  To compile, you
     will need current patches; see

      http://developers.sun.com/prodtech/cc/downloads/patches/ss11_patches.html

     for the list.  In particular, you'll need the C++ compiler, C++ shared
     libs, and math lib patches.  To compile boost, you probably need the
     following patchsets:

      http://blogs.sun.com/roller/resources/sga/boost_1_33_1.patch
      http://cvs.sourceforge.net/viewcvs.py/boost/boost/boost/spirit/core/composite/epsilon.hpp?r1=1.14&r2=1.15&diff_format=u

INSTALLATION
============

1) Download binary version of Boost JAM from www.boost.org. This is a tool like
make. Drop it in some location that is on your path.

2) Download, build, and install the Boost libraries from www.boost.org
   (uses the bjam command installed in step 1)

   i.e.

   cd <extracted_dir>
   bjam --with-thread --with-regex --with-date_time install

   which will install the libraries in /usr/local

3) Come back here and run configure/make. If configure does not find boost,
just pass it a directory that contains the lib/include of boost and it will:

   ./configure /usr/local
   make

4) You now have an imap_webcache executable. Move it where you want it.




See more files for this project here

AlphaMail

AlphaMail is an accelerated web mail interface with a C++ middleware layer that is more effective than an IMAP proxy which is a highly scalable (10k+ users). The interface includes modern features, Section 508 compliance, and universal browser support.

Project homepage: http://sourceforge.net/projects/alphamail
Programming language(s): C++,Java,JavaScript,Perl
License: other

  docs/
    About
    Dependencies
    caching_algorithm
    certificate_authorities.pem
    middleware_protocol.txt
  experiments/
    ImapWebcache/
      org/
        uoosl/
          alphamail/
            imap/
              IMAPFolder.java
            request/
              RequestProcessor.java
      .classpath
      .project
    jcorba/
      IMAPClient.java
      IMAPServer.java
      imap.idl
    Makefile
    attributes.txt
    cache_entry.cc
    client_socket.cc
    date_time.cc
    dates.txt
    def_order.cc
    enum_tests.cc
    fetch_bug.cc
    imaps_test.cc
    map_test.cc
    memory_bug.cc
    mkdir.cc
    mm.cc
    nested_parse.cc
    oop.cc
    parse_action_noarg.cc
    parse_dates.cc
    parse_flags.cc
    parse_order.cc
    parse_response.cc
    parse_tree_body.cc
    parse_w_closure.cc
    parse_w_closure2.cc
    parse_w_ref.cc
    regex1.cc
    regex_stripws.cc
    request_processor.cc
    server_socket.cc
    split.cc
    ssl.c
    ssl_client.cpp
    string_closure.cc
  netxx/
    include/
      netxx/
        tls/
          certificate.h
          context.h
          netxx.h
          stream.h
        address.h
        datagram.h
        datagramserver.h
        netbuf.h
        netxx.h
        peer.h
        probe.h
        probeinfo.h
        sockopt.h
        stream.h
        streambase.h
        streamserver.h
        timeout.h
        types.h
    src/
      Jamfile
      accept.cxx
      accept.h
      address.cxx
      common.h
      compat.h
      config.jam
      datagram.cxx
      datagramserver.cxx
      inet_ntop.cxx
      inet_ntop.h
      inet_pton.cxx
      inet_pton.h
      osutil.cxx
      osutil.h
      peer.cxx
      probe.cxx
      probe_impl.h
      probe_select.cxx
      recvfrom.cxx
      recvfrom.h
      resolve.h
      resolve_getaddrinfo.cxx
      resolve_gethostbyname.cxx
      resolve_getservbyname.cxx
      serverbase.cxx
      serverbase.h
      sockaddr.cxx
      sockaddr.h
      socket.cxx
      socket.h
      sockopt.cxx
      stream.cxx
      streambase.cxx
      streamserver.cxx
      tls_cert_pimpl.h
      tls_certificate.cxx
      tls_context.cxx
    Makefile.am
    README
  patches/
  src/
  tests/
  ChangeLog
  INSTALL
  LICENSE
  Makefile.am
  TODO