From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Can't configure guix, no guile-sqlite3 Date: Thu, 02 Aug 2018 00:12:06 -0700 Message-ID: <87o9elcke1.fsf@gmail.com> References: <6c8ead34-ddc5-1916-8333-68d87beacbf1@freenet.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fl7mV-0000bf-4a for help-guix@gnu.org; Thu, 02 Aug 2018 03:12:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fl7mQ-0000R8-3W for help-guix@gnu.org; Thu, 02 Aug 2018 03:12:18 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:41899) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fl7mP-0000QP-RM for help-guix@gnu.org; Thu, 02 Aug 2018 03:12:14 -0400 Received: by mail-pg1-x52b.google.com with SMTP id z8-v6so688153pgu.8 for ; Thu, 02 Aug 2018 00:12:13 -0700 (PDT) In-Reply-To: <6c8ead34-ddc5-1916-8333-68d87beacbf1@freenet.de> (Thorsten Wilms's message of "Mon, 23 Jul 2018 21:51:55 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Thorsten Wilms Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Thorsten! Thorsten Wilms writes: > On 17.06.2018 22:24, Thorsten Wilms wrote: > >> git clone https://git.savannah.gnu.org/git/guix.git >> cd guix >> *add package definition, commit right here, or maybe later* >> guix environment guix >> ./bootstrap >> ./configure --localstatedir=3D/var >> ./pre-inst-env guix package -i *new-package* >> >> configure fails with: >> checking whether Guile-Sqlite3 is available and recent enough... no > > Since there was no solution, I completely removed guix (in particlar, > rm'ed the store and stuff below /var) and started again with the > 0.15.0 binary tarball. That sucks. I'm sorry you had to go through all that effort - and it still didn't work! I've definitely been there before. :-( > Back to main concern: configure now (after several guix pull) fails with: > --- > configure: error: Package requirements (sqlite3 >=3D 3.6.19) were not met: > No package 'sqlite3' found > --- It sounds like you're saying this error occurs when you've run "guix environment guix", and then you run "./configure --localstatedir=3D/var". Is that right? I would try the following things if you haven't already: * Run "guix pull" at least twice - without using ./pre-inst-env. It sounds like you've already done this. The reason why I'd recommend running it twice is because in some cases (but not always), it might take more than one "guix pull" to fully upgrade your installed Guix from a sufficiently old version. * Start from a clean slate. Make sure you have a backup of the things you've changed in your repository, and then run this command to destroy everything and return the repository to a clean state (WARNING: this will destroy any changes you have left in the repository!!!): make distclean git clean -dfx git reset --hard * Make sure you're using a recent Guix: git pull * Now try to build again: ./bootstrap ./configure --localstatedir=3D/var make -j ./pre-inst-env guix --version * Assuming it works, re-introduce your changes, and try installing the new package again. FWIW, you might also consider trying to develop your packages by putting the package definitions on your own GUIX_PACKAGE_PATH (see "Package Modules" in the manual), rather than using ./pre-inst-env. GUIX_PACKAGE_PATH is the recommended way for adding custom packages, while ./pre-inst-env is technically an unsupported hack that is primarily useful for developing Guix itself. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAltirsYACgkQ3UCaFdgi Rp0lZBAA0usYZlFw7Zaumxp0xaElzUs93vy7F0FZ3lsUPra6N0btobR89cCFLKxm s65gIVuf2TQ1pY3N757hWE4/yPUgtLQogp4Sp03Gae8V2DI1YOBdktaV4UxgCYQc zpt5rscqIgPpxZaWpSwauxaX5A9uqqMK8rGWarVcWUFqV642qvWS+UFtL4UihyD9 qf4Y6docoLQidWid40pQxvVNi9r+JwIH4LzBqPiCBhffE5rUfsbPBjmbQR/amYH3 IwOBiTlmbi1SYG+gRdo1b3AQF43qIE+K8pL8SDXU2zLrz23+L8YYdzQsdGPy6Mqn c/4dra9ju1wOgjzUIARyMuLDE0teGaNj/pZjPTEDIGgPWzEPti5uq6h+DB7+PNm5 1d5RAuaytiWEbwDfVLR+CqAzOWyMDNBJkXEvVWtj7+bH9Vj4ufK8F3+4roPpfDAE y2cLxFIbWfwvvC2A69McNrbsZ/5VfcLK792yHAp+Fg/PbSH5/ST9aLJNRdcAoPAC y1r8xSJKHU2mKxCyCBp7ORzYWsk5TU+tmfEthWHpEo/ZxffCNUZaOHSGmCmFgv5m zK5ZeadtwIPwK+xP+0tNTJq8pxmg+NR16a7Nxm1+QKB39kiLZeXtpWPM9AOKSsOG FcERevCj+uTlZabVjm+iMVLws+GczioTjAHxTFoL6g6wAtPoOEk= =u3Vg -----END PGP SIGNATURE----- --=-=-=--