freeswitch / spandsp

SpanDSP is a low-level signal processing library that modulates and demodulates signals commonly used in telephony, such as the "noise" generated by a fax modem or DTMF touchpad.
Other
152 stars 120 forks source link

MacOS cannot configure #81

Open generalrbb opened 3 months ago

generalrbb commented 3 months ago

configure: error: "Cannot build without libtiff (does your system require a libtiff-devel package?)"

generalrbb commented 3 months ago

(base) xxx@localhost ~ % brew install libtiff Warning: libtiff 4.6.0 is already installed and up-to-date. To reinstall 4.6.0, run: brew reinstall libtiff

damirn commented 1 month ago

@generalrbb set CFLAGS and LDFLAGS env vars before running configure, i.e:

$ export CFLAGS="-I/opt/homebrew/Cellar/libtiff/4.6.0/include/ -I /opt/homebrew/Cellar/jpeg-turbo/3.0.3/include/"

$ export LDFLAGS="-L/opt/homebrew/Cellar/libtiff/4.6.0/lib/ -L/opt/homebrew/Cellar/jpeg-turbo/3.0.3/lib/"