From owner-freebsd-questions Tue Sep 24 8:57:16 2002 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 462C737B401 for ; Tue, 24 Sep 2002 08:57:15 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2839C43E6A for ; Tue, 24 Sep 2002 08:57:09 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id IAA09808; Tue, 24 Sep 2002 08:54:43 -0700 Message-ID: <3D908AC1.8060305@owt.com> Date: Tue, 24 Sep 2002 08:54:41 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: anon user Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ports dont build: WTF References: <20020924150501.17472.qmail@web20005.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 anon user wrote: > hi , iam a freeBSD noobie. i've tried to build some > ports. like kdevelop-1.4.1.tar.gz and vice-1.2.tar.gz > they error out .. stop .. well crap !! .. so wtf is > up with this stuff ?? .. i've tried cvsup it connects > says its doing it , but i dont get any version > changes. also tried portupgrade , it says be sure to > run pkgdb -F .. i do and get > /usr/local/sbin/pkgdb:34:in `require': No such file to > load -- optparse (LoadError) > from /usr/local/sbin/pkgdb:34 .. so how to > fix... yes i got /var/db/pkgs .. > > * :-(( ..... i really dont see the point to having > pkg's that wont build.. is it me ? ..... thanks.. Well, for the most part it is you. Your major problem is using out of date ports. For example, the current kdevelop is kdevelop-2.1.3. The meta port kde-2 was recently removed from the port tree. If you have cvsuped ports-all and run portsdb -uU to have an up_to_date port structure and INDEX files, it doesn't want to deal with the ancient versions of kdevelop-1.4.1 or kde-2. Optparse is also out of date but it causes problems with portupgrade because portupgrade doesn't know what to do with it. Once a port disappears from the port INDEX file, there isn't anything left to tell portupgrade what to do. Since it is still installed, portupgrade can't do anything and you have to deal with it manually. The easiest is to pkg_delete it and then upgrade the port that was using it. It is no longer referenced in my system but what I remember is that optparse was used by portupgrade and so you can't portupgrade portupgrade without some manual work on your part. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message