[Openswan Users] Issues installing and uninstalling 2.6.28
Nick Howitt
n1ck.h0w1tt at gmail.com
Wed Aug 4 15:48:28 EDT 2010
I've reinstalled today and it has worked OK. I've no idea why it went
wrong yesterday.
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
More information about the Users
mailing list