all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zacchaeus Scheffer <zaccysc@gmail.com>
To: 50897@debbugs.gnu.org
Subject: bug#50897: Octave package installation
Date: Wed, 29 Sep 2021 14:06:02 -0400	[thread overview]
Message-ID: <CAJejy7=q3BOS1Bj9GgX3XGcaA1T7Q2nfxcM=VtTyT_nJ=3Bheg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]

Hi Guix!

After installing octave, I tried to install the image package in octave in
two ways.  One by running:
> pkg install image-<version#>.tar.gz
where image-<version#>.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

[-- Attachment #2: Type: text/html, Size: 1728 bytes --]

             reply	other threads:[~2021-09-29 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 18:06 Zacchaeus Scheffer [this message]
2021-10-10 20:56 ` bug#50897: Octave package installation Guillaume Le Vaillant
2021-10-11 16:33   ` Zacchaeus Scheffer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJejy7=q3BOS1Bj9GgX3XGcaA1T7Q2nfxcM=VtTyT_nJ=3Bheg@mail.gmail.com' \
    --to=zaccysc@gmail.com \
    --cc=50897@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.