From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 02:29:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C896816A40F for ; Mon, 11 Sep 2006 02:29:33 +0000 (UTC) (envelope-from gordon@visi.com) Received: from cenn.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F7B543D45 for ; Mon, 11 Sep 2006 02:29:33 +0000 (GMT) (envelope-from gordon@visi.com) Received: from neit.visi.com (neit.visi.com [208.42.75.4]) by cenn.mc.mpls.visi.com (Postfix) with ESMTP id E038F8289; Sun, 10 Sep 2006 21:29:32 -0500 (CDT) Received: by neit.visi.com (Postfix, from userid 15013) id AA17521B2D; Sun, 10 Sep 2006 21:29:32 -0500 (CDT) Date: Sun, 10 Sep 2006 21:29:32 -0500 From: Gordon Pedersen To: FreeBSD Questions Message-ID: <20060911022932.GA24983@visi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Cc: gordon@visi.com Subject: Fail update ruby from 1.8.2 to 1.8.5 (libruby18-static.a version issue) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gordon Pedersen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 02:29:33 -0000 Hi, I need help overcoming an obstacle updating ruby 1.8.2 to 1.8.5. I run FreeBSD 5.4-STABLE for i386 installed Sep 18 2005. I just updated the ports tree like this: # cvsup # make fetchindex # portsdb -Uu "pkgdb -F" shows only a couple issue, and they are not ruby-applicable: "stale origin" for acroread, plus some linux-atk related stale dependencies. I fail to build ruby as both static and non-static with same error message: # cd /usr/ports/lang/ruby18 or /usr/ports/lang/ruby18_static # make The make fails on this line with accompanying error message. cc main.o libruby18-static.a -lcrypt -lm -pthread -o miniruby -0 -pipe -march=pentiumpro -fPIC -DRUBY_EXPORT -rdynamic /usr/local/lib/ruby/1.8/i386-freebsd5/rbconfig.rb:7: ruby lib version (1.8.2) doesn't match executable version (1.8.5) (RuntimeError) ***Error code 1 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5. I notice that libruby18-static.a exists in 2 places: -rw-r--r-- 1 root wheel 1240338 Sep 30 2005 /usr/local/lib/libruby18-static -rw-r--r-- 1 root wheel 1265402 Sep 10 21:11 /usr/ports/lang/ruby18/work/ruby-1.8.5/libruby18-static.a Seems like somehow I could use the latter newer version but I don't know how to configure for this when using "make" in the ports. Or maybe there is a better way. Couldn't find applicable suggestions using google or the search feature for this mailing list. Am not sure of good way to update ruby, any help so I understand how to manage this and potential other critical components like perl is appreciated. Thanks for suggestions. -- Gordon Pedersen gordon@visi.com