From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 29 14:06:25 2021 Received: (at submit) by debbugs.gnu.org; 29 Sep 2021 18:06:25 +0000 Received: from localhost ([127.0.0.1]:50191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVdyL-0000CA-0c for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:06:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:38932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVdyJ-0000C3-2g for submit@debbugs.gnu.org; Wed, 29 Sep 2021 14:06:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVdyH-0007L7-4V for bug-guix@gnu.org; Wed, 29 Sep 2021 14:06:22 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:46862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVdyE-0001fb-0k for bug-guix@gnu.org; Wed, 29 Sep 2021 14:06:19 -0400 Received: by mail-ed1-x52f.google.com with SMTP id dn26so11842568edb.13 for ; Wed, 29 Sep 2021 11:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=+AqDErlFC+tmwsU7MZxe/Ov1Li65Ymt7DiYSzTWGTfw=; b=aXPzUlq2K6+k8ijsEphSPjwxE5AEcBfP/zLZ+Xd9boCZiQlegWOkC4YN36NEO4yZp1 O3qY5XSnnAZkZ4SFTbW0wnjalT2o355VrfRA+RIxhLl8KLMH7XKS4LSbYgLmE5e1CJQy MrrDNYUfzYW1mM67lQzCg2fLtGNhMqwZFg0BN1tVR0OVEoQZchzgaXRtYTi9awmGwT+u hNK/3MhT6IivF5cw4Tk2QpAYKBc5w4sQNPmjjmjdxJ9MT0v6SAgq3tS2tmi5oJt21K9f 054APWt1f8BibLAyP8xu+zrtYLBiU02I81VTTashKMk1HEJ4nk3aib9zBhDUJCzwjbqE Kt/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+AqDErlFC+tmwsU7MZxe/Ov1Li65Ymt7DiYSzTWGTfw=; b=iAAphpURt4TCswZxeUsFBoebv3/Um+2eHKKE69PiW6beQ4zRN+9OXulK4opco5bx5t Y0ia2gCG3ncid73espAurInbrLFhkCzaD8bWgRW2bUWHqRjt/kbOc//z3T3SmGEEK5/c J69acLFXlhn5PdKHHkxUl6jdi9UXl/leEPDgHcPbLGIpY9kTXwGZP+wePtVT3OTQX6Ah Kx896pWS1m0Ma/JmU3vwXKiluAMG25HtxAbyjAwpse4VNJiES4mrj9TWYMoP+iGNPcAF RWZLvli5yg3TwjT1izVXts+DFYS/6pyy0U5VWoxNvc0aAqplGmK6fEwp3N8XB3VK4CoY kTyw== X-Gm-Message-State: AOAM533vZHAEAhMccjuXZQg/KFGKTKwcYSSbCQpGIHQqzWh6T+b0XzbC l2/PuAXYjYJYU4ZU0qpnYVaJz86CPskOcaoqyx8Mz1BeEyrfCOCq X-Google-Smtp-Source: ABdhPJy0F6t5iQMLfhGd/6t/0fzb8jqeSCWkr0bhXvwohliqMc1OoaIknS+Ouk03pKwuv4iRbBEMES35cataBHdlefE= X-Received: by 2002:a50:9d49:: with SMTP id j9mr1468619edk.39.1632938773387; Wed, 29 Sep 2021 11:06:13 -0700 (PDT) MIME-Version: 1.0 From: Zacchaeus Scheffer Date: Wed, 29 Sep 2021 14:06:02 -0400 Message-ID: Subject: Octave package installation To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="000000000000871ec105cd262f61" Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=zaccysc@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000871ec105cd262f61 Content-Type: text/plain; charset="UTF-8" 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 --000000000000871ec105cd262f61 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Guix!

After installing octave, I= tried to install the image package in octave in two ways.=C2=A0 One by run= ning:
> pkg install image-<version#>.tar.gz
where image-<= version#>.tar.gz is in my cwd.=C2=A0 I also tried installing with:
&g= t; pkg install -forge image
In both cases, I had the same problem= .=C2=A0 The first error I was getting was:
>configure: error: in `/tm= p/oct-6RV451/image-2.12.0/src':
>configure: error: C++ compiler c= annot create executables

This error can be fix= ed by installing gcc-toolchain.=C2=A0 After doing so, attempting to install= image gives:
>ld: cannot find -loctinterp
>ld: cannot find -lo= ctave
repeatedly (full output below).=C2=A0 These libraries seem like th= ey should be included in the octave installation,=C2=A0and also like they s= hould be absolute paths.=C2=A0 I looked for any instance of octinterp in fi= lenames and found these in the octave install:
./include/octave-6.2.0/oc= tave/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.=C2=A0 Even if these are the correct lib= rary files, octave is installing this in my user directory so the cwd won&#= 39;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= 9;m pretty lost if anyone has ideas on where to go next.

Thanks,
Zacchae
--000000000000871ec105cd262f61-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 10 17:12:03 2021 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 To: Zacchaeus Scheffer Subject: Re: bug#50897: Octave package installation 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50897 Cc: 50897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 12:34:12 2021 Received: (at 50897) by debbugs.gnu.org; 11 Oct 2021 16:34:12 +0000 Received: from localhost ([127.0.0.1]:60781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZyFf-0005yC-VP for submit@debbugs.gnu.org; Mon, 11 Oct 2021 12:34:12 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:34649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZyFe-0005xx-7H for 50897@debbugs.gnu.org; Mon, 11 Oct 2021 12:34:10 -0400 Received: by mail-ed1-f44.google.com with SMTP id g10so69324160edj.1 for <50897@debbugs.gnu.org>; Mon, 11 Oct 2021 09:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9OGMbW3YmDY1S+8MbXp1q1eNrgBi6HFNctkDzrwhBj0=; b=CuA3nDIz42YvEV2LBeKuBj9U402BuflMaY14IrXD3kvnTsX2oHYbEXId0bZKEebf1K 2uiKjSwCqnkfMPk4odrfvxvUgT0bU4LauL4jxV6uLF8A/kb2hCXzzUdS70gJQPbFwRcF xLUi6/MxPl5bGWLhmCGaF3VFTI+Yqro1zJD8aq0gE0krhtqqDEZ3LarsYJ00dxb03UUg /mMdByR68DDPrdLg9Ksve+fw55VttLcDpuJ/keN6hIYoNMOgkVV8r1uzRU/7AX62NRLw D69NFMzvABD63KSKZ/BcnSEDyPHNY1eKMQ+B55kcS2tu80sNokngV9/xbZUSHki7cJqe Kzag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9OGMbW3YmDY1S+8MbXp1q1eNrgBi6HFNctkDzrwhBj0=; b=wD7+A6H8vBgjWsDZHcyY6+9oKmh87GVohEJAy9GLdCekjpNU75N/XslpHFiUTfGwDG v66x7jR1xdel/kqV60VOPa1B1G+0o9puWqraMtNhEotUBPzf4M3ON0QAnTXtyhyB+w8m nV4cFuzcYkYGNXX0aXnVf3V7gGsZ3CGnhyhfaYef7zGN3Infg2q8v6Ly12m12pB4JWtX xYLJOInyjCH7jQgCcEysEHDd4TYwdKtSD9VpugR+wo6oKGa5Eqx+CglCFhc6JdC2+apv JXn42YgRm8S3++JWGWXDoeCS+0xGJm5FobvSCbQD3pGwEEjfztW8PcH8tTk9DNAfJqWL IOPQ== X-Gm-Message-State: AOAM530qZc1OC12FUb8kz55zZj+TuwPozE9ey7c/4LMgnoohILboLLHA 6ij/coDsuwYVkPjy6wgPajaXJ9JPK+7Y90wNORQ= X-Google-Smtp-Source: ABdhPJwRT2y/wQ+ks1ujuQ3qv+PrAi/0R4ZY2VCenwN7s5NTHb6fD9Th9jiJV7x+GN+gvlBzD2BMHHBOeJf9hhVuhog= X-Received: by 2002:a05:6402:11cb:: with SMTP id j11mr30918569edw.124.1633970043954; Mon, 11 Oct 2021 09:34:03 -0700 (PDT) MIME-Version: 1.0 References: <87o87w4may.fsf@kitej> In-Reply-To: <87o87w4may.fsf@kitej> From: Zacchaeus Scheffer Date: Mon, 11 Oct 2021 12:33:53 -0400 Message-ID: Subject: Re: bug#50897: Octave package installation To: Guillaume Le Vaillant Content-Type: multipart/alternative; boundary="0000000000000b294d05ce164cf4" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50897 Cc: 50897@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000000b294d05ce164cf4 Content-Type: text/plain; charset="UTF-8" That certainly works as a hack. I ended up installing from source locally because I needed it to work now. It is strange that my local build didn't encounter this problem when all I did was grab the tarball, untar, cd in and >./configure --prefix=~/.local && make && make install which should be more or less equivalent to how guix builds it (build system is gnu-build-system). An octave-build-system is definitely a good idea, but the ability to install octave packages the "normal" way should probably be resolved first and preserved (just like you can still install emacs packages through (M)ELPA or through guix). -zacchae --0000000000000b294d05ce164cf4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That certainly works as a hack.=C2=A0 I e= nded up installing from source locally because I needed it to work now.=C2= =A0 It is strange that my local build didn't encounter this problem whe= n all I did was grab the tarball, untar, cd in and
>./configure --prefix=3D~/.local && make && make insta= ll
which should be more or less equivalent to how guix builds it (build= system is gnu-build-system).=C2=A0 An octave-build-system is definitely a = good idea, but the ability to install octave packages the "normal"= ; way should probably be resolved first and preserved (just like you can st= ill install emacs packages through (M)ELPA or through guix).

=
-zacchae
--0000000000000b294d05ce164cf4--