From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: wrapping freexl in guile Date: Wed, 7 Jun 2017 11:48:56 +0200 Message-ID: References: <87h8zwpzje.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c0e46b415f31905515ba56c" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIXaH-0002Fk-51 for help-guix@gnu.org; Wed, 07 Jun 2017 05:49:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIXaF-0001MK-QT for help-guix@gnu.org; Wed, 07 Jun 2017 05:49:01 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:37299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIXaF-0001LO-H8 for help-guix@gnu.org; Wed, 07 Jun 2017 05:48:59 -0400 Received: by mail-wm0-x22b.google.com with SMTP id d73so7236748wma.0 for ; Wed, 07 Jun 2017 02:48:59 -0700 (PDT) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Jelle Licht Cc: help-guix --94eb2c0e46b415f31905515ba56c Content-Type: text/plain; charset="UTF-8" 2017-06-04 6:55 GMT+02:00 Catonano : > Jelle, > > thank you for your suggestion > > But there's something I don't understand > > the suggestion to add > > --with-freexl-prefix=$GUIX_ENVIRONMENT > > fixes my guile-freexl but is nor necessary in guile-gcrypt > > why ? > > 2017-06-03 22:49 GMT+02:00 Jelle Licht : > >> >> Catonano writes: >> >> > checking for libfreexl-config... no >> > checking libfreexl's library directory... >> > checking for libfreexl shared library name... libfreexl >> > checking whether libfreexl can be dynamically loaded... no >> > configure: error: GNU libfreexl does not appear to be usable; see >> > `--with-libfreexl-prefix' and `README'. >> > >> The following command seemed to run to completion for me: >> [env]$ ./configure --with-freexl-prefix=$GUIX_ENVIRONMENT >> >> Maybe check out the following link, by coincidence about gcrypt as well >> ;-). >> https://lists.gnu.org/archive/html/bug-guix/2013-02/msg00062.html >> >> > > this is an excerpt from running configure in guile-gcrypt > > checking for guile-config... /home/catonano/.guix-profile/bin/guile-config > checking for libgcrypt-config... /gnu/store/1y54p19lvz3rh6a5dyynnffn9dbal2 > li-profile/bin/libgcrypt-config > checking libgcrypt's library directory... /gnu/store/ > hag795ji8p9vqikwp8cibfibpsa39s3n-libgcrypt-1.7.6/lib > checking for libgcrypt shared library name... /gnu/store/ > hag795ji8p9vqikwp8cibfibpsa39s3n-libgcrypt-1.7.6/lib/libgcrypt > > > > As you can see it checks that "...bin/libgcrypt-config" is present AND it > checks the "shared library name" > > > Now this is configure from my guile-freexl > > checking for guile-config... /home/catonano/.guix-profile/bin/guile-config > checking for freexl shared library name... /gnu/store/ > 13p9jpf8gp3mg414az1dsf59vw2hyyw2-profile/lib/libfreexl > > as you can see it DOESN'T look for any ...bin/freexl-config AND it doesn't > look for the library shared name > > why ? > > It is substantially the same repo, I cloned it and changed the strings > "gcrypt" to "freexl" > > That's all I did > Ok, I resigned myself to not understanding what I'm doing and I adopted your suggestion The configure phase now passes sigh --94eb2c0e46b415f31905515ba56c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-06-04 6:55 GMT+02:00 Catonano <catonano@gmail.com>= :
Jelle,

thank you for your suggestion

But there= 's something I don't understand

the suggestion to add<= br>
--with-freexl-prefix=3D$GUIX_ENVIRONMENT

fixes my = guile-freexl but is nor necessary in guile-gcrypt

why ?

2017-= 06-03 22:49 GMT+02:00 Jelle Licht <jlicht@fsfe.org>:

Catonano <catona= no@gmail.com> writes:

> checking for libfreexl-config... no
> checking libfreexl's library directory...
> checking for libfreexl shared library name... libfreexl
> checking whether libfreexl can be dynamically loaded... no
> configure: error: GNU libfreexl does not appear to be usable; see
> `--with-libfreexl-prefix' and `README'.
>
The following command seemed to run to completion for me:
[env]$ ./configure --with-freexl-prefix=3D$GUIX_ENVIRONMENT

Maybe check out the following link, by coincidence about gcrypt as well ;-)= .
https://lists.gnu.org/archive/= html/bug-guix/2013-02/msg00062.html



this i= s an excerpt from running configure in guile-gcrypt

checking for gu= ile-config... /home/catonano/.guix-profile/bin/guile-config
checkin= g for libgcrypt-config... /gnu/store/1y54p19lvz3rh6a5dyynnffn9dbal2li-profile/bin/libgcrypt-config
checking libgcrypt's library = directory... /gnu/store/hag795ji8p9vqikwp8cibfibpsa39s3n-libgcryp= t-1.7.6/lib
checking for libgcrypt shared library name... /gnu/store/hag795ji8p9vqikwp8cibfibpsa39s3n-libgcrypt-1.7.6/lib/libgcrypt<= br>


As you can see it checks that "...bin/libgcr= ypt-config" is present AND it checks the "shared library name&quo= t;


Now this is configure from my guile-freexl
checking for guile-config... /home/catonano/.guix-profile/bin/guile-c= onfig
checking for freexl shared library name... /gnu/store/13p9jpf= 8gp3mg414az1dsf59vw2hyyw2-profile/lib/libfreexl

as y= ou can see it DOESN'T look for any ...bin/freexl-config AND it doesn= 9;t look for the library shared name

why ?

It is substantially the same repo, I cloned it and changed = the strings "gcrypt" to "freexl"

That= 's all I did


Ok, I resigned = myself to not understanding what I'm doing and I adopted your suggestio= n

The configure phase now passes
sigh
--94eb2c0e46b415f31905515ba56c--