From patchwork Tue Sep 22 10:31:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaap Crezee X-Patchwork-Id: 520997 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 0A3E0140187 for ; Tue, 22 Sep 2015 20:31:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0A02B200E5; Tue, 22 Sep 2015 10:31:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bSzSTZsAM9Vw; Tue, 22 Sep 2015 10:31:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CEE9F25371; Tue, 22 Sep 2015 10:31:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B63821C1545 for ; Tue, 22 Sep 2015 10:31:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B01319167B for ; Tue, 22 Sep 2015 10:31:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cUW+I0OAv3ag for ; Tue, 22 Sep 2015 10:31:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from jcz.nl (jcz.nl [94.126.37.106]) by whitealder.osuosl.org (Postfix) with ESMTPS id 71D368D286 for ; Tue, 22 Sep 2015 10:31:05 +0000 (UTC) Received: (qmail 5179 invoked by uid 210); 22 Sep 2015 10:31:02 -0000 Received: from 37.153.194.28 by www.jcz.nl (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.95.3/10458. spamassassin: 3.2.1. perlscan: 1.25st. Clear:RC:1(37.153.194.28):. Processed in 0.021535 secs); 22 Sep 2015 10:31:02 -0000 Received: from hoevelaken.jcz.nl (HELO ?10.0.1.3?) (jaap@jcz.nl@37.153.194.28) by jcz.nl with ESMTPA; 22 Sep 2015 10:31:01 -0000 To: buildroot@busybox.net From: Jaap Crezee Organization: JCZ-Automatisering Message-ID: <56012DE5.4000909@jcz.nl> Date: Tue, 22 Sep 2015 12:31:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Subject: [Buildroot] slang failing on my system | detects host libraries/headers X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jaap@jcz.nl Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Dear all, It looks to me as if slang is finding some host files on my system currently: configure:7437: checking for the onig library and header files oniguruma.h configure:7513: result: yes: /usr/lib and /usr/include Which ultimately results in: /data/work/zupr/ZUPR-Embedded-Buildroot/output/host/usr/bin/ccache /data/work/zupr/ZUPR-Embedded-Buildroot/output/host/usr/bin/arm-linux-gnueabihf-gcc -I/data/work/zupr/ZUPR-Embedded-Buildroot/output/build/slang-2.3.0/src -shared -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -I/data/work/zupr/ZUPR-Embedded-Buildroot/output/build/slang-2.3.0/src -Wl,-R/usr/lib:/data/work/zupr/ZUPR-Embedded-Buildroot/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib -lm /data/work/zupr/ZUPR-Embedded-Buildroot/output/build/slang-2.3.0/modules/onig-module.c -o onig-module.so -lonig /data/work/zupr/ZUPR-Embedded-Buildroot/output/build/slang-2.3.0/modules/onig-module.c:27:23: fatal error: oniguruma.h: No such file or directory #include ^ compilation terminated. Makefile:119: recipe for target 'onig-module.so' failed Anybody care to fix that correctly? Here's my quick-and-dirty patch: [jaap@jaap /data/work/zupr/ZUPR-Embedded-Buildroot ]$ git diff [jaap@jaap /data/work/zupr/ZUPR-Embedded-Buildroot ]$ Kind regards, Jaap Crezee diff --git a/package/slang/slang.mk b/package/slang/slang.mk index 59ef993..f597017 100644 --- a/package/slang/slang.mk +++ b/package/slang/slang.mk @@ -54,4 +54,6 @@ SLANG_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static SLANG_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static endif +SLANG_CONF_OPTS += --without-onig + $(eval $(autotools-package))