Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 20:04:13 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r268461 - in head: . gnu/lib/libreadline gnu/lib/libreadline/history gnu/lib/libreadline/readline gnu/lib/libreadline/readline/doc gnu/usr.bin/gdb gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/gd...
Message-ID:  <pphd-qeea-wny@vfemail.net>
In-Reply-To: <201407091552.s69FqUon070685@svn.freebsd.org> (Baptiste Daroussin's message of "Wed, 9 Jul 2014 15:52:30 %2B0000 (UTC)")
References:  <201407091552.s69FqUon070685@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste Daroussin <bapt@FreeBSD.org> writes:

> Log:
>   The GNU readline library is now an INTERNALLIB - that is, it is
>   statically linked into consumers (GDB and variants) in the base
>   system, and the shared library is no longer installed.

WITH_LLDB=t build is broken because libedit doesn't install readline
compatibility headers.

In file included from usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver/Driver.cpp:10:
In file included from usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver/Driver.h:13:
usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver/Platform.h:105:18: fatal error:
      'readline/readline.h' file not found
        #include <readline/readline.h>
                 ^
1 error generated.
*** Error code 1

Index: usr.bin/clang/lldb/Makefile
===================================================================
--- usr.bin/clang/lldb/Makefile	(revision 268495)
+++ usr.bin/clang/lldb/Makefile	(working copy)
@@ -6,7 +6,7 @@ PROG_CXX=lldb
 
 LLDB_SRCS=${.CURDIR}/../../../contrib/llvm/tools/lldb
 
-CFLAGS+=	-I${LLDB_SRCS}/include
+CFLAGS+=	-I${LLDB_SRCS}/include -I${.CURDIR}/../../../lib/libedit/edit
 CXXFLAGS+=	-std=c++11
 
 SRCDIR=	tools/lldb/tools/driver

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pphd-qeea-wny>