-----Original Message-----
From: Ralph M. Los
Sent: Tue 3/23/2004 9:07 PM
To: Ralph M. Los; Peter Schuller; [EMAIL PROTECTED]
Cc:
Subject: RE: Java runtime?
-----Original Message-----
From: Ralph M. Los
Sent: Tue 3/23/2004 9:03 PM
To: Peter Schuller; [EMAIL PROTECTED]
Cc:
Subject: RE: Java runtime?
-----Original Message-----
From: Peter Schuller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 1:00 PM
To: [EMAIL PROTECTED]
Cc: Ralph M. Los
Subject: Re: Java runtime?
>Alright. I tried, and after hours and hours of compiling...this:
>
>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
encyData.java:1:
>'class' or 'interface' expected
I haven't encoutered this particular problem myself, though I remember
reading
a post on this or the -java mailinglist not long ago where someone had
the
same problem.
I did some google and didn't find anything conclusive, though I did find
someone having the same problem on Linux when running in a chrooted
environment.
A suggestion which may or may not be correct is that it may be caused by
the
linprocfs filesystem not being mounted (because it broke in chroot). Try
doing, as root:
kldload linprocfs
mount linprocfs /compat/linux/proc
But again I have personally not seen this problem. When I failed to have
a
proper /proc filesystem for the Linux compatibility the result was the
JVM
busy-waiting indefinitely rather than getting instability/errors. But
try
that and see. If it doesn't fix it, write back.
(I am assuming it is the Linux JVM, running under emulation, which is
failing,
given that it is compiling the standard library for the native JVM.)
--
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org
So I did that....after SU'ing to root, the first command line worked
fine. The second, however, produced an error as such:
mount: linprocfs: No such file or directory
Someone else HAS to have had this problem? Anyone? What does everyone
else here do for JAVA support???
-Ralph
_______________________________________________
...OK so something new now. I tried to "make install" again, and got this:
--------------------------------------------
frog# make install
===> Building for jdk-1.4.2p6_4
ERROR: You have to have LINPROCFS mounted before
starting to build of native JDK 1.4.2.
You may do it by following set of commands:
# kldload linprocfs
and
# mount -t linprocfs linprocfs /compat/linux/proc
*** Error code 1
Stop in /usr/ports/java/jdk14.
frog# mount -t linprocfs linprocfs /compat/linux/proc
frog# make install
--------------------------------------------/
so I did as above (system suggested) and I'm seeing it building OK now. I'll let the
list know if I'm successful.
Can someone explain what it is that I had to do (above commands)?? Thanks!
-Ralph
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0
Nope...that didn't do it - still have the stop errors, as pasted below. Still looking
for suggestions:
rToByteCOMPOUND_TEXT.java ../../../src/solaris/classes/sun/io/CompoundTextSupport.java
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/lang/Character.java
../../../src/share/classes/sun/misc/AtomicLong.java
../../../src/share/classes/sun/misc/AtomicLongCSImpl.java
../../../src/share/classes/sun/misc/AtomicLongLockImpl.java ; \
fi
/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.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/CurrencyData.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.
frog#
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"