trimstray / htrace.sh

My simple Swiss Army knife for http/https troubleshooting and profiling.
GNU General Public License v3.0
3.74k stars 236 forks source link

It's not working on macOS 10.14.3 #72

Open damozhang opened 5 years ago

damozhang commented 5 years ago

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
press5 commented 5 years ago

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

cairo-egypt commented 5 years ago

@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

jamnaughty commented 5 years ago

does not work or install on 10.14.6

ghost commented 4 years ago

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.

jamnaughty commented 4 years ago

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.

PeterDaveHello commented 2 years ago

@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