#2 make install stops @ racoon

closed
nobody
5
2004-04-16
2004-04-14
Phillip Sengel
No

Please help! What did I miss?

make[3]: Entering directory
`/srv/samba/pub/ipsec-tools-0.3/src/setkey'
test -z "/usr/local/sbin" || mkdir -p -- .
"/usr/local/sbin"
/bin/sh ../../libtool --mode=install /usr/bin/install
-c 'setkey' '/usr/local/sbin/setkey'
/usr/bin/install -c setkey /usr/local/sbin/setkey
test -z "/usr/local/man/man8" || mkdir -p -- .
"/usr/local/man/man8"
/usr/bin/install -c -m 644 './setkey.8'
'/usr/local/man/man8/setkey.8'
make[3]: Leaving directory
`/srv/samba/pub/ipsec-tools-0.3/src/setkey'
make[2]: Leaving directory
`/srv/samba/pub/ipsec-tools-0.3/src/setkey'
Making install in racoon
make[2]: Entering directory
`/srv/samba/pub/ipsec-tools-0.3/src/racoon'
mkdir -p /usr/local/sbin
/usr/bin/install -c -s -m 555 racoon /usr/local/sbin
/usr/bin/install: cannot stat `racoon': No such file or
directory
make[2]: *** [install] Error 1
make[2]: Leaving directory
`/srv/samba/pub/ipsec-tools-0.3/src/racoon'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/srv/samba/pub/ipsec-tools-0.3/src'
make: *** [install-recursive] Error 1

Discussion

  • Phillip Sengel
    Phillip Sengel
    2004-04-14

    Logged In: YES
    user_id=870860

    System specs:

    Plain Debian 3.0 (Woody).
    Kernel 2.6.5

     
  • Michal Ludvig
    Michal Ludvig
    2004-04-16

    Logged In: YES
    user_id=344740

    I bet the simple 'make' failed in src/racoon dir. Could you
    give us the log of a few last lines?

     
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    Logged In: YES
    user_id=870860

    these are the last lines of the make output. I could give
    you the complete log if this would help.

     
  • Michal Ludvig
    Michal Ludvig
    2004-04-16

    Logged In: YES
    user_id=344740

    Hmm, strange. Could you please verify that in
    /usr/src/liunx-2.6.5/include you have a symlink 'asm' that
    points to 'asm-i386'? (assuming you're using i386 :-)

    If you do, could you reconfigure ipsec-tools with
    --with-kernel-headers=/usr/src/liunx-2.6.5/include
    and run "make clean && make" again?

    If it fails with an error again, drop me a note.

     
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    Logged In: YES
    user_id=870860

    I updated the log files. it still doesnt work. :/

    could you give me a list of the required packages.

    It is a fresh Debian install. Maybe i forgott to install
    some files?!

     
  • Michal Ludvig
    Michal Ludvig
    2004-04-16

    Logged In: YES
    user_id=344740

    This doesn't seem to be a problem with missing packages. I
    bet there is a problem with the kernel source tree.
    Have you checked the 'asm' symlink? Is it really in place?

     
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    Logged In: YES
    user_id=870860

    yes its there. ...

    wait ... its gone! ups, I did a "make clean" in the kernel
    source tree.
    ok i'll recompile the kernel now. it should reapear then.
    "make bzImage"
    K the symlink is back again.

    now again:
    configure --with-kernel-headers=/usr/src/liunx-2.6.5/include
    make clean
    make

    new logs are down there

     
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    errors only

     
    Attachments
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    configure

     
    Attachments
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    make

     
    Attachments
  • Michal Ludvig
    Michal Ludvig
    2004-04-16

    Logged In: YES
    user_id=344740

    Hmm, something is wrong with the headers - either Debian's,
    IPsec-tools' or kernel's ones. I have no clever idea how to
    solve it because I can't run a testcompile on a debian.

    Could you try to compile this simple program?
    ---
    #include <net/route.h>
    int main () {}
    ---

    Does it compile?

    If it does, copy it to src/racoon and try again with
    "gcc -I../include-glibc -include
    ./../include-glibc/glibc-bugs.h"

    Does it still compile?

     
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

     
    Attachments
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    Logged In: YES
    user_id=870860

    Kernel is non Debian. I took it directly from kernel.org
    ipsec tools from debian ? there are some freeswan packages
    but i dont have them installed!

    i took the ipsec-tools from here (sourceforge.net)
    btw.: ipsec-tools-0.3

    well, compile a program ... *hehe
    my compiling experience directly ends with "make" :/
    what about this:
    partial list of files in src/racoon/ ---- alphabetical order
    ---------------
    policy.c
    policy.h
    proposal.c
    proposal.h
    racoon.8
    racoon.conf.5
    remoteconf.c
    remoteconf.h
    safefile.c
    safefile.h
    --------------------
    does'nt something miss here? racoon.c or racoon.h or racoon.o ?

    OK I'll try to do the steps that you pointed out.

    pls have a look at the logs. I think i did something nasty
    with my include dirs ... don't you? --> "This file is not
    supposed to be used outside of kernel."

    I may should tell you that I copied the kernel source tree
    "include" dir into the "/usr/include/" dir. Could this be a
    problem? :)

     
  • Michal Ludvig
    Michal Ludvig
    2004-04-16

    Logged In: YES
    user_id=344740

    1) "does'nt something miss here? racoon.c or racoon.h or
    racoon.o ?"

    No, racoon itself is built from the other files. The listing
    is correct.

    2) "I copied the kernel source tree "include" dir into the
    "/usr/include/" dir. Could this be a problem? :)"

    YES! Repair the old content and compile racoon again. This
    is not a clean, fresh debian that you advertised...

    Never change /usr/include unless you *really* know what
    you're doing. And you apparently didn't know as you're
    saying 'my compiling experience directly ends with "make"'...

    Closing the bug as this is a user error, not an ipsec-tools'
    fault.

     
  • Michal Ludvig
    Michal Ludvig
    2004-04-16

    • status: open --> closed
     
  • Phillip Sengel
    Phillip Sengel
    2004-04-16

    Logged In: YES
    user_id=870860

    thnx for your help!

    Sorry to "bug" you. Didn't I post in the "Support Requests".
    This was not meant to be a bug report by me.
    I just asked to get help to find my.bug ;)

    you should also know that the compile already didn't work
    before I did this maliscious copy. I will fix my dirs and
    see wether it will work then.
    If not, you will hear from me :D

     
  • Mike Robinson
    Mike Robinson
    2005-05-12

    Logged In: YES
    user_id=854356

    The operative comment is probably "cannot stat 'racoon'
    ..." Does this file exist? Did the preceding 'make'
    actually work?

    How about trying 'make clean' and then 'make' the ipsec
    tools again? Then "cd
    /srv/samba/pub/ipsec-tools-0.3/src/racoon" and _see_ if
    there is a "racoon" file in there. Any permissions
    issues? Things like that...