Version: 3.0.0 (CVS) (using KDE KDE 3.0.99) Installed from: FreeBSD Ports Compiler: gcc 2.95.4 OS: FreeBSD It seems Gideon filters out jdk's with green threads, though this is the default on FreeBSD. I removed the grep -v and compiled it anyway which seems to work. Also, on freebsd the jdks are installed as /usr/local/j*dk* for FreeBSD compiled native versions and /usr/local/linux-*-j*dk* for linux binary packages. The configure script only looks in /usr and /opt. Also, when compiling a java (-kde) project it seems that the @JAVAC@ is never replaced with anything, might be another FreeBSD issue as the java environment isn't placed in the path by default, the solution I guess would be to record where the jdk was found in /usr/local. Another thing, why is there no Hello World java project? I don't want qt and all that shit in my java apps =). I could send you a patch which adds such a project but I guess you could just as easily add it yourself as it seemed pretty straightforward to add more project templates.
Okay, the hello world java example is now in CVS. As no one else seems to run FreeBSD and I don't have a box in reach, can you please try to fix those problems and send a patch? Thanks, Harry
perhaps this helps a bit. I do not have freebsd so I can't help, sorry. <lauri> in any case, what do you need to fix this? on FreeBSD only the OS itself is in /usr and / opt will never exist, you need to look at /usr/local always (so, for every kdevelop created app) everything needs "--with-extra-includes=/usr/local/include --with-extra-libs=/usr/local/lib") Java is even more special, it's installed as the bug report says, so, what is the existing java configure check? <dhaumann> kdevelop/parts/appwizard/javahello <lauri> what's the simplest way to find the right JAVAC here? <lauri> or, why isn't the JAVAC = @JAVAC@ in Makefile.in enough <leafy> $JAVA_HOME/bin/javac would be nice <lauri> ah, JAVA_HOME is promising <leafy> but don't expect every system sets it as global <leafy> include bsd.java.mk and defind NEED_JAVAC in the makefile <lauri> looks like we can trivially pick up the right javac but not until you have a release - in the meantime, I'm not sure how, other than setting JAVAC = $JAVA_HOME/bin/javac to fix it in the CVS builds <lauri> Makefile.am could be hacked to do that if it's FreeBSD without too much trouble, I expect <lauri> assign it to me, come nag me about it in a about a week (or at least, after 3.1.4 is released) and i'll make sure it gets fixed somehow <lauri> I just don't have actual time right this minute to rebuild kdevelop or work on it, but once this release is done, I will <dhaumann> ok. thanks all
I am running Gentoo Linux and I have the @JAVAC@ issue. I am going to check the Makefiles, but, Shouldn't the makefiles make use of the environment variables instead of looking for the physical location of the files in the directories?
We need more info from a FreeBDS system
fixed