[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about sbcl-package->ecl-package
From: |
Guillaume Le Vaillant |
Subject: |
Re: Question about sbcl-package->ecl-package |
Date: |
Thu, 17 Oct 2019 15:16:45 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Pierre Neidhardt skribis:
> Cool! Thanks for working on this! :)
>
> Does it work for dexador?
I just tried compiling ecl-dexador, and it failed. However I think it
fails for a different reason.
The error is:
--8<---------------cut here---------------start------------->8---
An error occurred during initialization:
No MIME.TYPES file found anywhere!
--8<---------------cut here---------------end--------------->8---
I think it comes from the trivial-mimes library having a hard
reference to the 'sbcl-source' directory in a string:
--8<---------------cut here---------------start------------->8---
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after
'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(let ((anchor "#p\"/etc/mime.types\""))
(substitute* "mime-types.lisp"
((anchor all)
(string-append
anchor "\n"
"(asdf:system-relative-pathname :trivial-mimes
\"../../share/common-lisp/sbcl-source/trivial-mimes/mime.types\")")))))))))
--8<---------------cut here---------------end--------------->8---
I guess in this case writing a 'fix-paths' phase with the path specific
to ECL in the ecl-trivial-mimes package will be necessary...
- Question about sbcl-package->ecl-package, Guillaume Le Vaillant, 2019/10/16
- Re: Question about sbcl-package->ecl-package, Pierre Neidhardt, 2019/10/16
- Re: Question about sbcl-package->ecl-package, Efraim Flashner, 2019/10/16
- Re: Question about sbcl-package->ecl-package, Guillaume Le Vaillant, 2019/10/16
- Re: Question about sbcl-package->ecl-package, Guillaume Le Vaillant, 2019/10/17
- Re: Question about sbcl-package->ecl-package, Pierre Neidhardt, 2019/10/17
- Re: Question about sbcl-package->ecl-package,
Guillaume Le Vaillant <=
- Re: Question about sbcl-package->ecl-package, Guillaume Le Vaillant, 2019/10/17
- Re: Question about sbcl-package->ecl-package, Pierre Neidhardt, 2019/10/17
- Re: Question about sbcl-package->ecl-package, Guillaume Le Vaillant, 2019/10/17
- Re: Question about sbcl-package->ecl-package, Pierre Neidhardt, 2019/10/17
- Re: Question about sbcl-package->ecl-package, Guillaume Le Vaillant, 2019/10/17
- Re: Question about sbcl-package->ecl-package, Pierre Neidhardt, 2019/10/17
- Re: Question about sbcl-package->ecl-package, Pierre Neidhardt, 2019/10/18
- Re: Question about sbcl-package->ecl-package, Guillaume Le Vaillant, 2019/10/18