Re: Looking for help building 'rhdb-explain' Visual Explain tool

From: jseymour(at)LinxNet(dot)com (Jim Seymour)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Looking for help building 'rhdb-explain' Visual Explain tool
Date: 2004-04-22 20:58:35
Message-ID: 20040422205835.39B044307@jimsun.LinxNet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Boes <jboes(at)nexcerpt(dot)com> wrote:
>
> Jeff Boes wrote:
> > I'm hoping there's someone here with experience in building the Visual
> > Explain tool from Red Hat.
>
> Thanks to some patient hand-holding by Fernando Nasser
> (fnasser(at)redhat(dot)com), I managed to make this work.
>
> Details, for those following my bread-crumb trail:
>
> My OS is Whitebox 3.0. I installed the Java SDK RPM, but until I did this:
>
> $ export CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar
>
> I couldn't get "ant" to build the package.

I don't know about the "Whitebox" (whatever that is) OS, but on my
Sparc Solaris boxes, anything placed in $JAVA_HOME/jre/lib/ext/ is
automatically added to CLASSPATH when a Java app is started-up.

>
> After I built it, some further messing around was necessary to discover
> that I needed the JDBC, and that I needed to edit CLASSPATH some more. I
> ended up with this incantation:
>
>
> $ export
> CLASSPATH=/usr/java/j2sdk1.4.2_04/jre/lib/rt.jar:/home/jboes/downloads/pg74.213.jdbc3.jar:.

I decided to build on how Java works on my Sun boxes, by mimicking its
"default CLASSPATH add-ons" directory in /usr/local. Then I wrote a
"java_profile" script that automatically adds any jarfile it finds
there into the CLASSPATH environment variable. It gets run by, say,
/etc/profile, so all users get it.

>
[remainder snipped]
>

--
Jim Seymour | Spammers sue anti-spammers:
jseymour(at)LinxNet(dot)com | http://www.LinxNet.com/misc/spam/slapp.php
http://jimsun.LinxNet.com | Please donate to the SpamCon Legal Fund:
| http://www.spamcon.org/legalfund/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2004-04-22 21:00:19 Re: Installing postgres
Previous Message William Sweet 2004-04-22 20:49:15 Unicode encoding