From owner-freebsd-questions Thu Jan 17 17:42: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Mail4.mgfairfax.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id 57EE937B405 for ; Thu, 17 Jan 2002 17:41:59 -0800 (PST) Received: from there ([24.168.212.227]) by Mail4.mgfairfax.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Thu, 17 Jan 2002 20:41:57 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Ray Kohler To: "Craig Burgess" , Subject: Re: ruby/portupgrade errors + other stuff Date: Thu, 17 Jan 2002 20:44:53 -0500 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <0735b5741011212FE4@Mail4.mgfairfax.rr.com> 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 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