IPv6 readyNote: This archive passes through spamassassin. Every mail marked with the subject "*****SPAM*****" has exceed a certain threshold of spam-like behaviour.

Re: [Users] compiling error with 1.96 and 1.97

From: Mariano Absatz (baby_at_baby.com.ar)
Date: Sat May 11 2002 - 21:02:44 CEST


Hi,

I'm new to freeswan and, in fact, new to kernel compiling, also, however, I
just had the exact same error using a recently configured and built 2.4.18-3
kernel on a RedHat 7.2 and the freeswan-1.97 tarball.

On the contrary to Carla's opinion, I think the problem is more on the
freeswan side than on the kernel building...

Specifically on the RPM building tools and/or makefiles... it seems that the
module is built on
./tmp.rpmbuild/lib/modules/<your-kernel-label-here>/kernel/net/ipsec
but afterwards, it's expected to be on:
./tmp.rpmbuild/lib/modules/ipsec

after make stops because of the error, I did the following:
   cd tmp.rpmbuild/lib/modules/
   cp -Rp <your-kernel-label-here>/kernel/net/ipsec ipsec
   cd ../../..
...and then...
   make <whatever-you-were-making-that-generated-the-error>

It re-asks you the config options, but reading the .config already generated,
so you can proably just leave a finger over the <ENTER> key until you see the
questions stop... :-)

In my case, it worked allright, but I already said it's my first attempt at
freeswan & kernel configuration, so maybe some sanity check from more
experienced people on the list would be advisable...

HTH

El 8 May 2002 a las 17:23, Keith Morse escribió:

>
> This is the third time posting this message and am still hoping someone
> might have an idea on how to resolve this.
>
>
> I've been searching the archives and haven't found a reference yet.
>
> I'm compiling 1.97 on a RedHat 7.2 with the latest updates. Using "make
> xrpm" the process will die with an error of:
>
> -------------------------------------------------------------------------
> Processing files: freeswan-1.97_2.4.9_31custom-0
> Finding Provides: (using /usr/lib/rpm/find-provides)...
> Finding Requires: (using /usr/lib/rpm/find-requires)...
> PreReq: /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(CompressedFileNames) <= 3.0.4-1
> Requires(interp): /bin/sh /bin/sh
> Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(CompressedFileNames) <= 3.0.4-1
> Requires(post): /bin/sh
> Requires(preun): /bin/sh
> Requires: ld-linux.so.2 libc.so.6 libgmp.so.3 libpcap.so.0.6.2
> libresolv.so.2 /bin/sh libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
> libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libresolv.so.2(GLIBC_2.2)
> Processing files: freeswan-module-1.97_2.4.9_31custom-0
> error: File not found:
> /usr/src/freeswan-1.97/tmp.rpmbuild/lib/modules/ipsec
>
>
> RPM build errors:
> File not found: /usr/src/freeswan-1.97/tmp.rpmbuild/lib/modules/ipsec
> make: *** [rpms] Error 1
> -------------------------------------------------------------------------
>
>
> Unfortunately, I'm not too sharp at using make. It seems a simple fix,
> but I'm not sure why
> /usr//src/freeswan-1.97/tmp.rpmbuild/lib/modules/ipsec doesn't get
> created in the first place. I have tried this on clean installs of Redhat
> 7.2 and 7.3 with updates using both 1.96 and 1.97.
>
> Hopefully somebody will have an idea on how to resolve this. Thanks
>

El 8 May 2002 a las 17:59, Carla Schroder escribió:
> Hi keith,
>
> Try my local PLUG list, as this is more of a Linux issue than a FreeSWAN
> problem: https://lists.pdxlinux.org/mailman/listinfo
> Sign up for 'PLUG General Linux discussion and assistance'
>
> It's a great group, you should be able to find an answer in the archives, or
> by posting your question to the list.
>

--
Mariano Absatz - El Baby
mailto:baby_at_baby.com.ar
http://www.baby.com.ar/
    PGP KEYS: 
http://www.baby.com.ar/datos/personales.html#claves_pgp
  |\  _
  _\\/'>     Powered by Pegasus Mail
 /|__)       http://www.pmail.com
  ) )\
-----------------------------------------------------------
Believe or not, 
1022003330004444000055555000005555500004444000333002201 is prime

_______________________________________________ Users mailing list Users_at_lists.freeswan.org http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:19:58 CEST