[Openswan Users] Creating a Fedora kernel RPM with KLIPS support

sasa sasa at shoponweb.it
Wed May 3 15:41:15 CEST 2006


"Paul Wouters" wrote:
> This will attempt to build an openswan-klips rpm (as well as the userland
> openswan rpm). It will use the latest installed kernel. You can use a
> specific kernel version using:
>
> rpmbuild -ba openswan.spec --define 'buildklips 1' --define 'kversion 
> 2.6.16-1.2069_FC4'

I have tried to build the rpm files for openswan-2.4.5 following your 
indication but I have an error:

#rpmbuild -ba openswan.spec --define 'buildklips 1' --define 'kversion 
2.6.12-1.1456_FC4.KLIPS_V1'
...
make: *** /lib/modules/2.6.12-1.1456_FC4.KLIPS_V1/build: No such file or 
directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown 
directorymake[1]: *** [module26] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/openswan-2.4.5'
make: *** [module] Error 2
make: Leaving directory `/root/rpmbuild/BUILD/openswan-2.4.5'
error: Bad exit status from /var/tmp/rpm-tmp.63729 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.63729 (%build)

..thanks.

------
Salvatore. 



More information about the Users mailing list