From owner-freebsd-questions@freebsd.org Sun Jul 26 21:00:20 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 D710E9A950D for ; Sun, 26 Jul 2015 21:00:20 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: from mail-qg0-x234.google.com (mail-qg0-x234.google.com [IPv6:2607:f8b0:400d:c04::234]) (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 927251B34 for ; Sun, 26 Jul 2015 21:00:20 +0000 (UTC) (envelope-from murk.fletcher@gmail.com) Received: by qgeu79 with SMTP id u79so40291060qge.1 for ; Sun, 26 Jul 2015 14:00:19 -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=csrOmsJxPUdpktbEfbJFmbYAIp5G2RKaOgnwemoe0Yw=; b=tA0eRADbl08szw/LLtu7z8bvaX2b5RsjCbUF9oFzxOxg964keG/gCWtP1Qpx32xkm+ Pd+DVV1ezEQJ0Az0q6u8rHvx6IkByiETVO8x3G6JIa/C/e8kcdcbX8RsAXHkKlml7hKn 8oPuHIa2/kQ4N/5vtnRzgUMUSHXAEXaGQuIeO7FpfbLXYgWeWLxUjMkOgoLpF0S51yzJ jsuNLQng+ObugPfH8tZpO57uw/Yg/88+fsPcz+WFSncahbGfVo0SA+VyJRyWSw9qtlJi 5FJG6Ur6AFSZvWhdEUmJIJbVQN5avajtuHgNyRuczzQ8m15l4NWaVLfEwlSkJIOhjVO1 YZnw== MIME-Version: 1.0 X-Received: by 10.140.164.147 with SMTP id k141mr38336059qhk.62.1437944419630; Sun, 26 Jul 2015 14:00:19 -0700 (PDT) Received: by 10.96.242.142 with HTTP; Sun, 26 Jul 2015 14:00:19 -0700 (PDT) In-Reply-To: <1437941472.2723.5.camel@fbsd.es> References: <1437927104.6033.3.camel@fbsd.es> <1437927568.3133.11.camel@michaeleichorn.com> <1437932538.15939.6.camel@fbsd.es> <1437941472.2723.5.camel@fbsd.es> Date: Sun, 26 Jul 2015 23:00:19 +0200 Message-ID: Subject: Re: make: Missing dependency operator From: Murk Fletcher To: Carlos Jacobo Puga Medina Cc: "Michael B. Eichorn" , User Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 21:00:21 -0000 > Also mozjpeg port is needed. Anyway, it fails due mozjpeg conflicts with jpeg. Yeah, conflicts with ImageMagick and a bunch of other stuff as well. Is there a way to resolve this? Murk On Sun, Jul 26, 2015 at 10:11 PM, Carlos Jacobo Puga Medina wrote: > El dom, 26-07-2015 a las 19:42 +0200, Carlos Jacobo Puga Medina > escribi=C3=B3: > > El dom, 26-07-2015 a las 12:19 -0400, Michael B. Eichorn escribi=C3=B3: > > > On Sun, 2015-07-26 at 18:11 +0200, Carlos Jacobo Puga Medina wrote: > > > > > # gmake > > > > > cc -std=3D3Dc99 -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 > > > > > =3D20 > > > > > # find / -name "jpeglib.h" > > > > > /usr/local/include/jpeglib.h > > > > > =3D20 > > > > > Any idea how to point it to that path? > > > > > =3D20 > > > > > > > > You need to add the configure arg --with-jpeg=3Dyes > > > > > > > > > > There is no configure script, its a hand crafted makefile with hard > > > coded > > > paths based on uname -s > > > > Hmm.. you need to do some changes in Makefile > > > > --- Makefile.orig 2015-07-26 19:34:04.000000000 +0200 > > +++ Makefile 2015-07-26 19:30:49.000000000 +0200 > > @@ -28,6 +28,12 @@ > > CFLAGS +=3D -I../mozjpeg > > MAKE =3D mingw32-make > > endif > > + ifeq ($(UNAME_S),FreeBSD) > > + # FreeBSD > > + LIBJPEG =3D $(PREFIX)/lib/libjpeg.a > > + CFLAGS +=3D -I$(PREFIX)/include > > + MAKE =3D gmake > > + endif > > endif > > > > LIBIQA=3Dsrc/iqa/build/release/libiqa.a > > > > Also mozjpeg port is needed. Anyway, it fails due mozjpeg conflicts > > with jpeg. > > > > pkg-static: mozjpeg-3.1 conflicts with jpeg-8_6 (installs files into > > the same place). Problematic file: /usr/local/bin/cjpeg > > *** Error code 70 > > > > To build jpeg-archive on FreeBSD > > First, deinstall jpeg port and install mozjpeg port (be sure to install > it with static libraries because we need libjpeg.a) > > Second, add the following to jpeg-archive/Makefile > > --- jpeg-archive/Makefile.orig 2015-07-26 19:34:04.000000000 > +0200 > +++ jpeg-archive/Makefile 2015-07-26 21:53:27.000000000 +0200 > @@ -28,6 +28,12 @@ > CFLAGS +=3D -I../mozjpeg > MAKE =3D mingw32-make > endif > + ifeq ($(UNAME_S),FreeBSD) > + # FreeBSD > + LIBJPEG =3D $(PREFIX)/lib/mozjpeg/libjpeg.a > + CFLAGS +=3D -I$(PREFIX)/include/mozjpeg > + MAKE =3D gmake > + endif > endif > > Finally, run > % gmake > % sudo gmake install > > > Regards, > -- > Carlos Jacobo Puga Medina > PGP fingerprint =3D C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453 >