Discussion:
[Classpathx-javamail] Build Inetlib
Fernando Lopes
2010-04-14 10:49:49 UTC
Permalink
Hi,

I read in some forum that you built inetlib. Can you somehow help me with
this??

When I run ./configure it just shows:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcj... no
checking for jikes... no
checking for ejc... no
checking for guavac... no
checking for javac... javac
checking if javac works... yes
checking for fastjar... no
checking for jar... jar
checking for gjdoc... no
checking for javadoc... javadoc
checking for jamvm... no
checking for kaffe... no
checking for sablevm... no
checking for cacao... no
checking for gij... no
checking for java... java
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if java works... configure: error: The Java VM java failed (see
config.log, check the CLASSPATH?)

The thing is that java works!!! When for example i compile the Test.class.

I tried to run CLASSPATH=/home/
nando/OSGI/Classpath_Limpo/
inst/usr/share/classpath/glibj.zip:/home/nando/TransferĂȘncias/Gnu_Javamail/inetlib-1.1.1/
./configure

Still no luck!

Just can't get it!

Thanks,

Fernando Lopes
alok vaidya
2010-04-16 17:04:16 UTC
Permalink
Hi,

Try building the source using the build.xml file with Ant.

Alok.
Post by Fernando Lopes
Hi,
I read in some forum that you built inetlib. Can you somehow help me with
this??
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcj... no
checking for jikes... no
checking for ejc... no
checking for guavac... no
checking for javac... javac
checking if javac works... yes
checking for fastjar... no
checking for jar... jar
checking for gjdoc... no
checking for javadoc... javadoc
checking for jamvm... no
checking for kaffe... no
checking for sablevm... no
checking for cacao... no
checking for gij... no
checking for java... java
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if java works... configure: error: The Java VM java failed (see
config.log, check the CLASSPATH?)
The thing is that java works!!! When for example i compile the Test.class.
I tried to run CLASSPATH=/home/
nando/OSGI/Classpath_Limpo/
inst/usr/share/classpath/glibj.zip:/home/nando/TransferĂȘncias/Gnu_Javamail/inetlib-1.1.1/
./configure
Still no luck!
Just can't get it!
Thanks,
Fernando Lopes
Chris Burdess
2010-04-19 06:50:43 UTC
Permalink
I have rebuilt the configure script with recent versions of automake and autoconf, see if that helps. I think that the problem will be the environment you're building in though, if you have aliased java or have some custom classpath.
--
Chris Burdess
Loading...