[Techtalk] compiling errors

Malcolm Tredinnick malcolm at commsecure.com.au
Fri May 10 09:08:59 EST 2002


On Thu, May 09, 2002 at 06:36:47AM -0700, Carla Schroder wrote:
> I'm posting this for a friend. I'm not much of a 'make' guru, anyone have any 
> ideas how to fix this, or where to look for answers? Are there missing 
> libraries? I'm looking at various docs, so far it's a deep dark mystery. Is 
> this person trying to create an RPM? There are only two FreeSWAN modules 
> available, one contains the base installation, the other is utilities.
> 
> Thanks!
> Carla
> 
> "I'm compiling 1.97 on a RedHat 7.2/7.3 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
> -------------------------------------------------------------------------

The person is trying to build an rpm and the compilation process has
gone a long way towards completion. Rpm is now trying to build the
packages, in particular freeswan-module-1.97_2.4.9_31custom-0.

While trying to do this, it is running through the %files list and
requires the file that will ultimately become /lib/modules/ipsec.
Unfortunately, this file (ipsec) was not installed in the correct place
(or possibly not even built) and rpm considers this to be a fatal error.

To track down the error further, you will need to poke about in the
Makefile or somewhere to try and work out why the ipsec file is not
being built. One clue is to look back through the copious output from
the build process and see what failed when ipsec was being built.

That's not much help, but it should be some guidance (I have not built
freeswan for ages, so I can't rememebr if there were any tricks).

Malcolm

-- 



More information about the Techtalk mailing list