Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCJ as Java SDK, dead, long live IcedTea!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 23, 24, 25, 26  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
asroka
n00b
n00b


Joined: 01 Nov 2002
Posts: 19
Location: Los Angeles, CA USA

PostPosted: Wed Aug 13, 2008 7:01 pm    Post subject: Reply with quote

Code:

1218637111: Started emerge on: Aug 13, 2008 07:18:31
1218637111:  *** emerge --ignore-default-opts --ask --verbose icedtea6
1218637121:  >>> emerge (1 of 1) dev-java/icedtea6-1.2 to /
1218637121:  === (1 of 1) Cleaning (dev-java/icedtea6-1.2::/usr/portage/local/layman/java-overlay/dev-java/icedtea6/icedtea6-1.2.ebuild)
1218637122:  === (1 of 1) Compiling/Merging (dev-java/icedtea6-1.2::/usr/portage/local/layman/java-overlay/dev-java/icedtea6/icedtea6-1.2.ebuild)
1218638671:  *** terminating.


It is now 11:50 and the ebuild is still running. On a Pentium 4 M 2.0 GHz with 2GB ram. Not the screamingest machine, but not even gcc takes over 4 1/2 hours (and counting). I'll update this message when (if) it finishes.

update: finished at 12:20:22 PDT... a total of 5h 2m 9s
that sucks, but I guess it's just that big.


Last edited by asroka on Wed Aug 13, 2008 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
emerald
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2005
Posts: 113

PostPosted: Wed Aug 13, 2008 7:05 pm    Post subject: Reply with quote

Don't worry, on my Athlon64 X2 4400+ (2x2.2 GHz) the first compilation took somewhere between 6 and 8 hours.
Thanks to ccache and non-bootstrap (compiled using icedtea) consecutive compilations 'only' needed 2..3 hours.

I only wonder what's this *terminating* doing there? O.O
_________________
Knowledge is scary....

... running Gentoo Linux ...
... and Windows in a 'small corner'(C) - i.e. vmware - :D ...
System Profile

Don't open the Red Door !
Back to top
View user's profile Send private message
asroka
n00b
n00b


Joined: 01 Nov 2002
Posts: 19
Location: Los Angeles, CA USA

PostPosted: Wed Aug 13, 2008 7:10 pm    Post subject: Reply with quote

emerald wrote:
Don't worry, on my Athlon64 X2 4400+ (2x2.2 GHz) the first compilation took somewhere between 6 and 8 hours.
Thanks to ccache and non-bootstrap (compiled using icedtea) consecutive compilations 'only' needed 2..3 hours.

I only wonder what's this *terminating* doing there? O.O


That's a normal part of the messages in /var/log/emerge.log Don't ask me why.

I have ccache enabled, but I may have to kill this thing and fire it up later (Can't stay where I am all day, and can't leave my laptop)

:-(
Back to top
View user's profile Send private message
gnu_andrew
n00b
n00b


Joined: 11 Apr 2008
Posts: 19

PostPosted: Tue Aug 19, 2008 8:39 pm    Post subject: Reply with quote

Yes, gcj-jdk is the recommended method to bootstrap as it's the most well-tested. Other Free JDKs like JamVM and CACAO should also work.
In theory, proprietary JDKs may work but you're on your own with that; only the vendors can fix bugs in these.

icedtea6 1.2 is the recommended version of icedtea. I'm going to move the rest to experimental to make this clearer.
Back to top
View user's profile Send private message
rooturner
n00b
n00b


Joined: 20 Aug 2008
Posts: 6

PostPosted: Wed Aug 20, 2008 10:40 pm    Post subject: Reply with quote

Hi, as I would like to go with free software am trying to build icedtea6 with gcj-jdk, can't emerge it so would like to ask:
1. Installed gcc with gcj USE flag and after that revdep-rebuild revealed this:
Code:
[ 25% ]  *   broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/libgij.la (requires /usr/lib/../lib64/libgcj.la)
[ 45% ]  *   broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.1/libgij.la (requires /usr/lib/../lib64/libgcj.la)
 *   broken /usr/lib64/gcj-4.3.1-9/libjvm.la (requires /usr/lib/../lib64/libgcj.la)
[ 100% ]                 
 * Generated new 3_broken.rr

revdep-rebuild-ed it and running it again above messages are not dissappearing :(
2. What are correct USE flags to go further this free way emerging gcj-jdk (among "java" "java6" "gcj" others) ?

To begin with this. Thank you
Back to top
View user's profile Send private message
rooturner
n00b
n00b


Joined: 20 Aug 2008
Posts: 6

PostPosted: Thu Aug 21, 2008 2:06 am    Post subject: Reply with quote

Ok, made some progress. Was necessery to emerge exact versions - eclipse-ecj-3.3 (not -3.4) (and to eselect ecj set ecj-3.3) and gjdoc-0.7.8 (not 0.7.9) in order to compile gcj-jdk. Then, ant-core exact version 1.7.0-r3 from java-overlay and xerces-2.6.2-r4 from java-overlay. Then one get no circullar deps and could (hopefully) install icedtea6.

Last edited by rooturner on Thu Aug 21, 2008 2:41 am; edited 1 time in total
Back to top
View user's profile Send private message
emerald
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2005
Posts: 113

PostPosted: Thu Aug 21, 2008 2:39 am    Post subject: Reply with quote

you'll probably have to remerge the virtual/jdk:1.5 so gcj-jdk will be seen as java jdk by portage. Otherwise it tries to merge a matching jdk, which would be icedtea6 ;)
_________________
Knowledge is scary....

... running Gentoo Linux ...
... and Windows in a 'small corner'(C) - i.e. vmware - :D ...
System Profile

Don't open the Red Door !
Back to top
View user's profile Send private message
rooturner
n00b
n00b


Joined: 20 Aug 2008
Posts: 6

PostPosted: Thu Aug 21, 2008 2:42 am    Post subject: Reply with quote

emerald: thanks but so far going fine with gcj-jdk
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Thu Aug 21, 2008 10:59 am    Post subject: Reply with quote

rooturner: this is a known problem. you have to fix it by linking manually https://bugs.gentoo.org/show_bug.cgi?id=219951
Back to top
View user's profile Send private message
enito
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2005
Posts: 79

PostPosted: Thu Aug 21, 2008 3:56 pm    Post subject: Reply with quote

Hi pals, i try to emerge icedtea and is impossible...see

franky icedtea6 # emerge icedtea6
Calculating dependencies... done!


[nomerge ] dev-java/icedtea6-1.2 USE="-debug -doc -examples -nsplugin -zero"
[ebuild NS ] dev-java/eclipse-ecj-3.2.2-r1 [3.4-r2] USE="-doc"
[ebuild U ] virtual/jdk-1.6.0-r1 [1.6.0]
[ebuild N ] dev-java/icedtea6-1.2 USE="-debug -doc -examples -nsplugin -zero"

* Error: circular dependencies:

('ebuild', '/', 'dev-java/eclipse-ecj-3.2.2-r1', 'merge') depends on
('ebuild', '/', 'virtual/jdk-1.6.0-r1', 'merge') (hard)
('ebuild', '/', 'dev-java/icedtea6-1.2', 'merge') (hard)
('ebuild', '/', 'dev-java/icedtea6-1.2', 'merge') depends on
('ebuild', '/', 'dev-java/eclipse-ecj-3.2.2-r1', 'merge') (hard)
('ebuild', '/', 'virtual/jdk-1.6.0-r1', 'merge') (hard)
('ebuild', '/', 'virtual/jdk-1.6.0-r1', 'merge') depends on
('ebuild', '/', 'dev-java/icedtea6-1.2', 'merge') (medium)

* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.


any tip is really welcomed...thx!
Back to top
View user's profile Send private message
asroka
n00b
n00b


Joined: 01 Nov 2002
Posts: 19
Location: Los Angeles, CA USA

PostPosted: Thu Aug 21, 2008 4:57 pm    Post subject: Reply with quote

enito wrote:
Hi pals, i try to emerge icedtea and is impossible...see

franky icedtea6 # emerge icedtea6
Calculating dependencies... done!


[nomerge ] dev-java/icedtea6-1.2 USE="-debug -doc -examples -nsplugin -zero"
[ebuild NS ] dev-java/eclipse-ecj-3.2.2-r1 [3.4-r2] USE="-doc"
[ebuild U ] virtual/jdk-1.6.0-r1 [1.6.0]
[ebuild N ] dev-java/icedtea6-1.2 USE="-debug -doc -examples -nsplugin -zero"

* Error: circular dependencies:

('ebuild', '/', 'dev-java/eclipse-ecj-3.2.2-r1', 'merge') depends on
('ebuild', '/', 'virtual/jdk-1.6.0-r1', 'merge') (hard)
('ebuild', '/', 'dev-java/icedtea6-1.2', 'merge') (hard)
('ebuild', '/', 'dev-java/icedtea6-1.2', 'merge') depends on
('ebuild', '/', 'dev-java/eclipse-ecj-3.2.2-r1', 'merge') (hard)
('ebuild', '/', 'virtual/jdk-1.6.0-r1', 'merge') (hard)
('ebuild', '/', 'virtual/jdk-1.6.0-r1', 'merge') depends on
('ebuild', '/', 'dev-java/icedtea6-1.2', 'merge') (medium)

* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.


any tip is really welcomed...thx!


You need to have a jdk installed in order to build icedtea. You could just use one of the non-free jdks like sun-jdk or ibm-jdk. Or, as the purists will insist, you could install gcj-jdk and use it to build the jdk.

First, read this: http://icedtea.classpath.org/wiki/GentooBuildInstructions

Then, read some of the earlier posts in this thread.

Happy hunting.
Back to top
View user's profile Send private message
enito
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2005
Posts: 79

PostPosted: Thu Aug 21, 2008 4:59 pm    Post subject: Reply with quote

thx man, i do!!
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Mon Sep 01, 2008 3:04 am    Post subject: Reply with quote

I can`t emerge gcj:

Code:
>>> Emerging (1 of 5) dev-java/gcj-4.3.0_alpha20080313
>>> Downloading 'http://gentoo.osuosl.org/distfiles/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:27--  http://gentoo.osuosl.org/distfiles/gcc-4.3-20080313.tar.bz2
Преобразувам gentoo.osuosl.org... 64.50.238.52, 64.50.236.52
Connecting to gentoo.osuosl.org|64.50.238.52|:80... успешно свързване.
HTTP изпратено искане, чакам отговор... 404 Not Found
2008-09-01 06:03:28 ГРЕШКА: 404: Not Found.

>>> Downloading 'http://mirrors.ludost.net/gentoo/distfiles/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:28--  http://mirrors.ludost.net/gentoo/distfiles/gcc-4.3-20080313.tar.bz2
Преобразувам mirrors.ludost.net... 194.12.255.250
Connecting to mirrors.ludost.net|194.12.255.250|:80... успешно свързване.
HTTP изпратено искане, чакам отговор... 404 Not Found
2008-09-01 06:03:30 ГРЕШКА: 404: Not Found.

>>> Downloading 'ftp://mirrors.ludost.net/gentoo/distfiles/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:30--  ftp://mirrors.ludost.net/gentoo/distfiles/gcc-4.3-20080313.tar.bz2
           => `/usr/portage/distfiles/gcc-4.3-20080313.tar.bz2'
Преобразувам mirrors.ludost.net... 194.12.255.250
Connecting to mirrors.ludost.net|194.12.255.250|:21... успешно свързване.
Логвам се като anonymous ... Успешно логване!
==> SYST ... готово.    ==> PWD ... готово.
==> TYPE I ... готово.  ==> CWD /gentoo/distfiles ... готово.
==> SIZE gcc-4.3-20080313.tar.bz2 ... готово.
==> PASV ... готово.    ==> RETR gcc-4.3-20080313.tar.bz2 ...
Няма такъв файл `gcc-4.3-20080313.tar.bz2'.

>>> Downloading 'http://gentoo.telnet.bg/distfiles/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:31--  http://gentoo.telnet.bg/distfiles/gcc-4.3-20080313.tar.bz2
Преобразувам gentoo.telnet.bg... неуспя: Name or service not known.
wget: unable to resolve host address `gentoo.telnet.bg'
>>> Downloading 'http://mirror.gentoo.no/distfiles/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:33--  http://mirror.gentoo.no/distfiles/gcc-4.3-20080313.tar.bz2
Преобразувам mirror.gentoo.no... 92.62.42.211
Connecting to mirror.gentoo.no|92.62.42.211|:80... успешно свързване.
HTTP изпратено искане, чакам отговор... 404 Not Found
2008-09-01 06:03:34 ГРЕШКА: 404: Not Found.

>>> Downloading 'http://gentoo.ynet.sk/pub/distfiles/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:34--  http://gentoo.ynet.sk/pub/distfiles/gcc-4.3-20080313.tar.bz2
Преобразувам gentoo.ynet.sk... 147.175.167.205
Connecting to gentoo.ynet.sk|147.175.167.205|:80... успешно свързване.
HTTP изпратено искане, чакам отговор... 404 Not Found
2008-09-01 06:03:34 ГРЕШКА: 404: Not Found.

>>> Downloading 'http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:34--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gcc-4.3-20080313.tar.bz2
Преобразувам www.ibiblio.org... 152.46.7.80
Connecting to www.ibiblio.org|152.46.7.80|:80... успешно свързване.
HTTP изпратено искане, чакам отговор... 301 Moved Permanently
Адрес: http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/gcc-4.3-20080313.tar.bz2 [следва]
--2008-09-01 06:03:35--  http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/gcc-4.3-20080313.tar.bz2
Преобразувам distro.ibiblio.org... 152.46.7.109
Connecting to distro.ibiblio.org|152.46.7.109|:80... успешно свързване.
HTTP изпратено искане, чакам отговор... 404 Not Found
2008-09-01 06:03:36 ГРЕШКА: 404: Not Found.

>>> Downloading 'ftp://sources.redhat.com/pub/gcc/snapshots/4.3-20080313/gcc-4.3-20080313.tar.bz2'
--2008-09-01 06:03:36--  ftp://sources.redhat.com/pub/gcc/snapshots/4.3-20080313/gcc-4.3-20080313.tar.bz2
           => `/usr/portage/distfiles/gcc-4.3-20080313.tar.bz2'
Преобразувам sources.redhat.com... 209.132.176.174
Connecting to sources.redhat.com|209.132.176.174|:21... успешно свързване.
Логвам се като anonymous ... Успешно логване!
==> SYST ... готово.    ==> PWD ... готово.
==> TYPE I ... готово.  ==> CWD /pub/gcc/snapshots/4.3-20080313 ...
Няма такава директория `pub/gcc/snapshots/4.3-20080313'.

!!! Couldn't download 'gcc-4.3-20080313.tar.bz2'. Aborting.


Now how can i make icedtea to work :?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
wolf550e
n00b
n00b


Joined: 20 May 2005
Posts: 17
Location: Israel

PostPosted: Mon Sep 01, 2008 6:18 am    Post subject: Reply with quote

Kollin wrote:
I can`t emerge gcj:

Code:
>>> Emerging (1 of 5) dev-java/gcj-4.3.0_alpha20080313
>>> Downloading 'http://gentoo.osuosl.org/distfiles/gcc-4.3-20080313.tar.bz2'
...snip...


Now how can i make icedtea to work :?


I don't know what dev-java/gcj is, but I have sys-devel/gcc-4.3.1-r1 with the gcj USE flag.
That works, together with dev-java/gcj-jdk-4.3.1.
Make sure you install the stuff from java-overlay (http://overlays.gentoo.org/svn/proj/java/java-overlay/, use layman) for the required packages, even and especially if the portage tree has newer versions. Stuff like xerxes and xalan, I think. Also, dev-java/eclipse-ecj-3.3. There are posts in this thread with the details.
gcc-4.3.1.tar.bz2 is 58964610 bytes. I think you need to sudo emerge --sync.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Mon Sep 01, 2008 12:14 pm    Post subject: Reply with quote

wolf550e wrote:
Kollin wrote:
I can`t emerge gcj:

Code:
>>> Emerging (1 of 5) dev-java/gcj-4.3.0_alpha20080313
>>> Downloading 'http://gentoo.osuosl.org/distfiles/gcc-4.3-20080313.tar.bz2'
...snip...


Now how can i make icedtea to work :?


I don't know what dev-java/gcj is, but I have sys-devel/gcc-4.3.1-r1 with the gcj USE flag.
That works, together with dev-java/gcj-jdk-4.3.1.
Make sure you install the stuff from java-overlay (http://overlays.gentoo.org/svn/proj/java/java-overlay/, use layman) for the required packages, even and especially if the portage tree has newer versions. Stuff like xerxes and xalan, I think. Also, dev-java/eclipse-ecj-3.3. There are posts in this thread with the details.
gcc-4.3.1.tar.bz2 is 58964610 bytes. I think you need to sudo emerge --sync.


ok i`ll try your way :wink: thank you :)
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Mon Sep 01, 2008 3:50 pm    Post subject: Reply with quote

dev-java/gjdoc-0.7.9 gives me a headache, nothing suggested in the forums actually works:


Code:
felis ~ # CLASSPATH="." emerge  dev-java/gjdoc
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-java/gjdoc-0.7.9
 * gjdoc-0.7.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                              [ ok ]
 * Your CXXFLAGS contains "-fvisibility-inlines-hidden" which can break packages.
 *
 * Before you file a bug, please remove these flags and
 * re-compile the package in question as well as all its dependencies
 * Using: gcj-jdk
>>> Unpacking source...
>>> Unpacking gjdoc-0.7.9.tar.gz to /var/tmp/portage/dev-java/gjdoc-0.7.9/work
 * Applying gjdoc-0.7.7-gcp.patch ...                                                                                                                [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-java/gjdoc-0.7.9/work/gjdoc-0.7.9' ...
 * Running aclocal -I m4 ...                                                                                                                         [ ok ]
 * Running libtoolize --copy --force --install --automake ...                                                                                        [ ok ]
 * Running aclocal -I m4 ...                                                                                                                         [ ok ]
 * Running autoconf ...                                                                                                                              [ ok ]
 * Running automake --add-missing --copy ...                                                                                                         [ ok ]
 * Running elibtoolize in: gjdoc-0.7.9
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/gjdoc-0.7.9/work/gjdoc-0.7.9 ...
 * econf: updating gjdoc-0.7.9/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gjdoc-0.7.9/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-antlr-jar=/usr/share/antlr/lib/antlr.jar --disable-dependency-tracking --disable-xmldoclet --enable-native --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for gcj... gcj
checking dependency style of gcj... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for gcj... (cached) gcj
checking dependency style of gcj... (cached) none
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... yes
checking if gcj static flag -static works... no
checking if gcj supports -c -o file.o... yes
checking if gcj supports -c -o file.o... (cached) yes
checking whether the gcj linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking for fastjar... no
checking for jar... jar
You have no CLASSPATH, I hope it is good
checking for uudecode... no
configure: WARNING: I have to compile Test.class from scratch
checking if javac -source 1.4 -target 1.4 works... configure: error: The Java compiler javac -source 1.4 -target 1.4 failed (see config.log, check the CLASSPATH?)

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-java/gjdoc-0.7.9/work/gjdoc-0.7.9/config.log
 *
 * ERROR: dev-java/gjdoc-0.7.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4278:  Called econf '--with-antlr-jar=/usr/share/antlr/lib/antlr.jar' '--disable-dependency-tracking' '--disable-xmldoclet' '--enable-native'
 *               ebuild.sh, line  538:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/gjdoc-0.7.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/gjdoc-0.7.9/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=gcj-jdk  CLASSPATH="" JAVA_HOME="/usr/lib/gcj-4.3.1"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Code:
emerge --info
Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-zen2.1 x86_64)
=================================================================
System uname: Linux-2.6.26-zen2.1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5
Timestamp of tree: Sun, 31 Aug 2008 10:34:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.telnet.bg/  http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BGB.UTF-8"
LC_ALL="bg_BG.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags"
LINGUAS="en_GB en_US en bg"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/berkano /usr/portage/local/layman/zen-overlay /usr/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gcj gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ocamlopt ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en bg" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


:?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
wolf550e
n00b
n00b


Joined: 20 May 2005
Posts: 17
Location: Israel

PostPosted: Mon Sep 01, 2008 9:27 pm    Post subject: Reply with quote

I could install gjdoc from the overlay, either 0.7.8 or 0.7.9, either with or without the gcj USE flag. I don't remember which combination worked, and I don't remember what else I had to do but I and other people have managed it.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Mon Sep 01, 2008 10:10 pm    Post subject: Reply with quote

wolf550e wrote:
I could install gjdoc from the overlay, either 0.7.8 or 0.7.9, either with or without the gcj USE flag. I don't remember which combination worked, and I don't remember what else I had to do but I and other people have managed it.


Notti :D

It was 0.7.8 with USE="-gcj" thank you :wink:

P.S. Yey i have icedtea :D
Any ideas how to force opera to use it and how to make ff and opera to use gcj-jdk as a default java environment ? :?: :idea:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Mon Sep 08, 2008 6:04 pm    Post subject: Reply with quote

I just tried to emerge the icedtea-9999 ebuild but it failed when it got to installing, something about sandbox violations, I also noticed that it was having problems with file access during the compile, possibl; related to ant-core, unfortunately ant-core is not in java-experimental overlay and ant-core in regular java overlay is too old, can this be fixed?
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Mon Sep 08, 2008 9:32 pm    Post subject: Reply with quote

Here is the terminal output

cp openjdk/jdk/src/share/classes/net/sourceforge/jnlp/resources/about.jnlp \
extra-lib/about.jar \
openjdk/build/linux-amd64/j2sdk-image/jre/lib
IcedTea is served: openjdk/build/linux-amd64
mkdir -p stamps
touch stamps/icedtea.stamp
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-29497.log"

mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo56214.tmp
mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo62286.tmp
mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo58948.tmp
mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo41340.tmp
mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo51394.tmp
mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo29166.tmp
mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo63374.tmp
mkdir: /root/.java/fonts/1.7.0_0
mkdir: /root/.java/fonts
mkdir: /root/.java/fonts
open_wr: /root/.java/fonts/1.7.0_0/fcinfo64023.tmp
--------------------------------------------------------------------------------
Linux1 billydv #
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Tue Sep 09, 2008 1:06 am    Post subject: Reply with quote

It emerged with FEATURES="-sandbox" emerge icedtea, this was the live ebuild. ant-core, eclipse-ecj, gcj-jdk all emerged from java overlay. Don't know why it needed -sandbox because it compiles fine but stops at the merge.
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Tue Sep 09, 2008 2:04 am    Post subject: Reply with quote

I was able to emerge icedtea6-9999 and it works, icedtea-9999 didn't work, applets didn't start. Why is it that anything java that I click on in firefox looks so terrible fontwise? Is there a way to change the fonts?
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Tue Sep 09, 2008 3:44 am    Post subject: Reply with quote

Okay, I finally got it to emerge by installing the sun-jdk 1.7 alpha from the java overlay, giving rw permissions on the font folders in the root folder as sandbox had complained about it as you can see from the previous post but even though it emerged, it doesn't start applets. I set it to icedtea on 64bit nsplugins but no luck as a web plugin. On the other hand, icedtea6 seems to work perfectly, starts all applets.
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
BrummieJim
l33t
l33t


Joined: 22 Jul 2005
Posts: 683

PostPosted: Wed Sep 10, 2008 10:16 pm    Post subject: Reply with quote

hi,
I'm trying to emerge icedtea6, but can't at the moment. I've installed the java-overlay, it's sitting in /usr/local/portage/layman, as it's a 1.2 version. When I try to emerge icedtea6 it just gets to calculating dependencies and sits there with the character spinning. I presume something must have happened as I had to unmask ant-core.

Any ideas?
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5929

PostPosted: Thu Sep 18, 2008 9:35 am    Post subject: Reply with quote

I'm trying to rebuild icedtea from the svn, but I get this block

Code:
dev-java/ant-tasks (is blocking dev-java/ant-core-1.7.1-r1)


where can I find a solution for this?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 23, 24, 25, 26  Next
Page 24 of 26

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum