From owner-freebsd-ports@FreeBSD.ORG Fri Jul 21 16:43:46 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3BAB16A4DE; Fri, 21 Jul 2006 16:43:46 +0000 (UTC) (envelope-from jtrigg@spamcop.net) Received: from argent.heraldsnet.org (argent.heraldsnet.org [64.83.41.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71C1743D45; Fri, 21 Jul 2006 16:43:46 +0000 (GMT) (envelope-from jtrigg@spamcop.net) Received: from mail.scadian.net (localhost.scadian.net [127.0.0.1]) by argent.heraldsnet.org (Postfix) with ESMTP id A1CB1B5F; Fri, 21 Jul 2006 12:43:40 -0400 (EDT) Received: from 128.221.197.129 (SquirrelMail authenticated user blaise) by mail.scadian.net with HTTP; Fri, 21 Jul 2006 12:43:40 -0400 (EDT) Message-ID: <10500.128.221.197.129.1153500220.squirrel@mail.scadian.net> In-Reply-To: <200607211110.12682.duncan.fbsd@gmail.com> References: <56732.128.221.197.129.1153429782.squirrel@mail.scadian.net> <44C072BA.3060809@FreeBSD.org> <11191.128.221.197.129.1153493101.squirrel@mail.scadian.net> <200607211110.12682.duncan.fbsd@gmail.com> Date: Fri, 21 Jul 2006 12:43:40 -0400 (EDT) From: "Jim Trigg" To: "Donald J. O'Neill" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-ports@freebsd.org, Sergey Matveychuk Subject: Re: Can't install ruby-bdb on RELEASE-6.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 16:43:47 -0000 On Fri, July 21, 2006 12:10 pm, Donald J. O'Neill wrote: > On Friday 21 July 2006 09:45, Jim Trigg wrote: >> On Fri, July 21, 2006 2:22 am, Sergey Matveychuk wrote: >> > Jim Trigg wrote: >> >> I'm setting up a new system with 6.1-RELEASE, and I forgot to install >> >> portupgrade from a package during the OS install. ruby-bdb fails to >> >> build, complaining that it doesn't know how to make 'all' (it doesn't >> >> specify which directory it's in, but it's right after it runs >> >> extconf.rb). Any clues? >> >> >> >> (Note: when I posted this earlier I mentioned changing LOCALBASE. >> >> Further testing has shown that it fails regardless of LOCALBASE >> >> setting.) >> > >> Full list of what I've done: > >> - Installed 6.1-RELEASE from CD > OK, fine. >> - Installed cvsup > >> - Ran cvsup ports-all > Please explain this a little more. What's ports-all? Is that the name of a > sup-file you're using? If so, what's in it? > >> - Attempted to install portupgrade with BDB4; ruby-bdb failed to build > What is the failure message. The failure could have occurred at the > beginning of ruby-bdb. Do you have /usr/ports/databases/db(what version?) > installed? I don't have the complete error message anymore, but it was basically "don't know how to make 'all'" after running extconf.rb. IIRC I had db41 installed; on at least one attempt I tried installing db44 instead (and setting WITH_BDB_VER=44). >> - Uninstalled all ports, changed LOCALBASE to /opt and X11BASE to >> $LOCALBASE > Are you saying you uninstalled the ports-tree and reinstalled it using > cvsup, or are you saying you uninstalled the installed ports? I'm saying I uninstalled all installed ports, in order to change LOCALBASE. > Is there a reason you are messing with LOCALBASE? Is this a linux thing > you're doing? Sort of, but not really. I'm changing LOCALBASE because I prefer having my filesystems at root level, and want my ports on a separate filesystem from /usr. /opt happens to be used by both Linux and Solaris. Note that while this is a new system (and my first 6.x system), I've been managing a 4.x system for at least six years now; I'm not new to FreeBSD or ports. > What is the output from 'df -m'? I'll send this later, when I'm at home where the system is. Offhand, /usr and /opt each are 20G partitions with plenty of free space. > Do you have anything in /etc/make.conf? Only LOCALBASE, X11BASE, and WITH_BDB_VER when those are defined. > I would suggest installing /usr/ports/databases/db43 before trying to > install portupgrade. It might work out a little better for you. OK, I'll try against that version as well. Thanks, Jim