[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about -lcurses
From: |
Mathieu Othacehe |
Subject: |
Re: about -lcurses |
Date: |
Sat, 10 Nov 2018 08:27:39 +0900 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Hi Guy,
Your package is almost working, the important thing was to specified
"ncurses" as an input like you did.
> on debian it works because -lcurses is a symlink to -lncurses(if i am
> not wrong)
Yes, I guess they are doing some kind of symlinking. To make it work,
you can replace -lcurses by -lncurses, this way:
--8<---------------cut here---------------start------------->8---
#:phases
(modify-phases %standard-phases
(delete 'configure)
(add-before 'build 'curses
(lambda _
(substitute* "src/makefile"
(("lcurses") "lncurses"))
#t)))
--8<---------------cut here---------------end--------------->8---
You also have a small mistake here
> #:make-flags (list (string-append "prefix=" (assoc-ref
^
prefix should be upper case.
Then, you should be able to build your package ;)
Mathieu