Linux Lite Forums

Software - Support => Installing Software => Topic started by: kjacobs on March 20, 2014, 10:45:32 AM

Title: NOIP2 fails to install
Post by: kjacobs on March 20, 2014, 10:45:32 AM
Hi all,

I have used NOIP2 many times over the past years. I just recently upgraded my system to LL 1.0.8 and this morning have tried a number of times to install noip2 from source. Every time it has failed with an error....

if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
/usr/local/bin/noip2 -C -c /tmp/no-ip2.conf
make: execvp: /usr/local/bin/noip2: Permission denied
make: *** [install] Error 127

Ever since ubuntu removed noip2 from the repositories, this has gotten increasingly more difficult. I would love some assistance to get noip2 installed again on LL 1.0.8

Thanks,
Ken
Title: Re: NOIP2 fails to install
Post by: Jerry on March 20, 2014, 03:34:08 PM
I see 'Permission denied'. Are your root?
Title: Re: NOIP2 fails to install
Post by: kjacobs on March 20, 2014, 03:43:05 PM
Yes, I am typing.....

sudo make install

And that is the error that keeps showing up.

Ken
Title: Re: NOIP2 fails to install
Post by: kjacobs on March 20, 2014, 04:06:26 PM
I just tried again, following the instructions on the NOIP website......

kenneth@kenneth-OptiPlex-755:/usr/local/src$ sudo -s
[sudo] password for kenneth:
root@kenneth-OptiPlex-755:/usr/local/src# wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
--2014-03-20 13:01:46--  http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.no-ip.com (www.no-ip.com)... 8.23.224.110
Connecting to www.no-ip.com (www.no-ip.com)|8.23.224.110|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.noip.com/client/linux/noip-duc-linux.tar.gz [following]
--2014-03-20 13:01:46--  http://www.noip.com/client/linux/noip-duc-linux.tar.gz
Resolving www.noip.com (www.noip.com)... 8.23.224.107
Connecting to www.noip.com (www.noip.com)|8.23.224.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 134188 (131K) [application/x-gzip]
Saving to: `noip-duc-linux.tar.gz.1'

100%[======================================>] 134,188      228K/s   in 0.6s   

2014-03-20 13:01:47 (228 KB/s) - `noip-duc-linux.tar.gz.1' saved [134188/134188]

root@kenneth-OptiPlex-755:/usr/local/src# tar xf noip-duc-linux.tar.gz
root@kenneth-OptiPlex-755:/usr/local/src# cd noip-2.1.9-1/
root@kenneth-OptiPlex-755:/usr/local/src/noip-2.1.9-1# make install
gcc -Wall -g -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2
noip2.c: In function \u2018dynamic_update\u2019:
noip2.c:1595:6: warning: variable \u2018i\u2019 set but not used [-Wunused-but-set-variable]
noip2.c: In function \u2018domains\u2019:
noip2.c:1826:13: warning: variable \u2018x\u2019 set but not used [-Wunused-but-set-variable]
noip2.c: In function \u2018hosts\u2019:
noip2.c:1838:20: warning: variable \u2018y\u2019 set but not used [-Wunused-but-set-variable]
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
/usr/local/bin/noip2 -C -c /tmp/no-ip2.conf
make: execvp: /usr/local/bin/noip2: Permission denied
make: *** [install] Error 127
root@kenneth-OptiPlex-755:/usr/local/src/noip-2.1.9-1#
Title: Re: NOIP2 fails to install
Post by: kjacobs on March 21, 2014, 11:43:19 PM
Update......I have tried a couple more times to install NOIP2 on the 1.0.8 machine with no luck. So, just for fun...I built another 1.0.6 machine and tried the same instructions. NOIP2 installed on the 1.0.6 computer exactly as described and began working right away.....

So....not sure what I am missing on 1.0.8

Ken
Title: Re: NOIP2 fails to install
Post by: kjacobs on March 23, 2014, 02:05:55 AM
Well....I finally got NOIP2 working on LL 1.0.8, although it took a lot of searching to find a resolve....

After trying the make install the first time, I had to go into /usr/local/bin and chmod the NOIP2 file to make it executable. From there, I reran the make install and everything installed as it should. I am not sure why this is different from 1.0.6 to 1.0.8, however it is working again.....WHEW!

Still be nice to know why it worked fine on my 1.0.6 machine and not the 1.0.8 without extra steps......

Ken
Title: Re: NOIP2 fails to install
Post by: Jerry on March 23, 2014, 12:39:35 PM
Glad you got it working, hope it lasts a bit longer for you :)