[Help-gnutls] Re: cannot build outside the source directory

Simon Josefsson jas at extundo.com
Fri Sep 17 00:37:31 CEST 2004


"Gerrit P. Haase" <gp at familiehaase.de> writes:

>  gcc -DHAVE_CONFIG_H -I. -I/ftproot/pub/gnome/gnutls/gnutls-1.0.20/lib -I.. -I../libextra -Iminitasn1/ -I../libextra/openpgp/ -I../libextra/opencdk -Ix509/ -I../includes -I/usr/include -I/usr/include -g0 -O3 -D_REENTRANT -D_THREAD_SAFE -O2 -finline-functions -pipe -MT gnutls_handshake.lo -MD -MP -MF .deps/gnutls_handshake.Tpo -c /ftproot/pub/gnome/gnutls/gnutls-1.0.20/lib/gnutls_handshake.c  -o .libs/gnutls_handshake.o
> /ftproot/pub/gnome/gnutls/gnutls-1.0.20/lib/gnutls_handshake.c:49:21: ext_srp.h: No such file or directory
> make[3]: *** [gnutls_handshake.lo] Error 1
>
> $ find . -name "ext_srp.h"
> ./gnutls-1.0.20/libextra/ext_srp.h
>
> This are the bad INCLUDE flags:
>
> -I.. -I../libextra -Iminitasn1/ -I../libextra/openpgp/ -I../libextra/opencdk -Ix509/ -I../includes
>
> Please use no relative paths, use full paths like this in your
> Makefile.am:
> INCLUDES = -I$(top_srcdir)/libextra -I$(top_srcdir)/lib/minitasn1/ -I$(top_srcdir)/libextra/openpgp/ -I$(top_srcdir)/libextra/opencdk -I$(top_srcdir)/lib/x509/ -I$(top_srcdir)/includes $(LIBOPENCDK_CFLAGS) $(LIBTASN1_CFLAGS) $(LIBGCRYPT_CFLAGS)
>
>
> Why do you force the user to build inside the source tree?
> Do you build inside the source tree?  Why???

Hello, and thanks for the report.  I believe this has been fixed in
the development branch.  If you need it fixed in the stable branch
too, please send a (tested) patch to speed up the process.

Thanks,
Simon






More information about the Gnutls-help mailing list