Date: Sun, 26 Jul 2015 17:45:34 +0200 From: Murk Fletcher <murk.fletcher@gmail.com> To: "Michael B. Eichorn" <ike@michaeleichorn.com> Cc: matt@gsicomp.on.ca, freebsd-questions@freebsd.org Subject: Re: make: Missing dependency operator Message-ID: <CAH=3fONOAajMLnQyDbawkC888u=XHty-N_9%2BJ-KHb%2BWTJCw0Bw@mail.gmail.com> In-Reply-To: <1437925196.1577.10.camel@michaeleichorn.com> References: <CAH=3fOOQ9FCv9vXO4Wngm2jzgQ8k3ZFYa5JxRYfXy0KcGbRUFA@mail.gmail.com> <ffa691993d3cb557b724b21af75c2406@gsicomp.on.ca> <1437925196.1577.10.camel@michaeleichorn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > Perhaps the makefile requires GNUmake? Good call -- tried with `gmake`: # gmake cc -std=c99 -Wall -O3 -I../mozjpeg -c -o src/util.o src/util.c In file included from src/util.c:1: src/util.h:9:10: fatal error: 'jpeglib.h' file not found #include <jpeglib.h> ^ 1 error generated. Makefile:50: recipe for target 'src/util.o' failed gmake: *** [src/util.o] Error 1 # find / -name "jpeglib.h" /usr/local/include/jpeglib.h Any idea how to point it to that path? > But it is even worse than that, the if-else in question tests for OS based on uname and sets variable accordingly. Further, the test would result in anything that is not Linux or Mac/Darwin being identified as Windows. Bad news indeed. Any chance you could help with a patch? I wouldn't mind paying if that's necessary. Thanks! Murk On Sun, Jul 26, 2015 at 5:39 PM, Michael B. Eichorn <ike@michaeleichorn.com> wrote: > On Sun, 2015-07-26 at 11:11 -0400, matt@gsicomp.on.ca wrote: > > On 2015-07-26 10:33, Murk Fletcher wrote: > > > Hi, > > > > > > I'm trying to compile jpeg-archive ( > > > https://github.com/danielgtaylor/jpeg-archive) as part of a greater > > > > > > effort > > > to get image_optim (https://github.com/toy/image_optim) working on > > > FreeBSD ( > > > https://gist.github.com/murkfletcher/36f662a1c0ab59ea0eac), but I'm > > > > > > getting: > > > > > > # make > > > make: "/usr/home/freebsd/jpeg-archive/Makefile" line 10: Missing > > > dependency > > > operator > > > make: "/usr/home/freebsd/jpeg-archive/Makefile" line 19: Need an > > > operator > > > make: "/usr/home/freebsd/jpeg-archive/Makefile" line 31: Need an > > > operator > > > make: Fatal errors encountered -- cannot continue > > > make: stopped in /usr/home/freebsd/jpeg-archive > > > > > > Anybody know? > > > > Perhaps the makefile requires GNUmake? > > > > Matt > > Yup, its erroring out on a GNUmake specific if-else. At least, I do not > see ifeq as an option under make(1), rather we have .if > > But it is even worse than that, the if-else in question tests for OS > based on uname and sets variable accordingly. Further, the test would > result in anything that is not Linux or Mac/Darwin being identified as > Windows. > > Ike > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH=3fONOAajMLnQyDbawkC888u=XHty-N_9%2BJ-KHb%2BWTJCw0Bw>