Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2009 19:36:16 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   Help setting up ports tinderbox?
Message-ID:  <20100101033616.GF86359@bunrab.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--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 <http://localhost/tb/>, 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100101033616.GF86359>