Date: Fri, 28 May 2004 21:16:08 +0200 From: Kay Lehmann <kay_lehmann@web.de> To: Fernan Aguero <fernan@iib.unsam.edu.ar> Cc: knu@FreeBSD.ORG Subject: Re: ruby18 build fails Message-ID: <40B78FF8.7000708@web.de> In-Reply-To: <20040528173800.GC15200@iib.unsam.edu.ar> References: <20040528173800.GC15200@iib.unsam.edu.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B78FF8.7000708>