From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QFF4N6nib2P2EwEAbAwnHQ (envelope-from ) for ; Sat, 12 Nov 2022 19:15:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QEZlN6nib2ORIQEAauVa8A (envelope-from ) for ; Sat, 12 Nov 2022 19:15:05 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A5A0715212 for ; Sat, 12 Nov 2022 19:15:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otv1b-000859-0U; Sat, 12 Nov 2022 13:14:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otv1Z-00084z-J6 for help-guix@gnu.org; Sat, 12 Nov 2022 13:14:37 -0500 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otv1X-0000Rb-Jb for help-guix@gnu.org; Sat, 12 Nov 2022 13:14:37 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4N8kHZ0Jg3zDqXQ; Sat, 12 Nov 2022 18:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1668276874; bh=LI4Y8B1l6MTW4KTUS2EbrBREeiedcoXRaDJ4EFuHnNQ=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=fN8pOe3mpPLE2t2EHntHVSbSfXL9r/7RLfFyAvZun65hNjHvItMAbRfEivrBkLNWF DsfBJN84UDDVNmhXZGPlgUC2oN5a+BHXcZseATDHiralrebljl39xRkMYvtL66lIZD wzfylaJ42oC/t5vbINpC0KevIF6mgxj7NrRFUEhM= X-Riseup-User-ID: BE8A79BB187F9C01595DC37F6F07889F4630CC7FEBF26C4AED661F7DD8CA0DC2 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4N8kHY2Xcmz5vcN; Sat, 12 Nov 2022 18:14:33 +0000 (UTC) References: <865yfkfb89.fsf@catsu.it> From: Csepp To: Chris Keschnat Cc: help-guix@gnu.org Subject: Re: Compiling vterm: cc: command not found Date: Sat, 12 Nov 2022 19:11:48 +0100 In-reply-to: <865yfkfb89.fsf@catsu.it> Message-ID: <871qq8yr97.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668276905; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5l13bSk3eXZh5Jg1H0EEYVcKk2/J+Tmb4IFBCgwEHR0=; b=W5hWcLLdSu35kI6ePYyKovFQWoeo8vCm8Q4JbJPr5RLEUb7Ntjqhlt6livoSdlJbJTWVAB F5CBaQsv9Z5ZT41Fvb9/6U4em7lNF6MyR6admPDWSkmQg93WouqEDHjNNofzK4tU/I26Hj JYXJQvOfHFv6QeKczYkARPeBUQ/UaIoRsVR0njc0s+eU7QPJteGy5myhkmHDWaycdgVNi+ cCaXpX9hkdHObV2ByYR99tEGcCU7yuqizyJQ8EQqXL2ugkJMobWmsVDCnLLQXD+c1BifRQ iFDaICjkaklsVb98gpSxdUjB8zFL8fFgiSvkMKGbVnQ/QOdCfsiOoilWqyvOSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668276905; a=rsa-sha256; cv=none; b=abMm+I6KlpLcsi+3A6CimP6moHPMz6iXyWAM8aCRdF2Us9sKLDw2jiLPVV8Mrg1cM3Gpko 07GtrqOkhOs+T96cSpzpPMe9/LKm7uxywmuzAgSyFISqp9mK2BslOkxowkb8s04qxHF8u7 mG5RzJ/CZhuFcj4CUDvqGtrjCyJ4mP0r2X3441n4+3LmeEQzH2+rCGJpHScw6slQLVVwlB yn5p54pDT2RhX0/vOrizo628/ulCJ1ntbkGVTVZJHuxFYHLwCkL7QeOnz79x5auW+x42tS DIuJlKXa7Eb9LlFKBFJfpYhlozhn+hH4SRuKINxSFP+UMUdXkOkyMdHsK56Y9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=fN8pOe3m; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=fN8pOe3m; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A5A0715212 X-Spam-Score: -4.14 X-Migadu-Scanner: scn1.migadu.com X-TUID: mjU/U+l57niT Chris Keschnat via writes: > Hello, after todays ~guix pull~, I cannot compile vterm anymore. I do not > seem to have ~cc~ installed (anymore?). Am I missing a package? I have > ~make~, ~cmake~, ~gcc~, and ~gcc-toolchain~ installed and didn't change > anything on that front. > > > Steps to reproduce (following the "Manual installation" from the docs[1]): > > #+begin_src sh > > git clone https://github.com/akermu/emacs-libvterm.git > cd emacs-libvterm > mkdir -p build > cd build > cmake .. > make > > #+end_src > > > Results in: > > #+begin_src sh > > [ 8%] Performing update step for 'libvterm' > [ 16%] No patch step for 'libvterm' > [ 25%] No configure step for 'libvterm' > [ 33%] Performing build step for 'libvterm' > CC src/encoding.c > /home/ck/.guix-profile/bin/libtool: line 1933: cc: command not found > make[3]: *** [Makefile:63: src/encoding.lo] Error 1 > make[2]: *** [CMakeFiles/libvterm.dir/build.make:86: libvterm-prefix/src/libvterm-stamp/libvterm-build] Error 2 > make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/libvterm.dir/all] Error 2 > make: *** [Makefile:91: all] Error 2 > > #+end_src > > [1] https://github.com/akermu/emacs-libvterm > > > Thanks > > Chris Without having looked at the package, what I would recommend and what I usually try in a case when something tries to use cc is set the CC environment variable or configure flag. Its value should ideally be #$(cc-for-target). So you would have something like in modify-phases: (add-before 'configure 'set-cc (lambda _ (setenv "CC" #$(cc-for-target))))