unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Mathieu Othacehe <m.othacehe@gmail.com>
To: guy fleury <hoonandon@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: about  -lcurses
Date: Sat, 10 Nov 2018 08:27:39 +0900	[thread overview]
Message-ID: <87wopln85w.fsf@gmail.com> (raw)
In-Reply-To: <b958fdd3e5ee6350371eb50f2ed9b59de3f4f7eb.camel@gmail.com>


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

  reply	other threads:[~2018-11-09 23:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09 19:46 about -lcurses guy fleury
2018-11-09 23:27 ` Mathieu Othacehe [this message]
2018-11-10  1:55 ` Maxim Cournoyer
2018-11-10  7:35   ` guy fleury
2018-11-10  9:46     ` Pierre Neidhardt
2018-11-10 10:12       ` Mathieu Othacehe
2018-11-10 10:59       ` Hy Od
2018-11-10 11:01         ` Hy Od

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wopln85w.fsf@gmail.com \
    --to=m.othacehe@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=hoonandon@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).