Closed xzj8b3 closed 5 years ago
You have not run dependency installation commands ...
cpan install Switch JSON LWP::UserAgent
After that, also run:
perl nipe.pl install
Obviously tried all but on Fedora 28 missing some bookstores knows me
Try:
$ sudo dnf install 'perl(Switch JSON LWP::UserAgent)'
For beginners like me who have trouble installing the dependencies via perl nipe.pl install , configure cpan with sudo instead of local::lib.
@xzj8b3 It worked?
to get it working on fedora 28 i had to do the following: " sudo or su"
dnf install cpan
dnf install perl-Switch
dnf install perl-JSON
dnf install perl-LWP*
changed a line in nipe/lib/Nipe/Device.pm
from = my $operationalSystem = cat /etc/os-release | grep 'ID_LIKE' | cut -d '=' -f 2
;
to = my $operationalSystem = cat /etc/os-release | grep 'ID' | cut -d '=' -f 2
;
then ran: sudo perl nipe.pl install rebooted then sudo perl nipe.pl start i was able to establish a connection and was able to get a status check results
As soon as I have time to try again!!!!
@xzj8b3 any update??
Hi Guys,
I think I got this error fixed, can someone please confirm it?
Thx.
since fedora 28 is EOL i wont bother testing the fix on it . i will test it on fedora 29 and fedora 30 and give you a feedback shortly.
Hi Guys,
I think I got this error fixed, can someone please confirm it?
Thx.
Alright on Both Fedora 29 and 30
Per " Download and Install" Section
cpan install Switch JSON LWP::UserAgent Config::Simple
Switch Library fails to complete installation using cpan. which in result will make perl nipe install errors out.
to fix this issue i would change/add to the documentation to install the Perl libraries required to run Nipe using the linux distro package management instead of using cpan. let me know if i need to test something else.
Hi @alshawwa,
Thanks so much for testing Nipe and for the feedback! Based on your answer I will mark this issue as resolved! I just made a commit that already fixes the other problem you mentioned, I updated README with new installation instructions, could you check if that is enough?
Thx!
Look, I no longer had time to try it, when I come back from vacation in September I'll see it !!
Il ven 2 ago 2019, 05:27 Heitor Gouvêa notifications@github.com ha scritto:
Closed #22 https://github.com/GouveaHeitor/nipe/issues/22.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GouveaHeitor/nipe/issues/22?email_source=notifications&email_token=AGL3VPDCBEW2UJIQEJXWGBTQCOSQJA5CNFSM4FEQN7QKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOS22F2UI#event-2528402769, or mute the thread https://github.com/notifications/unsubscribe-auth/AGL3VPH7YUQXGP4ET5L5A3DQCOSQJANCNFSM4FEQN7QA .
Ok @xzj8b3, I will keep this issue closed until then, any new information I can reopen. Thx!
Ok @xzj8b3, I will keep this issue closed until then, any new information I can reopen. Thx!
Forgive the delay....no I haven't tried yet because I didn't understand how script functions...It's active only with Tor enabled, otherwise is the connection normal, does it enable when you need it and just?
If Fedora 31 is more stable as soon as this happens, I don't want Tor always active!!!!
perl nipe.pl start Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /home/xzj8b3/perl5/lib/perl5/5.26.2/x86_64-linux-thread-multi /home/xzj8b3/perl5/lib/perl5/5.26.2 /home/xzj8b3/perl5/lib/perl5/x86_64-linux-thread-multi /home/xzj8b3/perl5/lib/perl5 /home/xzj8b3/perl5/lib/perl5/5.26.2/x86_64-linux-thread-multi /home/xzj8b3/perl5/lib/perl5/5.26.2 /home/xzj8b3/perl5/lib/perl5/x86_64-linux-thread-multi /home/xzj8b3/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at nipe.pl line 15.
Fedora 28 x64