Ubuntu Dapper Build
Michael Koch
konqueror at gmx.de
Sat Jun 9 04:30:36 PDT 2007
On Fri, Jun 08, 2007 at 10:28:28AM +0100, Andrew Haley wrote:
> Michael Koch writes:
> > On Fri, Jun 08, 2007 at 05:01:13AM -0400, Matthew Flaschen wrote:
> > > I tried to build on Ubuntu (really gNewSense) Dapper and got the below
> > > error:
> > >
> > > checking for eclipse-ecj.jar... no
> > > configure: error: "A ECJ jar was not found."
> > >
> > > Can anyone suggest where to find this file (preferably packaged in a
> > > logical place :) )
> >
> > sudo aptitude install ecj.
> >
> > (or on older Ubuntu/Debian ecj-boostrap instead of ecj)
> >
> > I'm preparing a meta package which depends on all build dependencies and
> > adds some links for Debian and Ubuntu. When ready I will announce it
> > here.
>
> Ah, thanks. I knew you would come to the rescue.
I have uploaded a package called icedtea-builddeps to my personal repo
on people.debian.org. You can apt-get it via the following source line:
deb http://people.debian.org/~mkoch/java/ ./
This installs all the needed build dependencies and some links for jars
that are named differently on Fedora. It works on recent enough Debian and
Ubuntu systems.
I still cant build icedtea with this. I get the following error:
make[6]: Entering directory `/home/mkoch/src/icedtea/icedtea/openjdk/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'
Generating /home/mkoch/src/icedtea/icedtea/openjdk/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/jvmtifiles/jvmtiEnvRecommended.cpp
/home/mkoch/src/icedtea/icedtea/bootstrap/jdk1.6.0/bin/java -Djava.endorsed.dirs=/home/mkoch/src/icedtea/icedtea/bootstrap/jdk1.6.0/lib/endorsed -classpath /home/mkoch/src/icedtea/icedtea/openjdk/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/jvmtifiles jvmtiGen -IN /home/mkoch/src/icedtea/icedtea/openjdk/hotspot/src/share/vm/prims/jvmti.xml -XSL /home/mkoch/src/icedtea/icedtea/openjdk/hotspot/src/share/vm/prims/jvmtiEnv.xsl -OUT /home/mkoch/src/icedtea/icedtea/openjdk/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/jvmtifiles/jvmtiEnvStub.cpp
Info: jvmtiGen using javax.xml.transform.TransformerFactory = org.apache.xalan.processor.TransformerFactoryImpl
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.templates.ElemValueOf
at java.lang.Class.initializeClass(natClass.cc:720)
at java.lang.Class.forName(Class.h:751)
at java.lang.Class.forName(natClass.cc:124)
at org.apache.xalan.processor.XSLTSchema.build(XSLTSchema.java:381)
at org.apache.xalan.processor.XSLTSchema.<init>(XSLTSchema.java:70)
at org.apache.xalan.processor.StylesheetHandler.<init>(StylesheetHandler.java:1287)
at org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler(TransformerFactoryImpl.java:374)
at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:865)
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:774)
at jvmtiGen.main(jvmtiGen.java:144)
Caused by: java.lang.NullPointerException
at java.lang.Class.initializeClass(natClass.cc:714)
...9 more
The class org.apache.xalan.templates.ElemValueOf definitely exists in
the same jar as org.apache.xalan.processor.XSLTSchema. I dont what can
cause this.
Any help is appreciated.
Cheers,
Michael
--
.''`. | Michael Koch <konqueror at gmx.de>
: :' : | Free Java Developer <http://www.classpath.org>
`. `' |
`- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B
More information about the distro-pkg-dev
mailing list