I’m trying to get set up with fftb — in order to help the folks currently working on AGG-related things to use treebanking. As of Feb '21 there was no compiled version for OSX:
I’m assuming that’s still true but thought I’d ask here (especially because I remember using fftb on OSX in 2019-2020…)
It looks like the one linked in the wiki was compiled with dynamic libs and this second one was compiled with static libs, right?
ar@tenis fftb-osx-2022 % ./fftb
usage: ./fftb -g grammar.dat [--gold profile_path [--auto]] [--browser [firefox]] [--webdir web_path] [--port port_number] profile_path
ar@tenis osx-fftb % ./fftb
dyld[38785]: Library not loaded: liba.dylib
Referenced from: /Users/ar/Downloads/osx-fftb/fftb
Reason: tried: 'liba.dylib' (no such file), '/usr/local/lib/liba.dylib' (no such file), '/usr/lib/liba.dylib' (no such file), '/Users/ar/Downloads/osx-fftb/liba.dylib' (no such file), '/usr/local/lib/liba.dylib' (no such file), '/usr/lib/liba.dylib' (no such file)
zsh: abort ./fftb
I’m interested in using the OSX version too but haven’t been able to get it to work yet. Here’s the issue I’m running into:
The 2022 version doesn’t bring up the dylib error, like @arademaker mentioned, but it seems to be using ace-0.9.34, so I get a version mismatch error saying that it’s incompatible with my grammar image (which was compiled using ace-0.9.30). Trying to run ace-0.9.34 gets me an exec format error (I’m wondering if this is because there isn’t an acetools-0.9.34?).
@arademaker The link works for me, but not if I click it. The URL is http, but this forum uses https, so some browsers restrict or block such “mixed content”. For instance, Firefox says “File not downloaded. Potential security risk.” I think loading http content from https may also be a privacy issue.
In short: try copying the url and pasting it in your browser’s location bar instead.
Hum… interesting. I tried to copy the link in the location bar, but it didn’t work. I swear! In another thread, this problem with http/https was already discussed! I tried again now, and it worked!
% ./fftb -g ../erg.dat --webdir assets ../puzzles/agatha
grammar image: ../erg.dat
mmap returned 0x7000000000
mmap didn't put the freezer where i wanted it: Undefined error: 0
Any idea @sweaglesw? I am running Apple M1 Max processor:
% uname -a
Darwin tranco 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64
Related to Compiling ACE on MacOS - #14 by curtosis, but I need to read that thread carefully to undersand how to solve the problem. Maybe only need to compile FFTB in my machine?