[Openswan Users] Issues installing and uninstalling 2.6.28

Paul Wouters paul at xelerance.com
Wed Aug 4 15:52:14 EDT 2010

On Wed, 4 Aug 2010, Nick Howitt wrote:

>  I've reinstalled today and it has worked OK. I've no idea why it went
> wrong yesterday.

Likely you did:

make install
[edit Makefile.inc or changed env variabls to point to a different DEST* location)
make uninstall


> make uninstall still errors (but it does clear most of the files)
> Nick
> On 03/08/2010 22:05, Nick Howitt wrote:
>>  Hi,
>> For the last few releases I've been rolling my own rpm based on an old
>> src file I bumped into without knowing exactly what I'm doing, so this
>> time I decided to go back to the old make programs/make install method
>> and I've run into a couple of issues.
>> My distro is ClearOS 5.2 (based on Centos 5.5) and instead of using
>> the usual /usr/local for its files it uses /usr. This never made any
>> difference to the compile in the past, but this time when I did it,
>> the compile worked and I could start ipsec (with service ipsec start),
>> but none of the ipsec commands (ipsec auto etc) worked because there
>> was no path to the program. This used to work.
>> Rather than modify the path, I decided to uninstall and use the old
>> instructions sticking with the ClearOS standard file locations (change
>> “INC_USRLOCAL=/usr/local” to “INC_USRLOCAL=/usr” in Makefile.inc).
>> This time, before changing Makefile.inc, "make uninstall" failed with:
>> make uninstall
>> make --no-print-directory install_file_list | egrep -v
>> '(/ipsec.conf$|/ipsec.d/)' | xargs rm -f
>> make[4]: *** No rule to make target `install_file_list'. Stop.
>> make[3]: *** [install_file_list] Error 1
>> make[2]: *** [install_file_list] Error 1
>> make[1]: *** [install_file_list] Error 1
>> Again I'm sure this worked in the past.
>> Making the mod to Makefile.inc worked as expected and all the ipsec
>> commands worked as the correct path was there.
>> To sum up:
>> 1 - Installing no longer appears to set the correct PATH
>> 2 - "make uninstall" fails
>> Regards,
>> Nick
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155

More information about the Users mailing list