bug-guile-sdl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Guile-SDL) Problem building on OS X


From: Thien-Thi Nguyen
Subject: Re: (Guile-SDL) Problem building on OS X
Date: Sat, 24 Aug 2013 02:07:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

() "Thompson, David" <address@hidden>
() Fri, 23 Aug 2013 15:25:03 -0400

   "I've tried to (the paths are correct :):

   ./configure --prefix=/usr/ \
   CPPFLAGS=-I/usr/local/Cellar/sdl/1.2.15/include/ \
   LDFLAGS=-L/usr/local/Cellar/sdl/1.2.15/lib --disable-ttf

   And got:

   ERROR: In procedure open-file:
   ERROR: In procedure open-file: No such file or directory:
   "/usr/include/SDL/SDL_video.h""

This is from the script build-aux/guile-baux/k2c, which scans various
headers to produce the enums and flags init data, in src/k/.  Although
k2c can take ‘-I DIR’, the build system currently does not make use of
that option.  There are two possible workarounds:

- Modify k2c (line 370) to substitute "/usr/include" w/ "DIR".

- Modify the src/k/Makefile.in pattern rules ‘.kf.c’ and ‘.kp.c’ to
  add ‘-I DIR’ to the k2c invocation, and invoke config.status at
  top-level to re-instantiate src/k/Makefile.

Both of these probably require "make -C src/k/ clean" (at a minimum) to
ensure known-good (re)start state.  

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

Attachment: pgpueJzHPgMTa.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]