Date: Fri, 7 Oct 2016 14:22:53 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Dimitry Andric <dim@FreeBSD.org> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: graphics/opencv2-core: compiler error on CURRENT: error: 'stddef.h' file not found Message-ID: <20161007142253.40442d65.ohartman@zedat.fu-berlin.de> In-Reply-To: <29ED4064-B515-49D5-9362-2B4B4AA6D982@FreeBSD.org> References: <20161007102619.7989b299.ohartman@zedat.fu-berlin.de> <82D50395-FC1C-475B-B414-C83EB90AAB77@FreeBSD.org> <20161007134320.2b241a96.ohartman@zedat.fu-berlin.de> <29ED4064-B515-49D5-9362-2B4B4AA6D982@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Myk.oaZm3uZoCNTh6vvIlKZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Fri, 7 Oct 2016 13:59:05 +0200 Dimitry Andric <dim@FreeBSD.org> schrieb: > On 07 Oct 2016, at 13:43, O. Hartmann <ohartman@zedat.fu-berlin.de> wrote: > >=20 > > Am Fri, 7 Oct 2016 13:27:19 +0200 > > Dimitry Andric <dim@FreeBSD.org> schrieb: =20 > >> On 07 Oct 2016, at 10:26, O. Hartmann <ohartman@zedat.fu-berlin.de> wr= ote: =20 > ... > >>> In file included > >>> from /usr/ports/graphics/opencv2-core/work/opencv-2.4.13.1/modules/co= re/include/opencv2/core/core.hpp:53: > >>> In file included from /usr/include/c++/v1/algorithm:624: In file incl= uded > >>> from /usr/include/c++/v1/initializer_list:47: /usr/include/c++/v1/cst= ddef:43:15: > >>> fatal error: 'stddef.h' file not found #include_next <stddef.h> =20 > >>=20 > >> So for some reason, on your system, the compilation flags include > >> -isystem /usr/include/include, which is rather strange. I would not > >> expect this to break compilation in the fashion you are seeing. Do you > >> have an /usr/include/include directory on your system, by any chance? = =20 > >=20 > > YES :-( > >=20 > > /usr/include/include does exist ... =20 >=20 > Right, so that is pretty strange. Maybe it was an artefact of some > failed installation? In any case, I would blow it away. Within the past years, I slide from one CURRENT to the next. There was no a= ccdent as far as I can recall, but due to the fact I do quite often a recompilation of th= e system, the likelyhood of hitting the fan (or problems) is quite high. I gues this is a= remnant of some problems not visible to me. I blew the /usr/include/include folder, but then the system rejected to bui= ldworld. I had to reinstall world, did a complete buildworld/buildkernel with recent sourc= es and started recompilation of updated ports. Now, graphics/opencv2-core compiles! Thank you very much. Quite impressive! >=20 > Btw, it looks like the eigen port uses pkgconfig, can you please post > the contents of your /usr/local/libdata/pkgconfig/eigen3.pc file? >=20 > -Dimitry >=20 Content of /usr/local/libdata/pkgconfig/eigen3.pc: prefix=3D/usr/local exec_prefix=3D${prefix} Name: Eigen3 Description: A C++ template library for linear algebra: vectors, matrices, = and related algorithms Requires: Version: 3.2.10 Libs: Cflags: -I${prefix}/include/eigen3 Thank you very much and kind regards, Oliver --Sig_/Myk.oaZm3uZoCNTh6vvIlKZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJX95OdAAoJEOgBcD7A/5N8cWQIAM4EeLN4I6EpEpHVg9fON4UY 9tL5kqkvI3oUh6Ug/PSw9FxNBzId4vE1BXOOy2hAzN+L+5GIjKInQyaRhJ4qyaMC 47oyqe63prFRP5or0kLRZwIUvdx6PmVhqNQRsFypsZjqYAUZ3rv/3Sgcw3BUjpNL LgUTerOCmGfIFGUNF7yN9X61+f/mYcjeYkhwKjVNPCNmmeRzQ1eBSKG8GNtQD7t8 yepLSfPCDpmg+pmiGhnicl6yNTRUM+ae4zmtkBBFFFJBn2ItsitxwLkakSoqq8ZX PRHWB15eHYPvMZI9xn0HdJnpZko09QHGicljti+fc7R8CpIIcxTMNc2PTHfq6DY= =IAGg -----END PGP SIGNATURE----- --Sig_/Myk.oaZm3uZoCNTh6vvIlKZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161007142253.40442d65.ohartman>