[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: |
Sun, 26 Oct 2014 18:32:47 -0400 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) |
Hi!
Sorry for taking such a long time to get back to you. Thanks for
looking into this issue.
Thien-Thi Nguyen <address@hidden> writes:
> () David Thompson <address@hidden>
> () Mon, 13 Oct 2014 20:45:42 -0400
>
> Guix automatically sets environment variables [...] to the
> right values. The 'configure' script successfully detects
> the libraries.
>
> Thanks for reporting these problems.
>
> Could you please post the config.log file? In particular, i'm
> interested in seeing where all the ‘-I DIR’ values end up.
Attached.
> I just added module ‘(guile-baux minus-i-dirs)’ to Guile-BAUX:
>
> http://www.gnuvola.org/software/guile-baux/
>
> and have pushed ephemeral branch ‘q-fix-k2c’ towards that end.
> Here is a patch that you can try to apply against a freshly
> unpacked 0.5.1 tarball to see how these changes fare:
>
I added this patch to my Guix package and the build still failed.
Just for the record, here's my current package definition, in which I
disable ttf and mixer just to see if things would fare better:
(define-public guile-sdl
(package
(name "guile-sdl")
(version "0.5.1")
(source (origin
(method url-fetch)
(uri
(string-append "mirror://gnu/guile-sdl/guile-sdl-"
version ".tar.xz"))
(sha256
(base32
"126n4rd0ydh6i2s11ari5k85iivradlf12zq13b34shf9k1wn5am"))
(patches
(list (search-patch "guile-sdl-fix-k2c.patch")))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("guile" ,guile-2.0)
("sdl" ,sdl)
("sdl-gfx" ,sdl-gfx)
("sdl-image" ,sdl-image)
("sdl-mixer" ,sdl-mixer)
("sdl-ttf" ,sdl-ttf)))
(arguments
'(#:configure-flags '("--disable-ttf" "--disable-mixer")
#:make-flags
(let ((sdl-image (assoc-ref %build-inputs "sdl-image")))
(list (string-append "CFLAGS="
"-I" sdl-image "/include/SDL ")))))
(synopsis "SDL bindings for GNU Guile.")
(description "Guile-SDL is a set of modules that provide bindings for SDL
to enable Guile programmers to do all the nice things you can do with SDL.")
(home-page "http://gnu.org/s/guile-sdl")
(license gpl3+)))
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
- Re: (Guile-SDL) Build system woes,
David Thompson <=