[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (Guile-SDL) Build system woes
From: |
David Thompson |
Subject: |
Re: (Guile-SDL) Build system woes |
Date: |
Sat, 01 Nov 2014 10:22:58 -0400 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) |
Hi Thien-Thi,
I have made some progress on this issue, but I'm not all the way there
yet. I learned how to improve my package recipe to make finding the SDL
headers not a problem anymore. I was able to create a "union" of the
SDL libraries that creates a unified include/SDL with all of the
necessary headers.
However, I run into a new problem:
../../build-aux/guile-baux/gbaux-do k2c -o init.c init.kf
-I/gnu/store/7dvysm1cpb64qisv6wmgmjkksw9vzsji-sdl-union-1.2.15/include/SDL
sdl.c:183:20: fatal error: k/init.c: No such file or directory
#include "k/init.c"
^
compilation terminated.
sdlsurface.c:767:24: fatal error: k/alphalim.c: No such file or directory
#include "k/alphalim.c"
^
compilation terminated.
sdlvideo.c:1310:21: fatal error: k/video.c: No such file or directory
#include "k/video.c"
^
compilation terminated.
c2x: preprocessor had problems (exit val 1)
Makefile:1005: recipe for target 'sdl.x' failed
make[1]: *** [sdl.x] Error 1
make[1]: *** Waiting for unfinished jobs....
I haven't been able to figure out why things in the src/k directory
aren't found. They are there, in the source tree. Do you have any
ideas?
For this build, I set GUILE_AUTO_COMPILE=0 and use the --with-sdl-prefix
configure option to point to the
/gnu/store/7dvysm1cpb64qisv6wmgmjkksw9vzsji-sdl-union-1.2.15 directory
you see above.
Attached is my config.log, in case it helps.
Thanks so much for your help!
config.log
Description: Binary data
--
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate