FS#11939 - [pptp-1.7.2-1] try to use /bin/ip instead of /usr/sbin/ip
Attached to Project:
Arch Linux
Opened by solsTiCe (zebul666) - Thursday, 30 October 2008, 13:27 GMT
Last edited by Isenmann Daniel (ise) - Tuesday, 10 February 2009, 17:02 GMT
Opened by solsTiCe (zebul666) - Thursday, 30 October 2008, 13:27 GMT
Last edited by Isenmann Daniel (ise) - Tuesday, 10 February 2009, 17:02 GMT
|
Details
Summary and Info:
i am trying to use pptp and i see in my console sh:/bin/ip: file does not exist. sure because in arch we have /usr/sbin/ip i don't know if it's critical to pptp but it sure would help if it find ip command. that should be fixed upstream but they don't even use a configure script and the path of ip is hard coded in routing.c file (what a shame !). so in the mean time we could use a sed line like this in the PKGBUILD ? sed -i 's|/bin/ip|/usr/sbin/ip|g' routing.c before running make or create a patch if you want Steps to Reproduce: run pptp or run strings /usr/sbin/pptp|grep /bin/ip |
This task depends upon
Closed by Isenmann Daniel (ise)
Tuesday, 10 February 2009, 17:02 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in latest package version in testing repo.
Tuesday, 10 February 2009, 17:02 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in latest package version in testing repo.
Comment by Alex Merry (pippin) -
Tuesday, 10 February 2009, 00:18 GMT
Comment by Isenmann Daniel (ise) -
Tuesday, 10 February 2009, 16:26 GMT
See
http://www.nabble.com/sh:--bin-ip:-No-such-file-or-directory-td17306819.html
for what one of the authors of pptp says (which basically amounts
to: distros that don't have ip in /bin should patch routing.c).
I totally forget that bug. Sorry! Will fix it...