[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] Re: cannot build outside the source directory
From: |
Simon Josefsson |
Subject: |
[Help-gnutls] Re: cannot build outside the source directory |
Date: |
Fri, 17 Sep 2004 00:37:31 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
"Gerrit P. Haase" <address@hidden> 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