From owner-freebsd-questions Tue Jan 14 9:14:24 2003 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 766C937B401 for ; Tue, 14 Jan 2003 09:14:23 -0800 (PST) Received: from swirlee.ath.cx (ip68-14-13-150.ri.ri.cox.net [68.14.13.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8096543F1E for ; Tue, 14 Jan 2003 09:14:22 -0800 (PST) (envelope-from lucas@swirlee.ath.cx) Received: from swirlee.ath.cx (localhost [127.0.0.1]) by swirlee.ath.cx (8.12.6/8.12.6) with ESMTP id h0EHEKUc020934 for ; Tue, 14 Jan 2003 12:14:20 -0500 (EST) (envelope-from lucas@swirlee.ath.cx) Received: (from lucas@localhost) by swirlee.ath.cx (8.12.6/8.12.6/Submit) id h0EHEJKA020933 for freebsd-questions@FreeBSD.ORG; Tue, 14 Jan 2003 12:14:19 -0500 (EST) Date: Tue, 14 Jan 2003 12:14:19 -0500 From: Lucas Wilcox To: freebsd-questions@FreeBSD.ORG Subject: Problems compiling Ruby port Message-ID: <20030114171419.GA20716@swirlee.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="liOOAslEiF7prFVr" Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD swirlee.ath.cx 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I have been having trouble installing ruby on my freebsd box using the port. The typescript of the port trying to build can be found at http://www.dam.brown.edu/people/lucasw/pub/typescript. I have found that if apply the attached patch patch everything compiles. So my question is what am I doing wrong so that the require ruby command is not adding a .rb to the end of the file names it is searching for? Thanks, Lucas uname -a FreeBSD swirlee.ath.cx 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #1: Thu Dec 19 20:34:18 EST 2002 root@swirlee.ath.cx:/usr/obj/usr/src/sys/FLIPSIDE i386 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ruby.patch" --- ruby-1.6.8/mkconfig.rb.orig Thu Jan 9 11:42:32 2003 +++ ruby-1.6.8/mkconfig.rb Thu Jan 9 11:42:53 2003 @@ -1,6 +1,6 @@ #!./miniruby -s -require File.dirname($0)+"/lib/ftools" +require File.dirname($0)+"/lib/ftools.rb" mkconfig = File.basename($0) rbconfig_rb = ARGV[0] || 'rbconfig.rb' --liOOAslEiF7prFVr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message