[Kde-bindings] builddir != sourcedir fixes

Richard Lärkäng nouseforaname at home.se
Sun Dec 28 13:42:06 UTC 2003


On Sunday 28 December 2003 11.49, Richard Dale wrote:
> On Friday 26 December 2003 20:11, Richard Lärkäng wrote:
> > Hi!
> >
> > After quite a bit of patching I got kdebindings to build with srcdir !=
> > builddir.
> >
> > The patches mostly are adding $(srcdir) in front of paths, but there are
> > some others too.
>
> Yes, I've had a look through the patch - it all looks good to me. I think a
> patch for smoke/kde the same as the smoke/qt one is needed (although that
> only gets built if '--enable-smoke=kde' is passed to configure).

I was going to do that, but I obviously forgot it. I tried it now, but ran 
into some problems, so I commited what I had for now.

> QtRuby/Korundum needs ruby 1.8 and above - is there an easy way to add a
> version check to the ruby config?

I'm afraid I don't know enough about autoconf to do that :-(

> > But I can't compile kdejava without editing the Makefile, in
> > kdejava/koala/org/kde/koala i get this: make: execvp: /bin/sh: Argument
> > list too long
> > make: *** [classjava.stamp] Error 127
> >
> > I can get around this by removing the if at the beginning and the "else
> > :; fi" at the end in: classjava.stamp: $(java_JAVA)
> >         @if test -n "$?"; then \
> >         echo '$(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) $(AM_JAVACFLAGS)
> > $(JAVACFLAGS) $?' ; \ $(CLASSPATH_ENV) $(JAVAC) -d $(JAVAROOT) \
> >         $(AM_JAVACFLAGS) $(JAVACFLAGS) $?; \
> >         else :; fi
> >         echo timestamp > classjava.stamp
> >
> > But I have no idea how to solve this.
>
> It doesn't look as though removing the test will do much harm, but when I
> regenerated the java bindings on Dec 23rd, I might possibly have removed
> more sources than I added. I don't know what limit is that is being
> exceeded.

Yeah, I only meant removing the test as an ugly workaround for getting it to 
build for me. I don't know either what the limit is, but I guess it will only 
happen when compiling with builddir!=srcdir, as the filenames will be a lot 
longer then.

>
> > Can I commit this?
>
> Yes, please go ahead.

Ok, done.

Richard Lärkäng



More information about the Kde-bindings mailing list