gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master branch --- build problems


From: lfinsto
Subject: Re: master branch --- build problems
Date: Fri, 30 Jul 2010 16:21:13 +0200
User-agent: SquirrelMail/1.4.20

On Fri, July 30, 2010 4:01 pm, Simon Josefsson wrote:
> address@hidden writes:
>
>> On Fri, July 30, 2010 10:12 am, address@hidden wrote:

>>
>> 1. LDFLAGS must be set explicitly or libgcrypt isn't found.
>
> Try --with-libgcrypt-prefix=/home/lfinsto/libgcrypt-1.4.6 instead.  In
> my experience LDFLAGS can causes more problems than it solves.

I always call configure with this option.  I was trying to find out why
libgcrypt wasn't always found.  I think I may have found the place where
things go wrong, but I have to trace back through some m4 macro
definitions.  I'll have to get back to this another time.

>
>> 2.  configure must be called after `make bootstrap' because the latter
>> doesn't accept options.
>
> It does, you may supply them as 'make ADDFLAGS=--with-foo' or similar.
> Check at the top of cfg.mk for variable names and how they are used.

Okay, thanks.

>
>> 3.  Files installed by libtoolize are not readable by the user (?!).
>
> This seems weird, and could be a problem with your libtool installation.
> Maybe you can debug it?

I'll try.

>
>> 4.  gcrypt.h isn't found "automatically".
>
> It should be if you use --with-libgcrypt-prefix.

This would seem to be more-or-less the same problem as above.  This is the
note I've made to myself:

Start in ~/gnutls_dev/gnutls_master/lib/m4/hooks.m4:  Trace what
AC_LIB_HAVE_LINKFLAGS does.  Try to get the path of the libgnutls library
and header files out and use them where needed.  See
~/gnutls_dev/gnutls_master/lib/gcrypt/Makefile.am.  I think AM_CPPFLAGS in
this file needs to be changed for this to work.

Laurence


-------------------------------------------------------------
Laurence Finston
Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH
Am Fassberg 11
37077 Goettingen

Telefon:        +49 551 201-1882
E-Mail:         address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]