From: Mike Gran <spk121@yahoo.com>
To: paul wisehart <paul@oldcode.org>
Cc: guile-user@gnu.org
Subject: Re: Help installing guile-ncurses
Date: Sun, 5 Feb 2023 16:20:41 -0800 [thread overview]
Message-ID: <Y+BH2UXdbAyYzKeS@spikycactus.com> (raw)
In-Reply-To: <4f2d7c3e-0c56-4209-8a58-a6367feab7fc@app.fastmail.com>
On Sun, Feb 05, 2023 at 06:44:28PM -0500, paul wisehart wrote:
> Hi!,
>
> I am pretty new to guile, I am trying to install guile-ncurses.
>
> I'm on OpenBSD 7.2
>
> I have installed the guile3 package.
> That's the only guile OS package I see.
>
> I was able to install guile-json locally, so I am trying to install guile-ncurses
> similarly.
>
> I installed automake and set:
> export AUTOCONF_VERSION=2.69
> export AUTOMAKE_VERSION=1.16
> (this was also needed to install guile-json)
>
> I installed libunistring and libtool to get past configure errors.
>
> Now I can configure and make successfully with:
> ./configure --prefix=/home/wise/guile CC=clang CFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib'
>
> This is successful.
> Now I run make.
>
> It errors out the first time saying it can't find libguile-ncurses.so
> so i:
> cd src/ncurses/.libs/
> ln -s libguile-ncurses.so.12.1 libguile-ncurses.so
Yeah, around guile 3.0.7, it stopped using libltdl which
would do that version number searching for you. Now,
all packages that make binary extensions need to be fixed
to make version-less binary extensions. That's something
guile-ncurses needs to fix for itself.
>
> now make succeeds.
>
> Now i run make install, and it errors with:
> mkdir: /usr/local/share/guile/site/3.0/ncurses: Permission denied
>
> See in my configure I set the prefix ?
> This worked for json, which installed into $HOME/guile/...
> (And i've used it succesfully in guile code)
>
> Any ideas ?
For guile-ncurses configure, if you add the option
--with-gnu-filesystem-hierarchy, it will try to be more strict
on where it installs, so that might help.
Note that you'll probably need to
set GUILE_LOAD_PATH to point to the code
and GUILE_SYSTEM_EXTENSIONS_PATH to point to the libguile-ncurses.so.
>
> Happy to give more info or try things and report back.
>
Regards,
Mike Gran
> Thanks!
>
> --
> Paul
>
>
next prev parent reply other threads:[~2023-02-06 0:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-05 23:44 Help installing guile-ncurses paul wisehart
2023-02-06 0:20 ` Mike Gran [this message]
2023-02-06 0:41 ` paul wisehart
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y+BH2UXdbAyYzKeS@spikycactus.com \
--to=spk121@yahoo.com \
--cc=guile-user@gnu.org \
--cc=paul@oldcode.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).