Date: Sat, 15 Oct 2016 03:49:33 +0900 From: =?UTF-8?B?5rKz5YyX6ZqG55Sf?= <tkawakit@kumamoto-iri.jp> To: Dmitry Luhtionov <dmitryluhtionov@gmail.com> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: make buildwotrld can not find zlib,h Message-ID: <2EA1F46A-57CE-4152-82C8-E8C0AEECC4CB@kumamoto-iri.jp>
next in thread | raw e-mail | index | archive | help
On Fri, Oct 14, 2016 at 6:10 AM, Dmitry Luhtionov <dmitryluhtionov@gmail.com > wrote: > c++ -O2 -pipe > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/ > include > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/ > include > -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS > -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasing > -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" > -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" > -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -MD -MF.depend.Compression.o > -MTCompression.o -Qunused-arguments > -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions > -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ > Compression.cpp > -o Compression.o > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/ > Compression.cpp:21:10: > fatal error: 'zlib.h' file not found > #include <zlib.h> > ^ > 1 error generated. > Very odd. /usr/include/zlib.h is and long has been a standard component of FreeBSD and should be present on your system. Can you confirm its absence? Anything that could be in /etc/src.conf that might trigger this? (I can't see anything obvious, but src.conf(5) is very long.) I'm also not sure whether, at this point in the build, you should be using the system's include files or those in /usr/obj/usr/src/tmp/usr/include/ or /usr/src/lib/libz/zlib.h, which is what should be copied to /usr/obj/usr/src/tmp/usr/include. Normally the system's files are not used during the build. Have you tried completely removing /usr/obj (rm -r /usr/obj/*) before starting the build with -DNO_CLEAN? -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --- 河北隆生@熊本県産業技術センター
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2EA1F46A-57CE-4152-82C8-E8C0AEECC4CB>