From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iDkzLmtXY2HIJAEAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 23:13:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8HrpKGtXY2EFHgAA1q6Kng (envelope-from ) for ; Sun, 10 Oct 2021 21:13:15 +0000 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 9702A30A5B for ; Sun, 10 Oct 2021 23:13:14 +0200 (CEST) Received: from localhost ([::1]:55596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZg89-00019P-JT for larch@yhetil.org; Sun, 10 Oct 2021 17:13:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZg7y-000165-Cd for bug-guix@gnu.org; Sun, 10 Oct 2021 17:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44371) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZg7y-00005c-4P for bug-guix@gnu.org; Sun, 10 Oct 2021 17:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZg7x-00012m-Nw for bug-guix@gnu.org; Sun, 10 Oct 2021 17:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50897: Octave package installation Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 10 Oct 2021 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50897 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Zacchaeus Scheffer Received: via spool by 50897-submit@debbugs.gnu.org id=B50897.16339003233948 (code B ref 50897); Sun, 10 Oct 2021 21:13:01 +0000 Received: (at 50897) by debbugs.gnu.org; 10 Oct 2021 21:12:03 +0000 Received: from localhost ([127.0.0.1]:55917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZg70-00011c-Sk for submit@debbugs.gnu.org; Sun, 10 Oct 2021 17:12:03 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZg6v-000110-Pb for 50897@debbugs.gnu.org; Sun, 10 Oct 2021 17:12:01 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8309D240028 for <50897@debbugs.gnu.org>; Sun, 10 Oct 2021 23:11:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1633900311; bh=ICI7cCSvnMgNpmTvSqn//C3zY72kbzOFrEjTcsW3Cmg=; h=From:To:Cc:Subject:Date:From; b=FIPtKZFCQ85VHRBrGIViI4bcZ7k0vnsJxesoMXxZimeYdaTrH/PPzEYlPK1twjGqF COGNAERa+CLPnkUM1yI+rik9rCnE9hFGO93vKNMjr2L8xGjbRzlaI8MBuLKv+40oXN Hlg02JAuG41VQksh9CGeNbdt5bmpsbYvw+9iujwnXNnKPX0yiPJR50rGwY0re3S516 q7X91/J8csPE8J8L9rFTy0jTJVaHqSvDf5q5lW8KSsu2kKoyLRkjvx1NfmQmu2z9dX 0eCrhp9XmA+A9UDUGxjE1n4Ln8wGWKknPCzEtXRi/lcKmwyf60xAprap2Yh/2kTL62 gTPBwMfBKzIAQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HSF3p55FJz9rxB; Sun, 10 Oct 2021 23:11:50 +0200 (CEST) References: From: Guillaume Le Vaillant Date: Sun, 10 Oct 2021 20:56:17 +0000 In-reply-to: Message-ID: <87o87w4may.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 50897@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633900395; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=kXAKf86Ey4H4RAHI6hYl7qebtpuzezQUyIe0gbrOfJs=; b=GCCSZmGv/70Iyts1ebq+1C4SuOwAyBXZbbND7KhegfX/8qv6SXGNLpuWYferoUmrG5HKNP K4IdvJEu3K1Ogwm70yCrg0C/hwNtngozYMWLLF57Ik6O3+1t04bMmFN43FGzx9+6GEUbdd 8AbTZDzEZl4BjaYadiH/uBYdigdr5lRUjmlA2Oziw19XYoZ5YQ8CDRTIAynGNamu9BBBg1 zSMnGUifjBXHDlhlXgKytx4FO3J3EGVslA4wFFt05EOJzaWkRRfLzimMqX7pFsSOAJYoLj 9eSDrGsUI/KMd/BLTySX+2qb11aLsp6742dNOZLN1eSxMAOCFbf7WN9uzvIYCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633900395; a=rsa-sha256; cv=none; b=kmJLSmusNLm/Ts6ALWufss4PUNLwykdxKRHbKDtOnJpzkA4ppiT/EvVQbluDAfLqbm0NWz 5lcA6hx6AbNBmNvoPQArg1jHUagFaYEJIR6knzhS9cdzAiY90Kkp6iZ7GXdvNxX1rAk1NG VP4Jkx2NWVoBS911Y0IlKw7EG83LKcIfbDKU3XMMBNujRuNxzFYfO3cddTmyegGn2GtMgp ZIetdPo/ERgWHdvti+7Ow/r5+AwjLviuQ9JUJ2VLdnCgb803yaLoiFk+lCGnqpV1t4rYjg /+xlSNga8m6pggIkoZdmyS0yUGj25io48g9GZ+VOAdeNfF1S2TUOyRPdac0YIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=FIPtKZFC; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=FIPtKZFC; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 9702A30A5B X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: l26OWkamYhoN --=-=-= Content-Type: text/plain Zacchaeus Scheffer skribis: > Hi Guix! > > After installing octave, I tried to install the image package in octave in > two ways. One by running: >> pkg install image-.tar.gz > where image-.tar.gz is in my cwd. I also tried installing with: >> pkg install -forge image > In both cases, I had the same problem. The first error I was getting was: >>configure: error: in `/tmp/oct-6RV451/image-2.12.0/src': >>configure: error: C++ compiler cannot create executables > > This error can be fixed by installing gcc-toolchain. After doing so, > attempting to install image gives: >>ld: cannot find -loctinterp >>ld: cannot find -loctave > repeatedly (full output below). These libraries seem like they should be > included in the octave installation, and also like they should be absolute > paths. I looked for any instance of octinterp in filenames and found these > in the octave install: > ./include/octave-6.2.0/octave/liboctinterp-build-info.h > ./lib/octave/6.2.0/liboctinterp.la > ./lib/octave/6.2.0/liboctinterp.so.8.0.1 > ./lib/octave/6.2.0/liboctinterp.so > ./lib/octave/6.2.0/liboctinterp.so.8 > ./lib/pkgconfig/octinterp.pc > I tried installing image with these in my cwd, but no dice. Even if these > are the correct library files, octave is installing this in my user > directory so the cwd won't be the same. > > I need this to work for a class, so I'm willing to put in some hours (days) > to make this work, but I'm pretty lost if anyone has ideas on where to go > next. > > Thanks, > Zacchae Hi, I was able to build an octave package after specifying the location of the required libraries using the LDFLAGS environment variable: --8<---------------cut here---------------start------------->8--- export LDFLAGS=-L${GUIX_PROFILE}/lib/octave/6.2.0 octave pkg install xyz.tar.gz pkg load xyz --8<---------------cut here---------------end--------------->8--- However, it would be better to have an octave-build-system making Guix able to build, install and setup Octave packages (e.g. Octave Forge packages). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYWNXFQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j89wAD/bfOBGQEey5kNjask7P705dNFz3/h6VK0eToB BvIZKlQBAIpTtXEMSN5eJxoWzPwr7kVa/v1xKr/e8BESx9fJ52xz =5DJs -----END PGP SIGNATURE----- --=-=-=--