unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* What libunistring does guile need?
@ 2023-11-20  3:01 Keith Wright
  2023-11-20 10:28 ` Ricardo G. Herdt
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Wright @ 2023-11-20  3:01 UTC (permalink / raw)
  To: guile-user

I am trying to install guile from source tarball.
Of course, I had to install a couple of other things (gmp,m4,etc.)
but that's done.  gmp from source, other things with apt-get.
I'm stuck on libunistring.  It seems libunistring is not in Debian
but I have libunistring2 already installed:

   kwright@fcs26:~/.build/guile-3.0.9$ ./configure
   configure: error: GNU libunistring is required, please insstall it.

   root@fcs26:~# apt-get install libunistring
   E: Unable to locate package libunistring

   root@fcs26:~# apt-get install libunistring2
   libunistring2 is already the newest version (1.0-2).

What should I do?

   -- Keith



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What libunistring does guile need?
  2023-11-20  3:01 What libunistring does guile need? Keith Wright
@ 2023-11-20 10:28 ` Ricardo G. Herdt
  2023-11-20 17:17   ` What does Guile need to compile? (What libunistring does guile need?) Keith Wright
  0 siblings, 1 reply; 5+ messages in thread
From: Ricardo G. Herdt @ 2023-11-20 10:28 UTC (permalink / raw)
  To: guile-user

Hi,

afaik you typically need the -dev version of the packages, in this case 
libunistring-dev.

Regards,

Ricardo


Am 20.11.2023 04:01 schrieb Keith Wright:
> I am trying to install guile from source tarball.
> Of course, I had to install a couple of other things (gmp,m4,etc.)
> but that's done.  gmp from source, other things with apt-get.
> I'm stuck on libunistring.  It seems libunistring is not in Debian
> but I have libunistring2 already installed:
> 
>    kwright@fcs26:~/.build/guile-3.0.9$ ./configure
>    configure: error: GNU libunistring is required, please insstall it.
> 
>    root@fcs26:~# apt-get install libunistring
>    E: Unable to locate package libunistring
> 
>    root@fcs26:~# apt-get install libunistring2
>    libunistring2 is already the newest version (1.0-2).
> 
> What should I do?
> 
>    -- Keith



^ permalink raw reply	[flat|nested] 5+ messages in thread

* What does Guile need to compile? (What libunistring does guile need?)
  2023-11-20 10:28 ` Ricardo G. Herdt
@ 2023-11-20 17:17   ` Keith Wright
  2023-11-20 17:46     ` Jean Abou Samra
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Wright @ 2023-11-20 17:17 UTC (permalink / raw)
  To: Ricardo G. Herdt; +Cc: guile-user

"Ricardo G. Herdt" <r.herdt@posteo.de> writes:

> afaik you typically need the -dev version of the packages, in this case 
> libunistring-dev.
> Regards,  Ricardo

Thank you.  That worked to get past that problem, but it's not done yet.

I have been lurking on this mailing list since the days of Aubrey Jaffar
and Tom Lord (~30years) and from time to time downloading and compiling
another version of Guile on another version of Linux.

I don't remember ever having so much trouble with configure; make.

The INSTALL file that comes in the tarball is totally inadequate!
How many mystery dependencies do I need to understand?

Now it says:
   configure: error: The pkg-config script could not be found or is too
   old. Make sure it is in your PATH or set the PKG_CONFIG environment
   variable to the full path to pkg-config.

   Alternatively, you may set the environment variables LIBFFI_CFLAGS
   and LIBFFI_LIBS to avoid the need to call pkg-config.
   See the pkg-config man page for more details.

   To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   See `config.log' for more details

I don't have pkg-config installed, and  have no idea how to sef LIBFFI
to avoid the need to call it.
Acording to the web page, pkg-config is a program to read *.pc files.
Where do those come from?  I don't see them in the tarball.

   -- Keith

> Am 20.11.2023 04:01 schrieb Keith Wright:
>> I am trying to install guile from source tarball.
>> Of course, I had to install a couple of other things (gmp,m4,etc.)
>> but that's done.  gmp from source, other things with apt-get.
>> I'm stuck on libunistring.  It seems libunistring is not in Debian
>> but I have libunistring2 already installed:
>> 
>>    kwright@fcs26:~/.build/guile-3.0.9$ ./configure
>>    configure: error: GNU libunistring is required, please insstall it.
>> 
>>    root@fcs26:~# apt-get install libunistring
>>    E: Unable to locate package libunistring
>> 
>>    root@fcs26:~# apt-get install libunistring2
>>    libunistring2 is already the newest version (1.0-2).
>> 
>> What should I do?
>> 
>>    -- Keith



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What does Guile need to compile? (What libunistring does guile need?)
  2023-11-20 17:17   ` What does Guile need to compile? (What libunistring does guile need?) Keith Wright
@ 2023-11-20 17:46     ` Jean Abou Samra
  2023-11-23  1:09       ` What is needed to compile Guile? Keith Wright
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Abou Samra @ 2023-11-20 17:46 UTC (permalink / raw)
  To: Keith Wright; +Cc: Ricardo G. Herdt, guile-user



> Le 20 nov. 2023 à 18:19, Keith Wright <kwright@keithdiane.us> a écrit :
> 
> I don't have pkg-config installed,


sudo apt install pkgconf


> and  have no idea how to sef LIBFFI
> to avoid the need to call it.

Don't, this is too complicated.


> Acording to the web page, pkg-config is a program to read *.pc files.
> Where do those come from?  I don't see them in the tarball.


They are provided by each -dev package from your distro. They allow tools like Autotools, Meson, CMake, etc. to find the library.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* What is needed to compile Guile?
  2023-11-20 17:46     ` Jean Abou Samra
@ 2023-11-23  1:09       ` Keith Wright
  0 siblings, 0 replies; 5+ messages in thread
From: Keith Wright @ 2023-11-23  1:09 UTC (permalink / raw)
  To: Jean Abou Samra; +Cc: r.herdt, guile-user

Jean Abou Samra <jean@abou-samra.fr> writes:

>> and  have no idea how to set LIBFFI
>> to avoid the need to call it.
>
> Don't, this is too complicated.

Thank you for your consise and correct advice.

I have compiled Guile 3 from tarball and verified that
it can still evaluate the program I was working on last year.

I have put that program on a web page:

  http://www.free-comp-shop.com/texscm.html

I also wrote some notes on what it took to compile Guile.
Maybe parts of it could be copied into the README or INSTALL
files.  Please copy what you need; don't link.  I have nothing
to sell and don't need traffic.

  http://www.free-comp-shop.com/guile.html

Hope this helps.

  -- Keith
  



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-23  1:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20  3:01 What libunistring does guile need? Keith Wright
2023-11-20 10:28 ` Ricardo G. Herdt
2023-11-20 17:17   ` What does Guile need to compile? (What libunistring does guile need?) Keith Wright
2023-11-20 17:46     ` Jean Abou Samra
2023-11-23  1:09       ` What is needed to compile Guile? Keith Wright

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).