From owner-freebsd-questions Fri Jan 18 12:41:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from felix.cheetahusa.net (felix.cheetahusa.net [216.133.11.108]) by hub.freebsd.org (Postfix) with ESMTP id E402537B400 for ; Fri, 18 Jan 2002 12:41:12 -0800 (PST) Received: from falcon (falcon.cheetahusa.net [192.168.10.139]) by felix.cheetahusa.net (8.11.6/8.11.6) with SMTP id g0IKeSt35675; Fri, 18 Jan 2002 12:40:31 -0800 (PST) (envelope-from craig@CheetahUSA.net) From: "Craig Burgess" To: "Ray Kohler" , Subject: RE: ruby/portupgrade errors + other stuff Date: Fri, 18 Jan 2002 12:41:20 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <0735b5741011212FE4@Mail4.mgfairfax.rr.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 Good suggestion! After removing all of the ruby stuff (and portupgrade), I let the portupgrade installation get what it wanted for ruby based on the portupgrade-20020117 port. Unfortunately it didn't produce the deisred result (portupgrade won't run). ============================== Script started on Fri Jan 18 08:15:02 2002 felix# pkgdb -F /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:9: fnmatch module not found (RuntimeError) from /usr/local/sbin/pkgdb:35:in `require' from /usr/local/sbin/pkgdb:35 felix# exit exit Script done on Fri Jan 18 08:15:21 2002 ============================== I looked at /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb and there was nothing that leapt out as a problem but I don't really know what to look for. craig > -----Original Message----- > From: Ray Kohler [mailto:rkohler1@cox.rr.com] > Sent: Thursday, January 17, 2002 5:45 PM > To: Craig Burgess; FreeBSD-questions@FreeBSD.ORG > Subject: Re: ruby/portupgrade errors + other stuff > > > On Thursday 17 January 2002 05:31 pm, Craig Burgess wrote: > > started out with: > > a portupgrade parse error on pkgdb > > ============== > > felix# ./pkgdb -F > > ./pkgdb:171: parse error > > rescue OptionParser::ParseError => e > > ^ > > ./pkgdb:174: parse error > > rescue => e > > ^ > > ./pkgdb:306: parse error > > rescue => e > > ^ > > ./pkgdb:333: parse error > > rescue => e > > ^ > > ./pkgdb:426: parse error > > rescue => e > > ^ > > ./pkgdb:538: parse error > > rescue => e > > ^ > > ============== > > > > So I removed & reinstalled portupgrade which didn't help, so i > > replaced ruby with the latest in ports, then > > deinstalled/reinstalled portupgrade. Result: > > felix# ./pkgdb -F > > env: /usr/local/bin/ruby_s: No such file or directory > > > > which is true. /usr/local/bin contains ruby16. So i made a > > symbolic link to for ruby_s to ruby16. > > > > Now I get: > > felix# ./pkgdb -F > > /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:9: fnmatch module > > not found (RuntimeError) > > from ./pkgdb:35:in `require' > > from ./pkgdb:35 > > > > Line 35 of pkgdb is > > require "pkgtools" > > > > I think I'm chasing my tail here. apache13-modssl won't > > successfully install, so IMP won't install which is the real goal > > (I think). > > > > This is not on i386: uname -a > > 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Thu Dec 13 15:27:29 PST 2001 > > > > :/usr/obj/usr/src/sys/GENERIC alpha > > > > If someone can point me toward a resolution I could go on to the > > next puzzle. Thanks. > > Remove portupgrade and all the ruby-XXX ports, and reinstall > portupgrade. The way it interacts with ruby was changed a while ago > and they need to stay a bit in sync. > > -- > Ray Kohler > Weinberg's Second Law: > If builders built buildings the way programmers wrote programs, > then the first woodpecker that came along would destroy > civilization. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message