Closed apkawel closed 5 years ago
As a follow-up, I tried:
$ sudo make PREFIX=/usr/local/
and
$ sudo make PREFIX=/usr/local/ install
and it seemed to install properly.
But when I tried using taskopen, this:
$ taskopen 259
-bash: /usr/local/bin/taskopen: /usr/local/bin/perl: bad interpreter: No such file or directory
I'm having the same issue.
MacOS Sierra 10.12.4
@apkawel sorry for the late reply, I must have missed this issue
Taskopen installed correctly but it cannot find the perl binary. It appears you changed the perl path into /usr/local/bin/perl
as mentioned in #113. Can you please run which perl
to check where your perl binary is installed?
@Smingvin do you mean you have the same issue with installing taskopen or the same issue executing taskopen?
I made a small modification to the install script. Please checkout the new version of the master branch and try reinstalling taskopen.
/usr/bin/perl On Nov 2, 2018, 08:16 -0400, Johannes Schlatow notifications@github.com, wrote:
@apkawel sorry for the late reply, I must have missed this issue Taskopen installed correctly but it cannot find the perl binary. It appears you changed the perl path into /usr/local/bin/perl as mentioned in #113. Can you please run which perl to check where your perl binary is installed? @Smingvin do you mean you have the same issue with installing taskopen or the same issue executing taskopen? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@ValiValpas
Both issues.
First I got the same error when installing. Then I installed to usr/local like apkawel. When I tried to run it, I get the same error as apkawel. Also, my pearl installation is at "/usr/bin/perl" just as apkawel.
I redownloaded and tried to reinstall, but when I run make PREFIX=/usr I get the following error:
gzip -c doc/man/taskopen.1 > doc/man/taskopen.1.gz
gzip -c doc/man/taskopenrc.5 > doc/man/taskopenrc.5.gz
sed s',#PATH_EXT=.*,&\nPATH_EXT=/usr/share/taskopen/scripts,' taskopen > taskopen.pl
sed -i s',/usr/bin/perl,/usr/local/bin/perl,' taskopen.pl
sed: 1: "taskopen.pl": undefined label 'askopen.pl'
make: *** [taskopen.pl] Error 1
Thanks so much for helping out!
I fixed it!
I added '.bak' next to -i in that sed line you added in the last commit, like so:
sed -i '.bak' s',/usr/bin/perl,$(PERLPATH),' taskopen.pl
(as instructed here)
Then I tried installing it using the default instructions and it didn't work.
But then I tried @apkawel's
$ sudo make PREFIX=/usr/local/
$ sudo make PREFIX=/usr/local/ install
And now it works.
Thank you for your work.
Thank you for your patience and help with this installation issue.
I am running macOS Mojave 10.14 (18A389) – most-recent beta as of 2018-09-22.
My perl5: revision 5 version 18 subversion 2.
I run the installation commands and get the following: