From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: [GSoC] Continuous integration tool =?utf-8?Q?=C3=A0?= la Hydra. Date: Fri, 29 Jul 2016 21:26:32 +0200 Message-ID: <87invockk7.fsf@gnu.org> References: <871t4ksk0n.fsf@gnu.org> <87vazueezx.fsf@gnu.org> <87lh0pe6y7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTDQf-0002gT-KI for guix-devel@gnu.org; Fri, 29 Jul 2016 15:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTDQb-0006cF-Bs for guix-devel@gnu.org; Fri, 29 Jul 2016 15:26:40 -0400 In-Reply-To: (Florian Paul Schmidt's message of "Fri, 29 Jul 2016 13:20:51 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Florian Paul Schmidt Cc: guix-devel@gnu.org Hello, Florian Paul Schmidt writes: > On 07/25/2016 11:36 PM, Ludovic Court=C3=A8s wrote: > >>> For those willing to follow my work, a Git repository is available here: >>> >>> https://notabug.org/mthl/cuirass >>=20 >> =E2=80=A6 and the README has instructions on how to run it. If anyone h= as spare >> CPU cycles, run Cuirass, =E2=80=98guix publish=E2=80=99, and share. :-) > > Sorry, if this mail comes around twice. Thunderbird crashed :( > > Sadly the instructions to build it are a bit unclear. I tried: > > fps@guix ~/cuirass$ guix environment --ad-hoc gcc gcc:lib automake guix > guile > guix environment: warning: ambiguous package specification `guile' > guix environment: warning: choosing guile-2.0.11 from > gnu/packages/guile.scm:131:2 > fps@guix ~/cuirass [env]$ > GUILE_LOAD_PATH=3D$GUILE_LOAD_PATH:/home/fps/guix/ ./configure > > > > > checking for a BSD-compatible install... > /run/current-system/profile/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... > /run/current-system/profile/bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... no > checking whether make supports nested variables... no > checking whether make supports nested variables... (cached) no > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for pkg-config... no > checking for GUILE... no > configure: error: in `/home/fps/cuirass': > configure: error: The pkg-config script could not be found or is too > old. Make sure it > is in your PATH or set the PKG_CONFIG environment variable to the full > path to pkg-config. > > Alternatively, you may set the environment variables GUILE_CFLAGS > and GUILE_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > To get pkg-config, see . > See `config.log' for more details I have tested successfully with the following command on a foreign system: guix environment --ad-hoc automake pkg-config guile guix libgcrypt sqlite= guile-sqlite3 Tell me if it works for you. > How about including a guix package definition then we can easily build > it assuming "we" know how to do out-of-guix-tree package building :) It would indeed be nice to provide an easy way for Guix users to install Cuirass. IMHO package definitions meant as a development build tool is confusing and should be avoided. Nonetheless, I think it is useful to document the previous 'guix environment ...' command in the README. Thank you for your feedback. --=20 Mathieu Lirzin