Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37299 - dev-libs/libgcrypt-1.1.91 fails to compile, GNU Pth version problem
Summary: dev-libs/libgcrypt-1.1.91 fails to compile, GNU Pth version problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 07:34 UTC by John Borkowski
Modified: 2004-01-13 09:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Borkowski 2004-01-05 07:34:10 UTC
While trying to emerge dev-libs/libgcrypt-1.1.91 failed, configure breaks while checking for GNU Pth:

checking for GNU Pth... *FAILED*
 | Found Pth version GNU Pth . (), but required at least version 1.2.0.
 | Upgrade Pth under /usr to 1.2.0 or higher first, please.

!!! ERROR: dev-libs/libgcrypt-1.1.91 failed.
!!! Function econf, Line 339, Exitcode 1
!!! econf failed

xeon# qpkg -i dev-libs/pth
dev-libs/pth-1.4.0 *
        GNU Portable Threads [ http://www.gnu.org/software/pth/ ]

So it appears I have version 1.4.0 installed.

I have gone through the config.log, but I am unable to understand where the problem is occuring. I cannot figure out how it determines the pth version.

Reproducible: Always
Steps to Reproduce:
1.emerge rsync
2.emerge dev-libs/libgcrypt
3.

Actual Results:  
 


I have the config.log but it is rather large and not sure if y'all want that.
Comment 1 John Borkowski 2004-01-13 09:35:26 UTC
After some tinkering around, I have mostly resolved the problem.
The problem stems from something wrong in the gnu-pth build. gnu-pth produces /usr/bin/pth-config which the configure script for dev-libs/libgcrypt-1.1.91 was calling to get the version number of gnu-pth.

Unfortunately pth-config was returning an empty version number which caused the configure script to terminate with and inappropriate gnu-pth version messagge.

Rebuilding dev-libs/pth rebuilds the /usr/bin/pth-config file and it now works correctly.