From owner-freebsd-ports@FreeBSD.ORG Wed Apr 28 10:18:38 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47D8E106564A for ; Wed, 28 Apr 2010 10:18:38 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 08C528FC18 for ; Wed, 28 Apr 2010 10:18:37 +0000 (UTC) Received: from mobileKamikaze.norad (vpn-cl-162-50.rz.uni-karlsruhe.de [141.3.162.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id C84B38A1BE8; Wed, 28 Apr 2010 12:18:20 +0200 (CEST) Message-ID: <4BD80B6C.60305@bsdforen.de> Date: Wed, 28 Apr 2010 12:18:20 +0200 From: Dominic Fandrey User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-GB; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Paul Macdonald References: <4BD7F7EA.4050704@ifdnrg.com> <4BD7FC7D.4090809@bsdforen.de> <4BD80137.2020106@ifdnrg.com> In-Reply-To: <4BD80137.2020106@ifdnrg.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Error building ruby+nopthreads-1.8.7.248,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 10:18:38 -0000 On 28/04/2010 11:34, Paul Macdonald wrote: > Dominic Fandrey wrote: >> On 28/04/2010 10:55, Paul Macdonald wrote: >> >>> Same error after a cvs update of ports tree and from deinstalling ruby >>> and an attempted reinstall.. >>> Adding the newline in version.h didn;t change the final error. >>> >>> In file included from version.c:14: >>> version.h:29:41: warning: no newline at end of file >>> cc -I/usr/include -O2 -fno-strict-aliasing -pipe -fPIC -DRUBY_EXPORT >>> -I. -I. -I/usr/include -c dmyext.c >>> ar rcu libruby18-static.a array.o bignum.o class.o compar.o dir.o >>> dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o >>> inits.o io.o marshal.o math.o numeric.o object.o pack.o >>> parse.o process.o prec.o random.o range.o re.o regex.o ruby.o >>> signal.o sprintf.o st.o string.o struct.o time.o util.o >>> variable.o version.o dmyext.o >>> cc -I/usr/include -O2 -fno-strict-aliasing -pipe -fPIC -DRUBY_EXPORT >>> -I. -I. -I/usr/include -c main.c >>> cc -I/usr/include -O2 -fno-strict-aliasing -pipe -fPIC -DRUBY_EXPORT >>> -L. -rpath=/usr/lib:/usr/local/lib -rdynamic main.o >>> libruby18-static.a -lcrypt -lm -L/usr/lib >>> -rpath=/usr/lib:/usr/local/lib -o miniruby >>> libruby18-static.a(process.o)(.text+0xb59): In function `proc_exec_v': >>> : undefined reference to `rb_thread_stop_timer_fake' >>> libruby18-static.a(process.o)(.text+0xdc6): In function `rb_proc_exec': >>> : undefined reference to `rb_thread_stop_timer_fake' >>> *** Error code 1 >>> >>> >> >> Run 'make rmconfig'. >> >> > no difference for me, i'd tried setting pthreads in the make file anyway > so i'm not sure its that. Which version of FreeBSD are you running? What are the contents of /var/db/ports/ruby/options What is the output of # make -VWITHOUT_PTHREADS Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?