warcit
warcit copied to clipboard
Installing on macOS 10.14.1
Hi all,
I'm trying to set this up under Python 3 on macOS 10.14.1 and keep getting this error:
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
I'm not sure if I'm missing some dependency, but googling the error unfortunately hasn't turned up any results. The same message occurs when trying to install under Python 2.
Any advice you have would be appreciated!
Seems to be related to https://github.com/PyYoshi/cChardet/issues/40
FWIW I'm able to get warcit working by cloning a local copy and modifying it to remove all references to cchardet. I don't have a good sense of what that will change behaviorally, but it seems to be working okay so far.
Ah yeah, that seems to be it.. Hmm, I'm not able to repro this either yet :/ You can try switching to just regular chardet. Perhaps should make cchardet optional.
Same problem on macOS 10.15.2