Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sun-j2sdk HORROR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
drowwen
n00b
n00b


Joined: 12 Oct 2002
Posts: 22

PostPosted: Sun Apr 13, 2003 5:26 pm    Post subject: sun-j2sdk HORROR Reply with quote

Hi !

I'm also not able to compile sun-j2sdk.

Here another error message for those C Freaks ....

I'm running Gentoo-1.4 with gcc-3.2.
Need more info ... ??

Any help is appreciated !!

-----
make[1]: Entering directory `/deponie/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/mot
if/lib/Xm'
rm -f XmMsgI.h XmMsgCatI.h Xm.cat
./util/mkmsgcat -Xm ./Messages.c
mv -f Xm.msg Xm1.msg
./util/mkcatdefs XmMsgCatI.h Xm1.msg > Xm.msg
mkcatdefs: XmMsgCatI.h created
rm -f Xm1.msg
rm -f Xm.cat
gencat Xm.cat ./Xm.msg
./Xm.msg:2: unknown directive `': line ignored
./Xm.msg:16: unknown directive `': line ignored
make[1]: *** [Xm.cat] Error 1
make[1]: Leaving directory `/deponie/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/moti
f/lib/Xm'
make[1]: Entering directory `/deponie/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/mot
if/lib/Xm'
mkdir unshared
ln -s ../bindings/unshared unshared/bindings

[...]

make[1]: Leaving directory `/deponie/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/moti
f/lib/Xm'
cd /deponie/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/motif/lib; \
mv libXm.a libXm-j2sdk.a
mv: cannot stat `libXm.a': No such file or directory
make: *** [motif-install-lib] Error 1

!!! ERROR: dev-java/sun-j2sdk-1.4.1 failed.
!!! Function src_compile, Line 137, Exitcode 2
!!! (no error message)

Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.1 to /
Back to top
View user's profile Send private message
jcosters
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 104
Location: Gent, Belgium

PostPosted: Sun Apr 13, 2003 6:05 pm    Post subject: Reply with quote

my sun-j2sdk ebuild fails at the same line (137), but borks up another error message. strange.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Apr 13, 2003 6:18 pm    Post subject: Reply with quote

Maybe this info is obsolete, but I remember I unmerged openmotif and lesstif before building the j2dsk (I used the LFS method then). You can re-emerge them after building the j2sdk.
Back to top
View user's profile Send private message
drowwen
n00b
n00b


Joined: 12 Oct 2002
Posts: 22

PostPosted: Mon Apr 14, 2003 9:27 am    Post subject: Reply with quote

No. unmergin of openmotif has no positiv effect :-(
Back to top
View user's profile Send private message
Gibberx
Apprentice
Apprentice


Joined: 20 Oct 2002
Posts: 217
Location: UMBC

PostPosted: Mon Apr 14, 2003 9:03 pm    Post subject: Reply with quote

I emerged this a week or two ago, no problems, didn't need to unmerge openmotif (although I can't remember installing it, either.)
Back to top
View user's profile Send private message
drowwen
n00b
n00b


Joined: 12 Oct 2002
Posts: 22

PostPosted: Tue Apr 15, 2003 9:09 am    Post subject: glibc & sun-j2sdk Reply with quote

Hi !

All of you who were able to merge sun-j2sdk :

Wich glibc version do you have ?


My buildprocess stopps, while it's compiling some motif libraries.
During that process the gencat utility is invoked with error messages ..

gencat is a program in the glibc package. Don't ask me for what it's useful I'm no C hacker :-)


What must I change to get this sun-j2sdk emerged under gentoo-1.4_somewhat_bleedingedge :-)

Greetings,

Kai
Back to top
View user's profile Send private message
olal
n00b
n00b


Joined: 08 Sep 2002
Posts: 64
Location: Gothenburg, Sweden

PostPosted: Tue Apr 15, 2003 10:37 am    Post subject: Reply with quote

Have some problem on emerging: /usr/portage/dev-java/sun-j2sdk/sun-j2sdk-1.4.1.ebuild also :(

Code:

>>> emerge (3 of 3) dev-java/sun-j2sdk-1.4.1 to /
 * JDK is too old, >= 1.4 is required

!!! ERROR: dev-java/sun-j2sdk-1.4.1 failed.
!!! Function pkg_setup, Line 67, Exitcode 0
!!! The version of jdk pointed to by java-config is not >=1.4


any help for me availible?
Back to top
View user's profile Send private message
drowwen
n00b
n00b


Joined: 12 Oct 2002
Posts: 22

PostPosted: Tue Apr 15, 2003 11:13 am    Post subject: Reply with quote

You must install the jdk, too.

emerge -kb sun-jdk

java-config --list-available-vms

java-config --set-system-vm= <--- enter here the sun-jdk-string you got from the previous command

And of course, log out and in again to have the new PATH env set correctly.
Back to top
View user's profile Send private message
vent
n00b
n00b


Joined: 19 Mar 2003
Posts: 18

PostPosted: Tue Apr 15, 2003 8:39 pm    Post subject: Reply with quote

i too use to have problems compiling sun java. i'm not sure if the error message i was getting was similar to yours, but the fix was disabling grsecurity in the kernel(i'm running the gentoo-sources kernel)
_________________
Succumb to natural tendencies. Be hateful and boring.
Back to top
View user's profile Send private message
olal
n00b
n00b


Joined: 08 Sep 2002
Posts: 64
Location: Gothenburg, Sweden

PostPosted: Tue Apr 15, 2003 9:30 pm    Post subject: Reply with quote

i thought this was the last time compiling the javasource.. but it doesnt seems that way? :(

This is my errors this time:: Anyone any ideas? Thanks in advance.

Code:

Local Time = Tue Apr 15 21:50:23 2003
Elapsed Time = 42
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002E6
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
#
# An error report file has been saved as hs_err_pid22032.log.
# Please refer to the file for further information.
#
make[4]: *** [.compile.classlist] Error 134
make[4]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make/java/java'
make[3]: *** [optimized] Error 2
make[3]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make/java/java'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make/java'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make'
make: *** [j2se-build] Error 2

!!! ERROR: dev-java/sun-j2sdk-1.4.1 failed.
!!! Function src_compile, Line 137, Exitcode 2
!!! (no error message)

Back to top
View user's profile Send private message
jcosters
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 104
Location: Gent, Belgium

PostPosted: Thu Sep 11, 2003 6:44 pm    Post subject: Reply with quote

Have you reported this error to Sun like the error message says you to so?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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