unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "paul wisehart" <paul@oldcode.org>
To: guile-user@gnu.org
Subject: Help installing guile-ncurses
Date: Sun, 05 Feb 2023 18:44:28 -0500	[thread overview]
Message-ID: <4f2d7c3e-0c56-4209-8a58-a6367feab7fc@app.fastmail.com> (raw)

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

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 ?

Happy to give more info or try things and report back.

Thanks!

--
Paul




             reply	other threads:[~2023-02-05 23:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-05 23:44 paul wisehart [this message]
2023-02-06  0:20 ` Help installing guile-ncurses Mike Gran
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=4f2d7c3e-0c56-4209-8a58-a6367feab7fc@app.fastmail.com \
    --to=paul@oldcode.org \
    --cc=guile-user@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.
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).