LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-13-2006, 09:49 AM   #1
espo111
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0
Exclamation gcj java compiler problem >> stuck with gnome install


i need to recompile gcc with gjc java compiler. but i dont know how to do this.

I have a gentoo 2006.1 base system using the offical kernel 2.6.17.13

GCC 4.1.1

i tried using gentoo portage:

USE="gjc" emerge gcc and it compiled but i still have the problem.



i am trying to install gnome 2.16 using garnome (not portage) and i get stuck at
configure: error GJC version 3.0.0 or greater is required.


it also says to set the GJC_HOME variable if it is installed or add the top directory where GCJ binaries are to path. but im not even sure where to check for the binaries.

I use the command "which gjc" outputs: no gjc in (/usr/local/sbin:/usr/local/bin......)


any help with this would be great as there is little information on my problem.

thanks
 
Old 09-14-2006, 10:58 AM   #2
timjowers
LQ Newbie
 
Registered: Apr 2006
Posts: 27

Rep: Reputation: 15
Bit sure I understand what you are doing but I'll insert some comments...

Quote:
Originally Posted by espo111
i need to recompile gcc with gjc java compiler. but i dont know how to do this.
I have a gentoo 2006.1 base system using the offical kernel 2.6.17.13
GCC 4.1.1
i tried using gentoo portage:
USE="gjc" emerge gcc and it compiled but i still have the problem.
i am trying to install gnome 2.16 using garnome (not portage) and i get stuck at
configure: error GJC version 3.0.0 or greater is required.
it also says to set the GJC_HOME variable if it is installed or add the top directory where GCJ binaries are to path. but im not even sure where to check for the binaries.
I use the command "which gjc" outputs: no gjc in (/usr/local/sbin:/usr/local/bin......)
any help with this would be great as there is little information on my problem.
thanks
My understanding is you need GCJ. I'm running CentOS and it is installed already. Do you have the gcj command on your system? I.e. you could run
find . -name gcj -print
from /
and see. Then maybe set GCJ_HOME as well as add a symbolic link in /usr/bin. Below is output how my system is setup.

Post back if this does not help.
TimJowers

[root@localhost etc]# gcj -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/libgcj.spec
rename spec lib to liborig
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
[root@localhost etc]# whereis gcj
gcj: /usr/bin/gcj /usr/share/man/man1/gcj.1.gz
[root@localhost etc]#
 
  


Reply

Tags
garnome


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
GCJ, the java compiler daziplqa Programming 18 06-22-2006 01:09 PM
Synaptic Package Manager shows 'java-common' and 'java-gcj-compat' as Installed. swiadek Ubuntu 3 02-12-2006 11:54 AM
GCJ:Java is not anymore inerpeted? NCC-1701&NCC-1701-D Programming 4 07-02-2005 01:52 PM
Sun Java not GCJ untwisted Linux - Software 6 06-16-2005 04:18 PM
gcc, gcj, and java problems weppnesp Linux - Software 0 06-15-2003 06:34 PM


All times are GMT -5. The time now is 12:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration