[sane-devel] Make error in OSX -- No rule to make target

Olaf Meeuwissen paddy-hack at member.fsf.org
Sun Feb 9 23:00:13 GMT 2020


Hi Tom,

Tom Buckler writes:

> Hello,
>
> I am getting an error when building the new SANE backends 1.0.29 on OSX 10.14.6:
>
> /bin/sh ../libtool --silent  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane  -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 	  -DPATH_SANE_DATA_DIR=/usr/local/share 	  -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane 	  -DV_MAJOR=1 -DV_MINOR=0 -I. -I. -I../include -I../include -I/usr/local/Cellar/libusb/1.0.23/include/libusb-1.0 -DLIBDIR="\"/usr/local/lib/sane\"" -DBACKEND_NAME=dll  -Wall -g -O2 -MT libsane_la-dll-s.lo -MD -MP -MF .deps/libsane_la-dll-s.Tpo -c -o libsane_la-dll-s.lo `test -f 'dll-s.c' || echo './'`dll-s.c
>
> mv -f .deps/libsane_la-dll-s.Tpo .deps/libsane_la-dll-s.Plo
>
> make[2]: *** No rule to make target `-L/usr/local/lib', needed by `libsane.la'.  Stop.
>
> make[1]: *** [all] Error 2
>
> make: *** [all-recursive] Error 1
>
> Any insight would be appreciated,

I think you hit

  https://gitlab.com/sane-project/backends/issues/239

which has been fixed on master already.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list