SliTaz SliTaz Forum

You are not logged in.

#1 2015-01-08 08:03:50

new_u
Member
Registered: 2014-03-30
Posts: 93

Help compiling libgcrypt?

I'm trying to compile libgcrypt-1.6.1. ./configure says

checking for gpg-error-config... /usr/bin/gpg-error-config

checking for GPG Error - version >= 1.11... no

configure: error: libgpg-error is needed.

tazpkg search libgpg-error   says

Search result for: libgpg-error

Installed packages

=======================================================

libgpg-error            1.9               security.

libgpg-error-dev        1.9               development.

=======================================================

2 installed package(s) found for : libgpg-error

So, I'm kinda lost now. I took a look at the configure script but I haven't figured out how it is checking for 'gpg-error-config' or whatever it is that it wants.

Anyway, any hints would be greatly appreciated!

Offline

#2 2015-01-08 10:04:01

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Help compiling libgcrypt?

Hi new_u,

Do you note version mismatch? You have installed v. 1.9 while it checks for v. >= 1.11.

You need to rise this package before.

Or to lower libgcrypt version - does it have few branches?

___

PS.

As for example, libssl has three branches (1.0.1j, 1.0.0o, and 0.9.8zc).

But seems like libgcrypt has only one stable version. So you need to rise all the libgcrypt's depends to the latest or, at least, minimal supported versions.

Offline

#3 2015-01-09 17:28:17

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Help compiling libgcrypt?

Hi Aleksej, thanks for your reply.

As far as I can tell it's checking for libgpg-error 1.11 or above? Since I have 1.9 which is higher than 1.11 I should be OK? Or am I missing something obvious?

Offline

#4 2015-01-09 18:13:44

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Help compiling libgcrypt?

Sorry, no.

1.11 is not a decimal "one and eleven hundredth".

1.11 should read as follows: major version is 1, minor version is 11.

So, 1.9 < 1.11 as for version number.

Offline

#5 2015-01-09 18:23:06

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Help compiling libgcrypt?

Ahhh, yes you're completely right. Apologies for  my dumb question!

Offline

#6 2015-01-10 02:16:21

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Help compiling libgcrypt?

This info and attached files are for Slitaz-4.0

libgcrypt-1.6.1 only depends is libgpg-error version greater than or equal to 1.11

libgpg-error has no depends.

[c]tazpkg info libgpg-error | grep Web[/c]

Web site   : http://www.gnupg.org/related_software/libgpg-error/

Go to the web site, click the Download link to find the current version of libgpg-error is 1.17

Open libgpg-error and libgpg-error-dev receipts in text editor.

Change VERSION="1.9" to VERSION="1.17"

[c]cook libgpg-error-dev[/c]

This cooks libgpg-error-1.17 and libgpg-error-dev-1.17

Open libgcrypt and libgcrypt-dev receipts in text editor.

Change VERSION="1.4.6" to VERSION="1.6.1"

[c]cook libgcrypt-dev[/c]

This cooks libgcrypt-1.6.1 and libgcrypt-dev-1.6.1

Offline

#7 2015-01-10 02:49:08

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Help compiling libgcrypt?

Thanks a lot mojo! I'm going to take a look at the cook utility. By the way, what I wanted to build is gnunet and the first dependency I was missing was libcrypt 1.6.0 - Now I'm going to learn what's the next thing I'm missing =P

Offline

#8 2015-01-10 22:54:53

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Help compiling libgcrypt?

Well, apparently, installing  libgcrypt-1.6.1.tazpkg breaks x11. When I rebooted I got the text login. Out of curiosity I tried mplayer and got a message about not finding libgcrypt.so.11 - I put libgcrypt.so.11.6.0 and links back and x11 started working again.

Anyway, thanks for the help guys, I'm in no hurry to compile gnunet now.

Offline

#9 2015-01-10 23:52:00

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Help compiling libgcrypt?

Oh, new version of libgcrypt can break many packages (41 to be precise). Check it out: http://pkgs.slitaz.org/search.sh?depends=libgcrypt

"xorg-server" should be recompiled with renewed libgcrypt(-dev) without rising version of xorg-server itself.

Next, recompiling of xorg-server forces to recompiling of 25 xorg-xf86-* (maybe I'm wrong).

So, maybe it is simply to pick one of older versions of gnunet? Version that be able to compile with existing SliTaz libgcrypt version.

Offline

#10 2015-01-12 00:32:51

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: Help compiling libgcrypt?

Thanks Aleksej. Yes, maybe the solution is to try an older version of gnunet.

Meanwhile, tazpkg rdepends  doesn't seem to be working for me.

tux@slitaz:~$ tazpkg rdepends libgcrypt

  claws-mail (gtklife

tux@slitaz:~$

At first it complained about a couple of missing receipts. It turned out that some packages were not correctly un/installed. For instance I had an empty directory

/var/lib/tazpkg/installed/comix

I cleaned those up and tazpkg stopped giving an error, but the output doesn't look right anyway.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]