#5 How to build latest racoon for Redhat Linux for x86


I have a recent release of RedHat Linux up and running
on a Pentium 3, and have configured and used the
ancient Racoon that came with my Redhat installation. I
want to use install the latest version of Racoon.

Now I have downloaded ipsec-tools-0.3.2.tar.gz from
SourceForge to my Linux system. I know how to extract
the files therein, but I do not know how to build the
executable. I am an experienced software developer,
but not on Linux or Unix. I know almost nothing about
Make, makefiles, or the Linux compilers. I have installed
RedHat's "Development Tools" and "Kernel Development"


1. Where should I extract the files to?

2. How do I build?
a. Is there a makefile in the download to build just
racoon on and for Linux?
b. If so, what is the command line or commands to
invoke the make file and compile and build the

3. Can I download a recent version of the Racoon
executable that will run as-is on RedHat Linux?


Dennis hall


  • Aidas Kasparas

    Aidas Kasparas - 2004-05-26

    Logged In: YES

    (1) Place doesn't matter. Extract where you have permition
    to create files. [Subdirectory in] your home directory
    probably the best place.

    (2a) there is just "template" of Makefile. Run ./configure
    to get one.
    (2b) Command to compile are:

    cd ipsec-tools-0.3.2
    ./bootstrap [this step is optional; you should perfom it on
    *fresh* source only if you tried without it and compilation
    ./configure --help
    ./configure with options specific to your environment
    make install

    But if you are not experienced at compiling linux software
    [and become one is not your immediate goal], you'd better
    find precompiled rpm, or at the least srpm.

    (3) I'm not RedHat user, but try to search for rpms in
    places where you search for other new packages.

  • Nobody/Anonymous

    Logged In: NO

    I try install
    I have Red Hat 9
    Kernel 2.6.6

    I install in this order:
    flex-2.5.4a-29 => from rpm
    openssl-0.9.7d => from source
    SSLeay-0.9.0b => from source

    but I can not install ipsec-tools from source and not find rpm

    My configure syntaxe is :
    ./configure --with-openssl=/usr/local/ssl

    This work fine, but in make occours error

    msg error (make):

    make[3]: *** No rule to make target
    `memcmp.o', needed by `racoon'. Stop.
    make[3]: Leaving directory
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory
    make: *** [all] Error 2

    Any body help-me???

    Tks a lot

    PS: Sorry my bad english

  • Aidas Kasparas

    Aidas Kasparas - 2004-06-04

    Logged In: YES

    Mauricio, if next time you'll need support, please start new
    support request.

    You do not need SSLeay. It is old, have security problems,
    and ipsec-tools were changed to use API which is not present
    in SSLeay. Even more, some users had problems in the past,
    if they have installed openssl and SSLeay simultaneously.
    Therefore I would like to suggest that you remove *cleanly*
    (including .h files from /*/include/ directories) BOTH -
    openssl and SSLeay, and reinstall just openssl.

    After this, unpack ipsec-tools source to new directory and
    repeat from the begining. If problem persist - post
    src/racoon/Makefile here.

  • Mike Robinson

    Mike Robinson - 2004-11-11

    Logged In: YES

    Racoon is used on Red Hat Enterprise Linux so you can
    probably find RPMs from Red Hat although these days you
    probably have to buy them. (Red Hat Network ... not
    altogether a bad thing really.)

    But generally... as far as I know the general process is

    (1) In a shell prompt, cd'd to the correct directory,
    enter: "./configure". (No quotes, but the "./" is
    important.) Lots of magical things happen for a while.

    (2) Now issue, "make." Based on instructions in the
    Makefile (which was created by "configure" appropriate to
    your system), the various stuff is built.

    (3) Now, probably as root, "make install." This
    particular install-target ("Read the Makefile, Luke!")
    will install the software on your system.

  • Michal Ludvig

    Michal Ludvig - 2004-11-11

    Logged In: YES

    I believe the original sender is already satisfied with the
    responses. Closing.

  • Michal Ludvig

    Michal Ludvig - 2004-11-11
    • status: open --> closed
  • Mike Robinson

    Mike Robinson - 2005-05-12

    Logged In: YES

    Just been there, just did that. Let me see if I can help.

    (1) Download the LATEST version of ipsec-tools from here;
    that's ipsec-tools-0.5.2 at this moment. I tried to
    compile ipsec-tools-0.4 (on a Red Hat Linux-8 system) and
    it never worked.

    (2) Unpack the tar.gz file into a new directory in, say,
    "/usr/local/src." I use "ark" for this, or my Konqueror
    browser simply shows me everything in the file when I
    click to it on the web. Select the top-level (directory)
    node, choose "Action..Extract." Select "All." Choose the
    target directory ("/usr/local/src").

    (3) In command-prompt, "cd

    (4) Enter: "./configure" ... the punctuation is
    required. Wait for completion.

    (5) Enter: "make". Wait for compile. There should be no

    (6) Perhaps as root, "make install." Leave root upon
    completion for safety.


Log in to post a comment.