Menu

#48 Build issues on MacOSX 10.10.4 with MacPorts libreadline

open
nobody
None
5
2015-07-03
2015-07-03
No

I'm trying to get ecasound to build with Macports jack and libsndfile. The bug seems to be that if you have libreadline on the include search path, the configure flag --disable-ncurses is ignored and ecasound can't compile.

LDFLAGS='-L/opt/local/lib'
CPPFLAGS='-I/opt/local/include'

eca-curses.cpp:127:39: error: unknown type name 'rl_completion_func_t'; did you mean 'rl_compentry_func_t'?
rl_attempted_completion_function = (rl_completion_func_t*)ecasound_completion;
^~~~~~~~~~~~~~~~~~~~
rl_compentry_func_t

When you use "configure --with-jack=/opt/local", it compiles fine but without libsndfile.

MacPorts currently has readline version 6.3.003.

I tried replacing the call to rl_completion_func_t with rl_compentry_func_t in eva-curses.cpp but it errors out with wrong callback arguments.

Sorry this is so complicated.

I'm guessing this issue could be fixed three different ways...

  1. fix configure to handle --disable-ncurses properly
  2. fix eva-curses.cpp to be compatible with readline 6.3.003
  3. fix configure to add new flag --with-sndfile=/opt/local

Thanks!

Discussion


Log in to post a comment.