Summary: | javasupport is not FreeBSD friendly | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | David Holm <david> |
Component: | Language Support: Java | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David Holm
2003-01-25 19:37:28 UTC
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 |