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 11:39:54 +0200
User-agent: SquirrelMail/1.4.20

On Fri, July 30, 2010 10:12 am, address@hidden wrote:

I've installed autoconf (GNU Autoconf) 2.67.4-14f35, i.e., the current
HEAD of the Autoconf git repository at Savannah.

The following sequence of commands works with no new problems or errors. 
These are the remaining problems:

1. LDFLAGS must be set explicitly or libgcrypt isn't found.

2.  configure must be called after `make bootstrap' because the latter
doesn't accept options.

3.  Files installed by libtoolize are not readable by the user (?!).

4.  gcrypt.h isn't found "automatically".

In my opinion, the current state of things on my system is acceptable,
although it's a bit boring watching the configure scripts run repeatedly.
I think it would be nice to make it easier for people who don't
necessarily know how to go through the various steps, but I can't think of
any obvious way of doing this.

Laurence

********************************************************************

address@hidden:~/gnutls_dev/gnutls_master> export
LDFLAGS="-L/home/lfinsto/libgcrypt-1.4.6/lib"

address@hidden:~/gnutls_dev> git clone
address@hidden:/srv/git/gnutls.git gnutls_master
Cloning into gnutls_master...

[...]

address@hidden:~/gnutls_dev> cd gnutls_master/
address@hidden:~/gnutls_dev/gnutls_master> make bootstrap
for f in lib/po/*.po.in; do \
                cp $f `echo $f | sed 's/.in//'`; \
        done
mv lib/build-aux/config.rpath lib/build-aux/config.rpath-
test -f ./configure || autoreconf --install
Copying file ABOUT-NLS

[...]

configure: error: cannot run /bin/sh build-aux/config.sub
make: *** [bootstrap] Error 126

address@hidden:~/gnutls_dev/gnutls_master> chmod u+r build-aux/*

address@hidden:~/gnutls_dev/gnutls_master> make bootstrap

[...]

configure: error: cannot run /bin/sh build-aux/config.sub
configure: error: ./configure failed for lib
make: *** [bootstrap] Error 126

address@hidden:~/gnutls_dev/gnutls_master> chmod u+r lib/build-aux/*
libextra/build-aux/*

address@hidden:~/gnutls_dev/gnutls_master> make bootstrap

[...]

configure: summary of build options:

  version:          2.11.0 shared 43:0:17
  Host type:        x86_64-unknown-linux-gnu
  Install prefix:   /usr/local
  Compiler:         gcc -std=gnu99
  Warning flags:    errors:  -Werror warnings:  -Wall -W -Wformat-security
-Winit-self -Wmissing-include-dirs -Wunused -Wunknown-pragmas
-Wstrict-aliasing -Wfloat-equal -Wdeclaration-after-statement
-Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wmissing-format-attribute -Wpacked -Wredundant-decls -Wnested-externs
-Winline -Winvalid-pch -Wlong-long -Wvolatile-register-var
-Wdisabled-optimization -Wstack-protector -Woverlength-strings
-Wattributes -Wcoverage-mismatch -Wmultichar -Wunused-macros
-Wno-missing-field-initializers -Wno-sign-compare -Wno-pointer-sign
-Wno-unused-parameter -Wno-unused-parameter -Wno-stack-protector
-Wno-int-to-pointer-cast -fdiagnostics-show-option
  Library types:    Shared=yes, Static=yes
  Valgrind:         yes valgrind -q
  Guile wrappers:   no
  C++ library:      yes
  OpenSSL library:  yes
  /dev/crypto:      no
  Crypto library:   libgcrypt

address@hidden:~/gnutls_dev/gnutls_master> configure
--disable-valgrind-tests
--with-libgcrypt-prefix=/home/lfinsto/libgcrypt-1.4.6 --prefix=`pwd`

[...]

configure: summary of build options:

  version:          2.11.0 shared 43:0:17
  Host type:        x86_64-unknown-linux-gnu
  Install prefix:   /home/lfinsto/gnutls_dev/gnutls_master
  Compiler:         gcc -std=gnu99
  Warning flags:    errors:  warnings:
  Library types:    Shared=yes, Static=yes
  Valgrind:         no
  Guile wrappers:   no
  C++ library:      yes
  OpenSSL library:  yes
  /dev/crypto:      no
  Crypto library:   libgcrypt

address@hidden:~/gnutls_dev/gnutls_master> make

[...]

  CC     init.lo
init.c:36: error: 'GCRY_THREAD_OPTION_VERSION' undeclared here (not in a
function)
make[4]: *** [init.lo] Error 1
make[4]: Leaving directory
`/home/lfinsto/gnutls_dev/gnutls_master/lib/gcrypt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lfinsto/gnutls_dev/gnutls_master/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lfinsto/gnutls_dev/gnutls_master/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfinsto/gnutls_dev/gnutls_master'
make: *** [all] Error 2

address@hidden:~/gnutls_dev/gnutls_master> ln -s
/home/lfinsto/libgcrypt-1.4.6/include/gcrypt.h
/home/lfinsto/gnutls_dev/gnutls_master/lib/gcrypt/gcrypt.h

address@hidden:~/gnutls_dev/gnutls_master> make

Succeeded.

address@hidden:~/gnutls_dev/gnutls_master> make check

Succeeded.

Making check in lib
make[1]: Entering directory `/home/lfinsto/gnutls_dev/gnutls_master/lib'
Making check in gl

address@hidden:~/gnutls_dev/gnutls_master> make install

Succeeded.




-------------------------------------------------------------
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]