-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/6/10 1:32 PM, Richard Kettlewell wrote:
> Hi,
> 
> I'm trying to install gnupg2, but it fails to build.
> 
> configure complains that libassuan needs pth support. libassuan does 
> detect pth during its build but it reports that pth is "not sane". 
> Nevertheless it builds to completion.
> 
>  From the assuan configure output:
> 
> checking for pth-config... /sw/bin/pth-config
> checking for PTH - version >= 1.3.7... yes
> checking whether PTH installation is sane... no
> 
>  From the subsequent gnupg2 configure output:
> 
> configure: checking system features for estream
> configure:
> ***
> *** You need libassuan with Pth support to build this program.
> *** This library is for example available at
> ***   ftp://ftp.gnupg.org/gcrypt/libassuan/
> *** (at least version 1.0.4 (API 1) is required).
> ***
> configure:
> ***
> *** It is now required to build with support for the
> *** GNU Portable Threads Library (Pth). Please install this
> *** library first.  The library is for example available at
> ***   ftp://ftp.gnu.org/gnu/pth/
> *** On a Debian GNU/Linux system you can install it using
> ***   apt-get install libpth-dev
> *** To build GnuPG for Windows you need to use the W32PTH
> *** package; available at:
> ***   ftp://ftp.g10code.com/g10code/w32pth/
> ***
> 
> Full build log:
> 
> http://www.greenend.org.uk/rjk/junk/gnupg2.txt
> 
> Versions:
> 
> pn  fink-buildlock <none>         (no description available)
> ii  libassuan      1.0.4-1        Safer IPC library
> pn  fink-buildlock <none>         (no description available)
> pn  fink-buildlock <none>         (no description available)
> pn  pth            <none>         (no description available)
> pn  pth-shlibs     <none>         (no description available)
> ii  pth2-dev       2.0.7-1021     Portable library that provides scheduling
> ii  pth2-shlibs    2.0.7-1021     Portable library that provides scheduling
> ii  fink           0.29.9-51      The Fink package manager
> 
> Underlying OS is Snow Leopard.  These are all 32-bit builds.
> 
> ttfn/rjk
> 
> 

Looks like a misbuild in libassuan, perhaps.  I show it detecting pth as
"sane" on a build on my system (albeit 10.5).

Try using "fink -kl rebuild libassuan" and then check the config.log
file in the build directory
(/sw/src/fink.build/libassuan-1.0.4-1/libassuan-1.0.4/config.log)
concerning pth.  On my build that gives:

configure:4309: checking for PTH - version >= 1.3.7
configure:4335: result: yes
configure:4337: checking whether PTH installation is sane
configure:4371: gcc -o conftest -g -O2 -Wall -Wcast-align -Wshadow
- -Wstrict-prototypes -Wpointer-arith -I/sw/include -I/sw/include
- -L/sw/lib -L/sw/lib conftest.c  -lpth -ldl >&5
conftest.c:18: warning: function declaration isn't a prototype
configure:4377: $? = 0
configure:4402: result: yes

You may be finding a non-Fink pth somehow.      

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuS4aEACgkQB8UpO3rKjQ9wZACgjMT2ftGcF9CV8KG14lUFCLpH
MncAnjii6FPj2HxFRhur1G4CvBsOAewy
=N3f5
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to