From owner-freebsd-ports@FreeBSD.ORG Fri Jan 1 03:36:36 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57A8F106566B for ; Fri, 1 Jan 2010 03:36:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5D08FC14 for ; Fri, 1 Jan 2010 03:36:35 +0000 (UTC) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id o013aGoQ092157 for ; Thu, 31 Dec 2009 19:36:16 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.3/Submit) id o013aGIU092156 for freebsd-ports@freebsd.org; Thu, 31 Dec 2009 19:36:16 -0800 (PST) (envelope-from david) Date: Thu, 31 Dec 2009 19:36:16 -0800 From: David Wolfskill To: freebsd-ports@freebsd.org Message-ID: <20100101033616.GF86359@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mjqg7Yu+0hL22rav" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Help setting up ports tinderbox? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 03:36:36 -0000 --Mjqg7Yu+0hL22rav Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I was recently informed that a port that I maintain (astro/gpsman) has been updated. As I started going through the steps to update the port, I see that the Porter's Handbook section on "Testing the port" now apears to (fairly strongly) encourage the use of ports tinderbox. So I figured I'd give it a try, though I wasn't especially keen on adding Yet Another Port to the 881 ports I already had installed on the laptop, especially since I update all installed ports that appear to have updates every day (as well as tracking stable/6, stable/7, stable/8, and head every day -- the laptop tends to be busy). The process added 12 more ports (mostly mysql- and php5-related, as well as tinderbox itself). After modifying the Apache config per the pkg-message, then directing a Web browser to , I at least get a page that reads "Index of /tb" and which lists the content of /usr/local/tinderbox/scripts/webui. I guessed that this action was supposed to actually cause creation of a page with which I would have an opportunity to interact, so I started poking around; in /usr/local/tinderbox/scripts, I found a README file, so I started reading it. So it seems that most of the initial steps listed are handled by the port installation (e.g., directory-creation for ${pb}{,/scripts}; extraction of the Tinderbox distribution into ${pb}/scripts). The 3rd step reads: | 3. Run tc to setup configuration files and initialize the Tinderbox datab= ase: |=20 | # cd ${pb}/scripts && ./tc Setup |=20 | If you are going to be using the web front-end, edit webui/inc_ds.php.= dist | for your database setup. Then copy this file to inc_ds.php. |=20 | If your Tinderbox host does not have administrative access to the data= base | server, you must perform the next few steps by hand. Else, skip to st= ep 7. So I tried that: g1-119(6.4-S)[39] cd /usr/local/tinderbox/scripts/ g1-119(6.4-S)[40] id uid=3D1001(david) gid=3D1001(david) groups=3D1001(david),0(wheel),20(staff)= ,68(dialer),69(network),1004(cvsupin) g1-119(6.4-S)[41] sudo ./tc Setup Password: realpath: error: no suitable JavaVMs found =2E: Can't open /scripts/lib/tinderlib.sh: No such file or directory g1-119(6.4-S)[42]=20 OK; color me perplexed. Hmmm... the mention of realpath provides a possible source of confusion (at best): in my environment, /usr/local is a symlink to /common/local (for each of the 4 /usr file systems I have on the laptop, depending on which slice gets booted). I'm fairly certain I have at least one JavaVM installed -- for example, one of the ports I have installed is airport-2.0.1_3, which is a Java- based configurator for the Apple Airport (as I have & use one). And that program works. Where do I go from here? Thanks.... Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Mjqg7Yu+0hL22rav Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAks9ba8ACgkQmprOCmdXAD2cgQCfbUde8M9XOwZ+0Iy1V6mv0jTm fuUAnjMD6wad4Q+h19psDfZm/6LPtNxu =yFeJ -----END PGP SIGNATURE----- --Mjqg7Yu+0hL22rav--