LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Java compiler broken in -current? (http://www.linuxquestions.org/questions/slackware-14/java-compiler-broken-in-current-720460/)

Yalla-One 04-20-2009 01:18 PM

Java compiler broken in -current?
 
Recently tried to recompile a java application following the massive changes in -current, amongst them gcc.

I now get the following error with the gcj java precompiler:

Code:

gcj: error trying to exec 'ecj1': execvp: No such file or directory
Best way to see error in practice is to try the pdftk.SlackBuild from SBo...

Anyone seen this? Googling the error gives little useful help to me...

Thanks in advance!

Alien Bob 04-20-2009 03:05 PM

It's this bug in gcc you ran into, present since 4.3.0 at least: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35923
I did not see a patch for it yet.

Eric

Alien Bob 04-20-2009 04:00 PM

This seems to describe the solution to your issue: http://bugs.gentoo.org/show_bug.cgi?id=220779
I am not sure if Pat will build a new gcc package with this ftp://sourceware.org/pub/java/ecj-latest.jar added or just leave it.

Eric

Yalla-One 04-21-2009 01:12 AM

Thanks much!

Would be nice if either was included - I suspect the need to compile Java programs won't go away anytime soon just because oracle bought Sun ;-)


All times are GMT -5. The time now is 03:16 PM.