htrace.sh icon indicating copy to clipboard operation
htrace.sh copied to clipboard

It's not working on macOS 10.14.3

Open damozhang opened this issue 5 years ago • 6 comments

Thank you for your work, but I cannot run it on macOS 10.14.3. I think the path to the symbolic link is incorrect.

~/D/G/htrace.sh>` sudo ./setup.sh install --with-dependencies
Create symbolic link to /usr/local/bin
Create man page to /usr/local/man/man8

~/D/G/htrace.sh> htrace.sh
fish: Unknown command 'htrace.sh'

~/D/G/htrace.sh> ll /usr/local/bin/ht*
lrwxr-xr-x  1 root  admin    15B Mar 21 09:59 /usr/local/bin/htrace.sh -> ./bin/htrace.sh

~/D/G/htrace.sh> cd /usr/local/bin/
/u/l/bin> ll ./bin/htrace.sh
ls: ./bin/htrace.sh: No such file or directory

damozhang avatar Mar 21 '19 17:03 damozhang

the symlink created should be ln -s /where/your/repo/is/bin/htrace.sh /usr/local/bin/htrace.sh

press5 avatar Mar 29 '19 17:03 press5

@press5 @damozhang I don't know how to contribute to the file, but: In the setup.sh file: Change the _dir= line in the darwin section to readonly _dir=$PWD Change the ln line to eval "ln -s ${_dir}/bin/htrace.sh /usr/local/bin/htrace.sh"

PWD is the current working directory and ln can't take a string argument, but eval a string works

cairo-egypt avatar May 07 '19 20:05 cairo-egypt

does not work or install on 10.14.6

jamnaughty avatar Jul 30 '19 04:07 jamnaughty

my errors start at:

ln: /usr/bin/subfinder: Operation not permitted Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system. error retrieving updates: unexpected HTTP status code: 401 Unauthorized: An account ID and license key are required to use this service.

ghost avatar Feb 01 '20 23:02 ghost

I am also getting the same in ubuntu-18.10

Error retrieving updates: error updating GeoLite2-Country: error updating: unexpected HTTP status code: 401 Unauthorized: An account ID and license key are required to use this service.

jamnaughty avatar Feb 03 '20 05:02 jamnaughty

@jasmeet2dhiman not like the macOS problem, the issue you're facing is a different one, GeoIP Lite now needs a valid account to download its database, #86 did handle the part in Dockerfile, but the dependency install script needs to be updated.

cc @pvtmert @trimstray

PeterDaveHello avatar Sep 08 '21 08:09 PeterDaveHello