From owner-freebsd-questions@freebsd.org Sun Jul 26 15:45:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED20A9A838F for ; Sun, 26 Jul 2015 15:45:35 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9171AD7 for ; Sun, 26 Jul 2015 15:45:35 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: by qkfc129 with SMTP id c129so32471984qkf.1 for ; Sun, 26 Jul 2015 08:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6Y6OpWc+LHd2IQWPH5R4djPM+aB136s7OQ827RV3RTQ=; b=I9j8kiSwIhvYTHPMDihqXeX5osz8JxvVmcqQ+T4z2uNWh1dxbIhnTKl6W22mOSRxeR QyEQnRc3K1pyC5cGQ0D0pKxW5vFKBmPfBiuMIJriYPp9vNlFW2UKnlDAgLy7x530gc7b sONA0fwYy8tRaLvkthYbPbAvSBh2qp/ajJxuQ8FaNbq15gEEZc5Ms9lP4VUcvWSiOeTb HHFSSQRrFYSo8PTG8duuIvheTJZI1YDDX7h0mdF656ZXlTDqzdqnhcGAsDmWj58iKCMZ 1dXjEJYqZDr1uU7uYh4gWhHyallLd3IY+6T1N13ApcaYA3A9F+Ht/btDEFpkLkmZNU4j 62eA== MIME-Version: 1.0 X-Received: by 10.55.16.104 with SMTP id a101mr34077075qkh.40.1437925534356; Sun, 26 Jul 2015 08:45:34 -0700 (PDT) Received: by 10.96.242.142 with HTTP; Sun, 26 Jul 2015 08:45:34 -0700 (PDT) In-Reply-To: <1437925196.1577.10.camel@michaeleichorn.com> References: <1437925196.1577.10.camel@michaeleichorn.com> Date: Sun, 26 Jul 2015 17:45:34 +0200 Message-ID: Subject: Re: make: Missing dependency operator From: Murk Fletcher To: "Michael B. Eichorn" Cc: matt@gsicomp.on.ca, freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 15:45:36 -0000 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 ^ 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 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" >