Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 23:16:55 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Michael Nottebrock" <michaelnottebrock@gmx.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: An endless time to install ruby18
Message-ID:  <opsl2jmhv79aq2h7@mezz.mezzweb.com>
In-Reply-To: <200502111709.38173.michaelnottebrock@gmx.net>
References:  <42091D4E.7060202@gmail.com> <200502111609.02844.michaelnottebrock@gmx.net> <9b5c93b8395a5e92a77e7af6bfb60dd1@khera.org> <200502111709.38173.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Feb 2005 17:09:34 +0100, Michael Nottebrock  
<michaelnottebrock@gmx.net> wrote:

> On Friday, 11. February 2005 16:47, Vivek Khera wrote:
>> On Feb 11, 2005, at 10:08 AM, Michael Nottebrock wrote:
>> > On Friday, 11. February 2005 15:45, Vivek Khera wrote:
>> >> On Feb 8, 2005, at 3:13 PM, jacula wrote:
>> >>> ./miniruby ./ext/extmk.rb --dest-dir=""  --make="make"  --mflags="  
>> -j
>> >>> 3"
>> >>>  --make-flags=" ARCH=amd64 OPSYS=FreeBSD OSREL=5.3 OSVERSION=503101
>> >>> PORTOBJFORMAT=elf SYSTEMVERSION= -j 3" install
>> >>
>> >> I observe the same  on my Intel Xeon 64-bit server (runs
>> >> FreeBSD/amd64).
>> >
>> > Can you take a look at
>> > http://www.freebsd.org/cgi/query-pr.cgi?pr=77324 and
>> > try the patch in there?
>>
>> A few minutes ago  I tried your replacement Makefile you posted a few
>> days ago and it worked fine on my Intel EMT64 system.
>>
>> I just tried the patch in the PR above, and it didn't work: the
>> miniruby program still got stuck in its infinite loop.
>
> Rats. Looks like a real pthread-enabled ruby only works on i386. :-\
>
> Jeremy, what do you think about this? Disable pthreads-support on
> anything !i386? In any case, you should probably submit a new PR against
> ruby...

Here's a last chance to give this patch a shot. It has multi-patch from  
Debian and Gentoo. It includes amd64 fix too, so I have no idea if this  
will help for the other than i386 platforms.

http://people.freebsd.org/~mezz/diff/ruby18.diff

Debian:
	patch-100_cvs_updates (took from Ruby CVS)
	patch-101_cvs_updates (more took from Ruby CVS)
	patch-800_delegate.rb
	patch-900_ri_pager

Gentoo:
	patch-ruby-1.6.8-fix-x86_64

=========================
	<update your ports tree>

	cd /usr/ports/lang
	patch -p0 < /path/to/ruby18.diff
	find ruby18 -empty -delete ; find ruby18 -name \*.orig -delete

	<You have to rebuild all apps that depend on ruby18.>
=========================

I am running several ruby-gtk2 apps here and it seems work same thing for  
me on FreeBSD 5.3-STABLE (i386). Too bad, it doesn't solve with  
--march=<cpu> stuff thought.

Cheers,
Mezz


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsl2jmhv79aq2h7>