From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: About webkitgtk head file path. Date: Fri, 22 May 2015 15:29:28 -0400 Message-ID: <87wq00csx3.fsf@fsf.org> References: <87mw0wttj9.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvsdZ-0004SO-2u for guix-devel@gnu.org; Fri, 22 May 2015 15:29:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvsdY-0004FU-Az for guix-devel@gnu.org; Fri, 22 May 2015 15:29:41 -0400 Received: from mail.fsf.org ([208.118.235.13]:39229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvsdY-0004FQ-8Z for guix-devel@gnu.org; Fri, 22 May 2015 15:29:40 -0400 In-Reply-To: <87mw0wttj9.fsf@163.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix Cc: Feng Shu Feng Shu writes: > I want to build emacs xwidget branch, which require webkitgtk-2.4. > the problem is: > > > webkitgtk-2.4 package put head files to: > > /gnu/store/dl8z49pzl3l7wbh2q0hp7dxdxm40vjjj-webkitgtk-2.4.8/include/webkitgtk-1.0/webkit > > while xwidget.c include webkit head file like below. > > can't find the head files and build fail. how to deal with this problem. > > #+BEGIN_COMMENT > #include > #include > #include > #include > #include > #include > #include > #+END_COMMENT The build system should be configured such that 'gcc' is run with a flag like: -I /gnu/store/dl8z49pzl3l7wbh2q0hp7dxdxm40vjjj-webkitgtk-2.4.8/include/webkitgtk-1.0 I'm surprised this isn't the case by default. Perhaps there's a configure flag needed to point the build system towards the right prefix for webkitgtk? -- David Thompson GPG Key: 0FF1D807