Home / Blog / Image Translation / Video Translation / Support / Donation / RSS
Compiling SANE for macOS
I recently purchased a Fujitsu Fi-6130 scanner for just over 500 RMB, which is a relatively affordable sheet-fed scanner. I wanted to use it on macOS, but I found that for older, low-end scanners like this, the official drivers are no longer provided. The only options are to use SANE or VueScan.
SANE can be installed via Homebrew, but since I wanted to compile a version that is easy to distribute, I decided to recompile it myself. Here are the steps I took.
-
Install Homebrew.
-
Install the necessary dependencies.
brew install autoconf automake libtool gettext git pkg-config libusb libjpeg -
Download the source code package from the SANE official website.
-
Run the following commands to compile:
./autogen.sh ./configure --prefix=/usr/local \ CPPFLAGS="-I/usr/local/include -I/opt/homebrew/include" \ LDFLAGS="-L/usr/local/lib -L/opt/homebrew/lib" make make install -
If you need to distribute it to an environment without Homebrew, you can use
otoolandinstall_name_toolto modify the paths.
The macOS version of ImageTrans has already integrated SANE, allowing you to directly use scanners like the old fi-6130 for scanning.
© 2026 BasicCAT ― Powered by Jekyll and Textlog theme