[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packaging Jami progress

From: Jan Wielkiewicz
Subject: Re: Packaging Jami progress
Date: Tue, 3 Dec 2019 16:44:02 +0100

I started working on updating Jami to the latest version and it seems
it needs libnatpmp, because without it, compilation fails during doing
something connected to UPnP.
For that purpose I started packaging libnatpmp, but during the "install"
stage, it fails with the following error:
starting phase `install'
install -p -d /usr/include
install: cannot create directory ‘/usr’: Permission denied
make: *** [Makefile:95: install] Error 1
command "make" "install"
failed with status 2

I tried chmoding and making files writable, but it didn't work or I did
something wrong.
Here's the sketch of the package:

(define-public libnatpmp
    (name "libnatpmp")
    (version "20150609")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    name "-" version ".tar.gz"))
    (build-system gnu-build-system)
       (modify-phases %standard-phases
                      (delete 'configure)
                      (delete 'check))
       (list (string-append "prefix=" (assoc-ref %outputs "out")))))
    (home-page "";)
    (synopsis "C Library implementing NAT-PMP")
     "libnatpmp is a portable and asynchronous implementaiton of the NAT Port 
Mapping Protocol (NAT-PMP) written in C.")
    (license license:bsd-3)))

How do we deal with problems like these? I checked the makefile and it
doesn't seem to have the "/usr" path hardcoded - it has the $(PREFIX)

Jan Wielkiewicz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]