From owner-freebsd-ports@FreeBSD.ORG Fri May 28 12:16:36 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E62BC16A4CE; Fri, 28 May 2004 12:16:36 -0700 (PDT) Received: from smtp08.web.de (smtp08.web.de [217.72.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82CDF43D1F; Fri, 28 May 2004 12:16:36 -0700 (PDT) (envelope-from kay_lehmann@web.de) Received: from lehmann.in-dsl.de ([217.197.85.240] helo=web.de) by smtp08.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #91) id 1BTmpw-0002Cr-00; Fri, 28 May 2004 21:16:12 +0200 Message-ID: <40B78FF8.7000708@web.de> Date: Fri, 28 May 2004 21:16:08 +0200 From: Kay Lehmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.6) Gecko/20040405 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Fernan Aguero References: <20040528173800.GC15200@iib.unsam.edu.ar> In-Reply-To: <20040528173800.GC15200@iib.unsam.edu.ar> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: kay_lehmann@web.de cc: FreeBSD Ports cc: knu@FreeBSD.ORG Subject: Re: ruby18 build fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 19:16:37 -0000 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 >