From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: Help installing guile-ncurses Date: Sun, 5 Feb 2023 16:20:41 -0800 Message-ID: References: <4f2d7c3e-0c56-4209-8a58-a6367feab7fc@app.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user@gnu.org To: paul wisehart Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Feb 06 01:21:37 2023 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOpGL-0005P8-Bx for guile-user@m.gmane-mx.org; Mon, 06 Feb 2023 01:21:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOpFl-0008GZ-99; Sun, 05 Feb 2023 19:21:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOpFh-0008Eo-RI for guile-user@gnu.org; Sun, 05 Feb 2023 19:20:58 -0500 Original-Received: from sonic312-22.consmr.mail.bf2.yahoo.com ([74.6.128.84]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOpFf-0008QQ-CU for guile-user@gnu.org; Sun, 05 Feb 2023 19:20:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1675642848; bh=PrX4c7Ul+8O1Nl1DNJMZUD1ho0Krc4flAk4R4tereY8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=aeb6ERssF4Xirds3d7bD4wI7IASoyNtO8R/Vy5xwEVQSoyaQxmLN4CL4qlMCreTCHi4EzJqnhg4NH7O0xGSzIHq5uB8vocoB45GBFy6JW/bgk3tpVmtNwJCfJCoX88HgQbHDz+R9Mo6/iHEkj8qbn80LHiS20AlcxZpL3hoxb4MYYOdaNW8sXx5DDnkltjIo1Av6bId26Y/yV+hox6Ud1TW7coviZ0voUCknd28dR8I9mJSqGx39sKuDqFMy8AhavkpNPhOoQVibpnd9ZVwRCDwn5tjyGug/RIwMdS92G6tsSjNVtFbBYCDVSSm9/jfBfmEcZ+rFOg/m5hnaopLdxw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1675642848; bh=3Gf28rB3NfLMzTgff3xZv3YEnl5N2tX5unTM9b34c7X=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=tMQsfc069PrkXj/XPMeNGEqB3tM8v2Liry1gHq5kAdMLG2bXd8o6b/nXtPxOt8tYsi4v+C2L7BrpF79iGudgouP0sckEW18jahz5CTGocO5ya8+OTE2GHWKCCzVdt8T+J7FaGNVuhJg3gU+g7wySlasHWIcvI1XWFCKfjSmWrwfD+Npy3+Gn5vSnkeOuOl7q+b2naW9la9Tukrka9mZkMwqKaCBJBT688AfFtFTIojphXaNVoJGEhK/22eT22HxaHIIUJ4k+Mhx0W1pH8uEijM25GXwK38AilqrOqQTnsY9yv3YYe8cYUPVejT7wSx+pAwTMkoYnlkNwgD5RybtJgA== X-YMail-OSG: rRX7OwQVM1k6W1ny3p2lX1z8IyijAYxMBh91oMpx5amSiErj2N9no3liGL5ljZv Gz6o5xJF52qgnPrdx6T6ObxXUrm3OBbcgAPTBaSL_9nwCG9sQLp7lzGtIa1KBScR63fRWOhFXj8E pI9JIn1EGaypfpoisDT.1wNLJ4bougl4Q0yTEaSArcR.XKELCZEVS5zVxx0HbzyrTPne4g6Pe_kC 1QXjbg.KGBBBY5Hba.mcD7hrXRfQRgAlwKz2fGRd25AWpEKPUWFBsi7fk0jFbc5TTzkXrgz1PB.F OJ.th48re5h3cFyX0BEP2HoZaGFcuC_bV0xcdXrg8Zw4W_zPV6ZUcf8hwiAHs2_IxgWNRmfQnSaI CZLeB4CGJe2eUhmBAfzOkDNea9MgSpqL4xevA0F8mimOAfa1irc6Z8cuLMzeLn9heuJjvR3z1eLG VKGQRnb85pQqZm0uG_akaomI0znY4xEFDbTInBrsRLgT3gUHu4_gCN1EhZHXzZKidaGH3Iu_Nc5R AI4SqB9TJpXscVSNye64q7UGD.2Ag9d1Ux1KfEuqaFAC.SJPyuykyVeQDmL7jq5Lpx7yacs.yLzI QqKTf50iKJ.FWFb73pFPpxgj8RXrY2EUW9SU.qiEly8inmFX9nswDC7CaGU3Z8Gp4b1GzpSpVBQh 8R1Fb5mwPaZBDRVRTNg0RHsHBzlpOvnWJ.uB.hzWsk6S1XSUOuiDPLJ5reY0rt95KoRW4q99SC5_ wVfW1q2oIlnlXGAVkJnAWjSAn1fzdwbhiZ4fMOCLDlne3TohuvgNGdjFa02sk9CJ4u5W0VQbFaYE FcqFm1BzmBn9bbhKk_3fueAr18ZzZD7eFs_OiZ.KoR X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Mon, 6 Feb 2023 00:20:48 +0000 Original-Received: by hermes--production-ne1-746bc6c6c4-kcw5g (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4506200d34d50e42dd99a6de43a048e9; Mon, 06 Feb 2023 00:20:43 +0000 (UTC) Content-Disposition: inline In-Reply-To: <4f2d7c3e-0c56-4209-8a58-a6367feab7fc@app.fastmail.com> X-Mailer: WebService/1.1.21161 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=74.6.128.84; envelope-from=spk121@yahoo.com; helo=sonic312-22.consmr.mail.bf2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:18889 Archived-At: 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 > >