From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH] Add extremetuxracer (Note: needs help!) Date: Mon, 27 Apr 2015 10:18:21 -0400 Message-ID: <87vbgh7iz6.fsf@fsf.org> References: <87sibmi38e.fsf@earlgrey.lan> <878udexhxz.fsf@gmail.com> <87pp6pitxb.fsf@earlgrey.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymjrf-0004Oy-0Z for guix-devel@gnu.org; Mon, 27 Apr 2015 10:18:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymjrb-0004e8-1B for guix-devel@gnu.org; Mon, 27 Apr 2015 10:18:26 -0400 Received: from mail.fsf.org ([208.118.235.13]:43074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymjra-0004e4-Tp for guix-devel@gnu.org; Mon, 27 Apr 2015 10:18:22 -0400 In-Reply-To: <87pp6pitxb.fsf@earlgrey.lan> 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: Christopher Allan Webber , =?utf-8?B?5a6L5paH?= =?utf-8?B?5q2m?= Cc: guix-devel Christopher Allan Webber writes: > But now I am having a new problem: > > g++ -DHAVE_CONFIG_H -I. -DETR_DATA_DIR=\"/gnu/store/bhfr0gh4nlna1k7wcy2qm1w4d0gsmwh5-extremetuxracer-0.6.0/share\" -g -O2 -I/gnu/store/s3myrsqza4nnh4lrhmh51r9vzc4392pm-freetype-2.5.5/include/freetype2 -std=c++11 -MT course.o -MD -MP -MF .deps/course.Tpo -c -o course.o course.cpp > In file included from bh.h:62:0, > from common.h:21, > from common.cpp:22: > /gnu/store/g5xq9m0l5qclk0f47mf6vybrnqav0vmg-sdl-image-1.2.12/include/SDL/SDL_image.h:27:17: fatal error: SDL.h: No such file or directory > #include "SDL.h" [snip] > sdl is an input, so I don't know what's going on... The problem here is that the SDL header file is actually in /include/SDL/SDL.h. So, "SDL.h" should be "SDL/SDL.h". To fix this, you could add a phase to patch the source appropriately, or add a make flag (#:make-flags in the 'arguments' package field) that adds '(string-append (assoc-ref %build-inputs "sdl") "/include/SDL")' to the include path. Good luck! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate