From owner-freebsd-questions Fri Jan 18 15:19: 9 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 32BD437B405 for ; Fri, 18 Jan 2002 15:19:00 -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 g0INImQ00650; Fri, 18 Jan 2002 15:18:50 -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 15:19:40 -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: <0c2b51335211212FE5@mail5.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 Hmmmmm. ======================= felix# pkg_info ruby pkg_info: can't find package `ruby' installed or in a file! ======================= I tried that when your entry failed. Webmin shows: ======================= ruby-1.6.6 An object-oriented interpreted scripting language ruby-optparse-0.8.6 Yet another command line option parser for Ruby ruby-reference-1.0_1 Ruby Class and Module Reference, in HTML format ruby-usersguide-20010216 Ruby users guide, in HTML format ======================= from installing portupgrade: ======================= ===> Verifying install for /usr/local/lib/ruby/site_ruby/1.6/optparse.rb in / usr/ports/devel/ruby-optparse >> optparse-0.8.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby. >> Attempting to fetch from http://member.nifty.ne.jp/nokada/archive/. ^MReceiving optparse-0.8.6.tar.gz (76353 bytes): 0%^MReceiving optparse-0.8.6.ta r.gz (76353 bytes): 21%^MReceiving optparse-0.8.6.tar.gz (76353 bytes): 100% 76353 bytes transferred in 1.9 seconds (38.38 kBps) ===> Extracting for ruby-optparse-0.8.6 . . . ===> portupgrade-20020117 depends on file: /usr/local/lib/ruby/site_ruby/1.6/a lpha-freebsd4/fnmatch.so - not found ===> Verifying install for /usr/local/lib/ruby/site_ruby/1.6/alpha-freebsd4/fnmatch.so in /usr/ports/devel/ruby-fnmatch ===> Returning to build of portupgrade-20020117 . . . ===> portupgrade-20020117 depends on file: /usr/local/lib/ruby/site_ruby/1.6/uri.rb - not found ===> Verifying install for /usr/local/lib/ruby/site_ruby/1.6/uri.rb in /usr/ports/net/ruby-uri ===> Returning to build of portupgrade-20020117 ======================= uri.rb is in /usr/local/lib/ruby/site_ruby/1.6/optparse (which could be one of the problems??) so I copied it up on level, just in case... From the /usr/ports --- work directory ... ======================= felix# cd ruby-fnmatch-1.1b/ felix# ls MANIFEST extconf.rb fnmatch.o Makefile fnmatch.c fnmatch.so felix# cp fnm* /usr/local/lib/ruby/site_ruby/1.6/alpha-freebsd4/ ======================= again, copied "just in case" Where (what?) is pkgtools supposed to be? ======================= felix# find / -iname "pkgtools" /usr/local/share/doc/pkgtools /usr/local/share/examples/pkgtools ======================= pwd /usr/local/share/examples/pkgtools/tcsh felix# cat complete.sample #!/bin/csh # # $Idaemons: /home/cvs/pkgtools/misc/tcsh/complete.sample,v 1.5 2001/12/10 02:11 :30 knu Exp $ if ($?PORTSDIR == 0) then setenv PORTSDIR /usr/ports endif if ($?PKG_DBDIR == 0) then setenv PKG_DBDIR /var/db/pkg endif complete pkg_deinstall "p@*@D:$PKG_DBDIR@@" complete pkg_fetch 'p@*@`ls $PKG_DBDIR | sed "s,\(.*\)-.*,\1," `@@' complete pkg_tarup "p@*@D:$PKG_DBDIR@@" complete ports_glob "p@*@D:$PORTSDIR@" complete portinstall "p@*@D:$PORTSDIR@" complete portupgrade "n@-o@D:$PORTSDIR@" "p@*@D:$PKG_DBDIR@@" complete portversion "p@*@D:$PKG_DBDIR@@" ======================= Looks to me like the ducks now ought to be lined up but it still fails. I'm perplexed. craig > -----Original Message----- > From: Ray Kohler [mailto:rkohler1@cox.rr.com] > Sent: Friday, January 18, 2002 1:38 PM > To: Craig Burgess; FreeBSD-questions@FreeBSD.ORG > Subject: Re: ruby/portupgrade errors + other stuff > > > On Friday 18 January 2002 03:41 pm, Craig Burgess wrote: > > 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. > > Make sure the ruby-fnmatch port is installed (as well as > ruby-optparse, and ruby-uri). These ought to be installed with > portupgrade. > > ~ 4:36pm > pkg_info | g ruby > ruby-1.6.6 An object-oriented interpreted scripting > language > ruby-fnmatch-1.1b_1 A Ruby module which provides File::fnmatch and > File::FNM_* > ruby-optparse-0.8.6 Yet another command line option parser for Ruby > ruby-uri-0.9,1 Ruby interface to parse URIs according to RFC > 2396 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message