ruby18 build fails

Kay Lehmann kay_lehmann at web.de
Fri May 28 12:16:37 PDT 2004


Hello,

is it possible, you have readline from the ports installed? I think I 
had this error some time ago because of this. Try to deinstall readline, 
upgrade ruby and then you can reinstall readline if you need it (or I 
think I solved this with setting some configure-environment variables, 
but I'm sorry, I can't remember).

Greets,
Kay

Fernan Aguero wrote:
> Hi!
> 
> I was trying to upgrade portupgrade and was stopped by
> problems when building ruby18 (a dependency).
> 
> Since portsmon doesn't show build errors for ruby18 on i386
> and I haven't found anything on google, I thought I'd ask
> here before submitting a PR.
> 
> The last lines of the output are:
> 
> compiling readline
> cc -fPIC -O -pipe   -fPIC -DREADLINE_42_OR_LATER -DREADLINE_40_OR_LATER -DREADLINE_21_OR_LATER -I. -I/usr/ports/lang/ruby18/work/ruby-1.8.1-2004.05.02 -I/usr/ports/lang/ruby18/work/ruby-1.8.1-2004.05.02 -I/usr/ports/lang/ruby18/work/ruby-1.8.1-2004.05.02/ext/readline -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -DHAVE_RL_FILENAME_COMPLETION_FUNCTION -DHAVE_RL_CLEANUP_AFTER_SIGNAL -c readline.c
> readline.c: In function `filename_completion_proc_call':
> readline.c:606: `rl_filename_completion_function' undeclared (first use in this function)
> readline.c:606: (Each undeclared identifier is reported only once
> readline.c:606: for each function it appears in.)
> readline.c:606: warning: assignment makes pointer from integer without a cast
> readline.c: In function `username_completion_proc_call':
> readline.c:633: `rl_username_completion_function' undeclared (first use in this function)
> readline.c:633: warning: assignment makes pointer from integer without a cast
> readline.c: In function `Init_readline':
> readline.c:735: `rl_completion_func_t' undeclared (first use in this function)
> readline.c:735: syntax error before `)'
> readline.c:736: `rl_hook_func_t' undeclared (first use in this function)
> readline.c:736: syntax error before `)'
> *** Error code 1
> 
> I have just updated to 4.10-RELEASE (cvsup from May 26th,
> which also included the ports tree).
> 
> Thanks in advance,
> 
> Fernan
> 



More information about the freebsd-ports mailing list