base master and editing commands
raimue at macports.org
Mon Dec 4 12:20:56 UTC 2017
On 2017-12-04 13:15, db wrote:
> On 4 Dec 2017, at 01:00, Joshua Root <jmr at macports.org> wrote:
>> So you want --enable-readline as well.
> I tried cleaning and rebuilding, and now I get the following error.
> readline.c:128:23: error: use of undeclared identifier 'username_completion_function'; did you mean 'rl_username_completion_function'?
> generator_func = USERNAME_COMPLETION_FUNCTION;
> readline.c:49:39: note: expanded from macro 'USERNAME_COMPLETION_FUNCTION'
> # define USERNAME_COMPLETION_FUNCTION username_completion_function
> /opt/local/include/readline/readline.h:465:14: note: 'rl_username_completion_function' declared here
> extern char *rl_username_completion_function PARAMS((const char *, int));
You are trying to build MacPorts against readline installed by MacPorts.
Remove /opt/local from PATH before running configure.
See this example in the guide:
More information about the macports-dev