LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2005, 05:38 AM   #1
Prop_idze
LQ Newbie
 
Registered: Aug 2005
Location: Sofia, Bulgaria
Distribution: Made from Scratch(tm)
Posts: 3

Rep: Reputation: 0
Compile gettext with GCJ


Here is a brief list of the software that I use:
GCC-3.4.3 (java,fortran and c/c++ support)
Classpath-0.18
Eclipse-3.1 (I mention it because maybe it makes the problems)
The distro was made by myself

---
I have tried to build gettext from source on my system. Everything was fine until the make script tried to build java file. It fails and gives this error:

Code:
/bin/sh ../lib/javacomp.sh -d . ./gnu/gettext/GettextResource.java
Exception in thread "main" java.lang.ClassNotFoundException: org.eclipse.jdt.internal.co mpiler.batch.Main not found in [file:/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar, file:./, core:/]
  at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
  at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0. 0)
  at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0 .0)
  at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
  at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/li b/libgcj.so.5.0.0)
  at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
  at com.sun.tools.javac.Main.Main() (Unknown Source)
  at com.sun.tools.javac.Main.main(java.lang.String[]) (Unknown Source)
make[3]: *** [gnu/gettext/GettextResource.class] Error 1
make[3]: Leaving directory `/sources/TOOLKIT-sources/TOOLKIT-build/gettext-0.14.5/gettex t-runtime/intl-java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/TOOLKIT-sources/TOOLKIT-build/gettext-0.14.5/gettex t-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/sources/TOOLKIT-sources/TOOLKIT-build/gettext-0.14.5/gettex t-runtime'
make: *** [all-recursive] Error 1
I need an advise about what can I do to fix the problem.
 
Old 09-26-2005, 07:41 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I messed around with this a little bit... I can't get it to install with gcj but I could get it to work with Blackdown Java, Sun Java, and with the --without-java option.
 
Old 09-26-2005, 10:16 AM   #3
Prop_idze
LQ Newbie
 
Registered: Aug 2005
Location: Sofia, Bulgaria
Distribution: Made from Scratch(tm)
Posts: 3

Original Poster
Rep: Reputation: 0
--without-java doesn't help. The same error appears
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gettext Compile error during 'make' tcom Linux From Scratch 3 11-13-2005 10:29 AM
need help with gcj max_rsr Programming 1 05-24-2005 03:07 AM
problem with gcj os2 Linux - Software 4 09-14-2004 01:04 PM
gcj and Gl4Java (can i get them to work together ?) qwijibow Programming 0 08-30-2004 08:22 AM
gcj jdbc verigoth Programming 1 06-02-2003 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration