all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: mbcladwell@stihie.net
To: help-guix@gnu.org
Subject: No Guile development packages were found.
Date: Mon, 27 Jul 2020 06:52:52 -0500	[thread overview]
Message-ID: <20200727065252.Horde.zwuqgyOS38xl3-x-35QYgsn@www.stihie.net> (raw)


Hi,
I would like to upgrade guile-json in my local store.
I start with
$guix pull
$guix package -u  (didn't do anything)

Modifying the template at  
https://guix.gnu.org/blog/2018/a-packaging-tutorial-for-guix/
I create the file guile-json.scm:

(use-modules (guix packages)
              (guix download)
              (guix build-system gnu)
              (guix licenses))

(package
   (name "guile-json")
   (version "4.3.2")
   (source (origin
             (method url-fetch)
             (uri (string-append  
"https://download.savannah.gnu.org/releases/guile-json/guile-json-"  
version  ".tar.gz"))
             (sha256
              (base32
               "0255c7f053z4p9mqzhpxwbfx3y47j9nfvlgnm8xasdclyzmjl9y2"))))
   (build-system gnu-build-system)
   (synopsis "Hello, Guix world: An example custom Guix package")
   (description
    "GNU Hello prints the message \"Hello, world!\" and then exits.  It
serves as an example of standard GNU coding practices.  As such, it supports
command-line arguments, multiple languages, and so on.")
   (home-page "https://www.gnu.org/software/hello/")
   (license gpl3+))


Then I run:

$guix package --install-from-file=./Downloads/guile-json/guile-json.scm
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following package will be upgraded:
    guile-json 3.2.0 → 4.3.2

The following derivations will be built:
    /gnu/store/advvlsn24m0jc84ivqsfrd9y9bicfsan-profile.drv
    /gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv
The following profile hooks will be built:
    /gnu/store/3z61qjph0ww2bizg904vmqn6p5cwgcyq-fonts-dir.drv
    /gnu/store/9nnjb0y55hb5ai9ss3zrljyx6npxqjip-ca-certificate-bundle.drv
    /gnu/store/jmris7xjszh69gci0mpxw76isrirb9dk-info-dir.drv
    /gnu/store/yyp1p3mpsz5azfl59sdlncr0zcscj6qx-manual-database.drv
building /gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv...
| 'configure' phasebuilder for  
`/gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv'  
failed with exit code 1
build of  
/gnu/store/w58xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv failed
View build log at  
'/var/log/guix/drvs/w5/8xzy3xz0xf4ljr84k9q35kyriapvq6-guile-json-4.3.2.drv.bz2'.
cannot build derivation  
`/gnu/store/advvlsn24m0jc84ivqsfrd9y9bicfsan-profile.drv': 1  
dependencies couldn't be built
guix package: error: build of  
`/gnu/store/advvlsn24m0jc84ivqsfrd9y9bicfsan-profile.drv' failed


Looking at the log file, the final lines are:

checking for pkg-config... no
configure: checking for guile 3.0
configure: checking for guile 2.2
configure: checking for guile 2.0
configure: error:
No Guile development packages were found.

Please verify that you have Guile installed.  If you installed Guile
from a binary distribution, please verify that you have also installed
the development packages.  If you installed it yourself, you might need
to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.

command  
"/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash"  
"./configure" "CONFIG_SHELL=/gnu/store/29jhbbg1hf55$


I am on Debian 9 working with guile v 2.2.7, dev files are installed:

apt-get install guile-2.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
guile-2.0-dev is already the newest version (2.0.13+1-4).

In my .bashrc I set the variable such that at the terminal prompt:

echo $PKG_CONFIG_PATH
/home/mbc/.guix-profile/lib/pkgconfig

Where did I go wrong?
Thanks
Mortimer









             reply	other threads:[~2020-07-27 12:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-27 11:52 mbcladwell [this message]
2020-07-27 13:37 ` No Guile development packages were found Efraim Flashner
2020-07-27 18:29   ` mbcladwell
2020-07-27 20:25     ` Julien Lepiller
2020-07-28  8:50       ` mbcladwell
2020-07-28 19:25       ` mbcladwell
2020-07-27 13:48 ` Julien Lepiller
2020-07-27 18:58   ` mbcladwell
2020-07-27 20:21     ` Julien Lepiller

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

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

  git send-email \
    --in-reply-to=20200727065252.Horde.zwuqgyOS38xl3-x-35QYgsn@www.stihie.net \
    --to=mbcladwell@stihie.net \
    --cc=help-guix@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.