Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2015 19:42:18 +0200
From:      Carlos Jacobo Puga Medina <cpm@fbsd.es>
To:        "Michael B. Eichorn" <ike@michaeleichorn.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: make: Missing dependency operator
Message-ID:  <1437932538.15939.6.camel@fbsd.es>
In-Reply-To: <1437927568.3133.11.camel@michaeleichorn.com>
References:  <1437927104.6033.3.camel@fbsd.es> <1437927568.3133.11.camel@michaeleichorn.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-8kvsM4j0AskslITVNPzU
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 <jpeglib.h>
> > >          ^
> > > 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
> >=20
> > You need to add the configure arg --with-jpeg=3Dyes
> >=20
>=20
> There is no configure script, its a hand crafted makefile with hard=20
> 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
=20
 LIBIQA=3Dsrc/iqa/build/release/libiqa.a=20

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

Regards,=20
--=20
Carlos Jacobo Puga Medina <cpm@fbsd.es>
PGP fingerprint =3D C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
--=-8kvsM4j0AskslITVNPzU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABCAAGBQJVtRv6AAoJEKHzXWbm0FRTEg0H/jCAv2zxU0gewFedkSskWUII
/Wg/LYo44Wv1YbGLPoqDrXSweoM09cprtKfjz1NBHLrt7uiWIRe6999aOKiNpZMd
c/2yxf+favWe1yg0rTSXDEiCKFKBjfUmxclD2KVGRfiTv/fnDnQFSq1HvvUzNHAB
HsG8nTOJejGGO8DEyKXDe2ZwWGuFDAK93ISm8s936w5deFKH7UWmWZyp5SAhF7YI
pbfPN5DZ7+JC2xQFTrDsx+ffgSJ3Rri0M4LActfVp1BTREVQYrr2bO2+Lfc6yyUP
In82UkatJ1F1dNZ/J6PnKRstDDCZT773hnCba/8qexzd/36X8bHwqo3njAprX3k=
=K9AI
-----END PGP SIGNATURE-----

--=-8kvsM4j0AskslITVNPzU--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1437932538.15939.6.camel>