Re: java install errors

2004-08-31 Thread T Kellers
I have (had) exactly that same error on an 8-27-2004 clean build of RELENG-5.

I was pressed for time, though, and just went to another similar RELENG-5 box 
(that had jdk already installed) and pkg_create -b a jdk package archive.  It 
installed fine on the machine where the build had failed.

the uname -a of the successful machine shows an 8-28-2004 date, but the jdk 
port was successfully built on that machine way back in the days of 5-CURRENT 
(sometime in June, I think)

Tim

On Tuesday 31 August 2004 09:14 am, Chip wrote:
 After letting the build of java run all night I got these error 2's
 (here's the end snippet of code) -
 
 Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
 location
 /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Currency
Data.java:1: 'class' or 'interface' expected
 Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
 location
 ^
 /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Currency
Data.java:1: unclosed character literal
 Java HotSpot(TM) Client VM warning: Can't detect initial thread stack
 location
 ^
 2 errors
 gmake[4]: *** [.compile.classlist] Error 1
 gmake[4]: Leaving directory
 `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[3]: *** [optimized]
 Error 2
 gmake[3]: Leaving directory
 `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[2]: *** [all] Error
 1
 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
 gmake[1]: *** [all] Error 1
 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
 gmake: *** [j2se-build] Error 2
 *** Error code 2

 Stop in /usr/ports/java/jdk14.
 --
 What needs to be done to make this actually install correctly?
 Thanks,
 Chip

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: java install errors

2004-08-31 Thread Steve Hodgson
 
 Java HotSpot(TM) Client VM warning: Can't detect initial thread
 stack location
 /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java
 /util/Curr ency Data.java:1: 'class' or 'interface' expected 
 Java HotSpot(TM) Client VM warning: Can't detect initial thread
 stack location ^
 
 /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/
 util/Currency
 Data.java:1: unclosed character literal
 Java HotSpot(TM) Client VM warning: Can't detect initial thread
 stack location ^

snip

 
 Stop in /usr/ports/java/jdk14.
 --
 What needs to be done to make this actually install correctly?
 Thanks, Chip 
 

I had this happen to me a couple of times, and the cause (for me) was that I
hadn't setup linux emulation properly. This message (from a google search)
seems to sum it up: 

http://www.mail-archive.com/[EMAIL PROTECTED]/msg60015.html

IIRC, I had to make clean in /usr/ports/java/jdk14 to get it work again
once this had happened.

Steve

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: java install errors

2004-08-31 Thread Randy Grafton
Not to beat a dead horse but here are a couple of extra points to offer.

From a Base/Minimal install of 5.2.1 I got a current ports tree with
cvsup-without-gui.

Next, I install linux-base:
cd /usr/ports/emulators/linux-base
make install clean
edit /etc/rc.conf to contain the line linux_enable=YES

I then downloaded:
bsd-jdk14-patches-6.tar.gz (Got this from www.eyesbeyond.com)
j2sdk-1_4_2-bin-scsl.zip
j2sdk-1_4_2-src-scsl.zip
j2sdk-1_4_2_05-linux-i586.bin
j2sdk-sec-1_4_2-src-scsl.zip
(I got the j2sdk stuff from java.sun.com).
Once these files were downloaded, I placed them in /usr/port/distfiles.

Now cd to /usr/ports/java/jdk14 and do a make install clean.

I just did these steps in the listed order yesterday and after a few hours
of compiling java it was up.

-Randy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Hodgson
Sent: Tuesday, August 31, 2004 10:15 AM
To: 'T Kellers'; [EMAIL PROTECTED]
Cc: 'Chip'
Subject: RE: java install errors

 
 Java HotSpot(TM) Client VM warning: Can't detect initial thread
 stack location
 /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java
 /util/Curr ency Data.java:1: 'class' or 'interface' expected 
 Java HotSpot(TM) Client VM warning: Can't detect initial thread
 stack location ^
 
 /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/
 util/Currency
 Data.java:1: unclosed character literal
 Java HotSpot(TM) Client VM warning: Can't detect initial thread
 stack location ^

snip

 
 Stop in /usr/ports/java/jdk14.
 --
 What needs to be done to make this actually install correctly?
 Thanks, Chip 
 

I had this happen to me a couple of times, and the cause (for me) was that I
hadn't setup linux emulation properly. This message (from a google search)
seems to sum it up: 

http://www.mail-archive.com/[EMAIL PROTECTED]/msg60015.html

IIRC, I had to make clean in /usr/ports/java/jdk14 to get it work again
once this had happened.

Steve

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: java install errors

2004-08-31 Thread Dick Davies
* Chip [EMAIL PROTECTED] [0807 14:07]:
 After letting the build of java run all night I got these error 2's 
 (here's the end snippet of code) -

have you got a linprocfs mounted?


-- 
Loud burping while walking around the airport is prohibited in
Halstead, Kansas.
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]