Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Open Office

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Geoffrey Derber <Geoffrey.Derber AT Trinity.edu>
  • To: Craig Dyke <grail AT enterprize.net.au>
  • Cc: josebernardo1 AT yahoo.com
  • Cc: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] Open Office
  • Date: Mon, 21 Apr 2003 17:54:16 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Craig Dyke wrote:
> Geoff
>
> i am still having troubles with this damn spell.
>
> have removed my own JAVA variable but it still can't find include files.
>
> When JAVA not there this is error:
>
> checking for javac... no
> checking for gcj... gcj -C
> checking if gcj -C works... yes
> checking for jar... jar
> checking for gcj... /usr/bin/gcj
> configure: error: cannot find java include files
>
> Now first line says that 'javac' is not there??
> And last one appears to be talking about gcj??
>
> This error with my JAVA back in:
>
> checking for javac... javac
> checking if javac works... yes
> checking for jar... jar
> checking for javac... /usr/local/bin/java/javac
> configure: error: cannot find java include files
>
> So i am buggered either way :(
>
> Craig
>
hmm,

In the BUILD file, can you add two lines two it. The lines leading up
to where you'd add these two lines are:

if [ -z $JAVA_HOME ]
then
if spell_installed j2sdk
then
export JAVA_HOME=/opt/java/j2sdk
elif spell_installed j2sdk-bin
then
export JAVA_HOME=/usr/lib/j2sdk1.4.1
fi
fi


now add:

echo $JAVA_HOME
exit 1; # so the whole thing doesn't continue

what does the spell think $JAVA_HOME is set to?

Right now, I'm just trying to come up w/ hack solutions. At this point,
anything I come up with will be anything but clean.

Bernardo, if you have any ideas when you get back, be sure and say
something. I'm stumped and guessing.

Geoff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+pHaWHBxk9YxVu58RAnOmAKCWqfSjKPZmtk7n9jPfPaQf1A0s8wCdGQ9R
uMKu99oOoRSM84XH+V14di4=
=6PyC
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page