[Kde-bindings] Re: [Kde-java] Ann: Koala java bindings regenerated for KDE 3.2

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri Jan 23 12:23:18 CET 2004


On Friday 23 January 2004 08:35, E.L. Willighagen wrote:
> Excellent! Is 3.1.95 the version with all these new features? If so, I'll
> ask people on debian-java if they tried to compile it with gcj or kaffe
> (kjc)...
Here's how to add gcj interface libraries to the build..

Add these lines to the end of qtjava/javalib/org/kde/qt/Makefile.am:

GCJFLAGS=-fjni
lib_LTLIBRARIES = lib-org-kde-qt.la
lib_org_kde_qt_la_SOURCES = $(EXTRA_DIST)

Add these lines to the end of kdejava/koala/org/kde/koala/Makefile.am:

GCJFLAGS=-fjni
lib_LTLIBRARIES = lib-org-kde-koala.la
lib_org_kde_koala_la_SOURCES = $(EXTRA_DIST)

Add this line to kdebindings/configure.in.in, just after the comment 'Java 
checks:

dnl
dnl Java checks
dnl

AM_PROG_GCJ

Then configure kdebindings:

$ cd kdebindings
$ make -f Makefile.cvs
$ ./configure <your configure options>

$ cd qtjava
$ make

I get this error:

make[4]: Entering directory 
`/home/duke/src/kde/HEAD/kdebindings/qtjava/javalib/org/kde/qt'
source='QAccel.java' object='QAccel.lo' libtool=yes \
depfile='.deps/QAccel.Plo' tmpdepfile='.deps/QAccel.TPlo' \
depmode=gcc3 /bin/sh ../../../../../admin/depcomp \
/bin/sh ../../../../../libtool --silent --mode=compile gcj  -fjni -c -o 
QAccel.lo `test -f 'QAccel.java' || echo './'`QAccel.java
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[4]: *** [QAccel.lo] Error 1

It seems to be a problem with libtool. I think I used to get a different 
error, but I've never got it working without hand editing the libtool script.

-- Richard


More information about the Kde-java mailing list