Re: Cannot compile jdk14 for Freebsd 5.2.1 - weired problem occures

2004-06-20 Thread Kris Kennaway
On Sat, Jun 19, 2004 at 05:43:17PM -0700, Lukasz Koszanski wrote:
  make install
 ===  Installing for jdk-1.4.2p6_4
 ===   jdk-1.4.2p6_4 depends on executable: javavm -
 found
 ===   jdk-1.4.2p6_4 depends on file:
 /usr/X11R6/lib/X11/fonts/URW/fonts.dir - found
 This is basically what happens:
 
 Please use `make -DWITH_DEBUG' if you want to install
 libraries and binaries
 with debugging support.
 
 ===   Generating temporary packing list
 ===  Checking if java/jdk14 already installed
 /bin/mkdir -p /usr/local/jdk1.4.2
 cd
 /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
  /usr/bin/find .  |  -pdmu -R root:wheel
 /usr/local/jdk1.4.2
 -pdmu: not found
 *** Error code 127

Looks like you have some environment variable set (to a null value)
that is being used by the port.

Kris


pgpaIlsVJfoLH.pgp
Description: PGP signature


Re: Cannot compile jdk14 for Freebsd 5.2.1 - weired problem occures

2004-06-20 Thread Matthew Seaman
On Sun, Jun 20, 2004 at 01:25:07AM -0700, Kris Kennaway wrote:
 On Sat, Jun 19, 2004 at 05:43:17PM -0700, Lukasz Koszanski wrote:
   make install
  ===  Installing for jdk-1.4.2p6_4
  ===   jdk-1.4.2p6_4 depends on executable: javavm -
  found
  ===   jdk-1.4.2p6_4 depends on file:
  /usr/X11R6/lib/X11/fonts/URW/fonts.dir - found
  This is basically what happens:
  
  Please use `make -DWITH_DEBUG' if you want to install
  libraries and binaries
  with debugging support.
  
  ===   Generating temporary packing list
  ===  Checking if java/jdk14 already installed
  /bin/mkdir -p /usr/local/jdk1.4.2
  cd
  /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
   /usr/bin/find .  |  -pdmu -R root:wheel
  /usr/local/jdk1.4.2
  -pdmu: not found
  *** Error code 127
 
 Looks like you have some environment variable set (to a null value)
 that is being used by the port.

Usually caused by the contents of /usr/ports/Mk being out of synch
with the rest of the ports tree.  The ${CPIO} macro was added a while
back now[1], and people are still being bitten by this.

The OP. needs to do a cvsup preferably of the 'ports-all' collection,
and without any ports related stuff in any refuse file.  Use
/usr/share/examples/cvsup/ports-supfile like so:

# cvsup -g -L 2 -h cvsup.XX.freebsd.org /usr/share/examples/cvsup/ports-supfile

where XX is an appropriate country code.

Cheers,

Matthew

[1] Version 1.475 of bsd.port.mk, committed in January 2004,
unfortunately fairly shortly after 5.2.1-Release.

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpkOBZvGoN16.pgp
Description: PGP signature


Cannot compile jdk14 for Freebsd 5.2.1 - weired problem occures

2004-06-19 Thread Lukasz Koszanski
 make install
===  Installing for jdk-1.4.2p6_4
===   jdk-1.4.2p6_4 depends on executable: javavm -
found
===   jdk-1.4.2p6_4 depends on file:
/usr/X11R6/lib/X11/fonts/URW/fonts.dir - found
This is basically what happens:

Please use `make -DWITH_DEBUG' if you want to install
libraries and binaries
with debugging support.

===   Generating temporary packing list
===  Checking if java/jdk14 already installed
/bin/mkdir -p /usr/local/jdk1.4.2
cd
/usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image
 /usr/bin/find .  |  -pdmu -R root:wheel
/usr/local/jdk1.4.2
-pdmu: not found
*** Error code 127

Stop in /usr/ports/java/jdk14

Thank you for your time and effort, Luke.



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JDK14 for FreeBSD

2004-05-13 Thread Malcolm Kay
On Monday 10 May 2004 13:29, Adam Smith wrote:
 On Sun, May 09, 2004 at 10:51:29PM -0500, Dan Nelson said:
  In the last episode (May 10), Adam Smith said:
   I thought that last year FreeBSD finally got it's own version of JDK
   which stopped us having to rely on using the Linux version.
 
  There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an
  existing 1.4 java install to build, so it can't be used.

 I'll try 1.3.1 for now then -- there's no reason I need 1.4 specifically.

  It's for the initial build.  Once the native binary is installed, you
  can uninstall the linux one.

 Eep.  Sounds messy.

Agreed; but I find the FreeBSD version works fine in a situation where the 
Linux version often bombs after starting many processes and then claiming 
that memory has run out.

Malcolm 

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


JDK14 for FreeBSD

2004-05-09 Thread Adam Smith
Hi!

I thought that last year FreeBSD finally got it's own version of JDK which
stopped us having to rely on using the Linux version.

Why, when choosing to install jdk14 from the ports, am I asked to install
the Linux version first?  I thought it was supposed to be stand alone.

===   jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not 
found
===Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in 
/usr/ports/java/linux-sun-jdk14
===  linux-sun-jdk-1.4.2.04 You must manually fetch the J2SE SDK self-extracting file 
for the Linux platform (j2sdk-1_4_2_04-linux-i586.bin) from 
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_04-oth-JPRSiteId=JSCTransactionId=noreg,
 place it in /usr/ports/distfiles and then run make again.
*** Error code 1


Should I continue from here and download the Linux version?  What's it for
when it comes to installing FreeBSD's java?


-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

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


Re: JDK14 for FreeBSD

2004-05-09 Thread Dan Nelson
In the last episode (May 10), Adam Smith said:
 I thought that last year FreeBSD finally got it's own version of JDK
 which stopped us having to rely on using the Linux version.

There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an
existing 1.4 java install to build, so it can't be used.
 
 Why, when choosing to install jdk14 from the ports, am I asked to install
 the Linux version first?  I thought it was supposed to be stand alone.
 
 ===   jdk-1.4.2p6_4 depends on file: /usr/local/linux-sun-jdk1.4.2/bin/javac - not 
 found
 ===Verifying install for /usr/local/linux-sun-jdk1.4.2/bin/javac in 
 /usr/ports/java/linux-sun-jdk14
 ===  linux-sun-jdk-1.4.2.04 You must manually fetch the J2SE SDK self-extracting 
 file for the Linux platform (j2sdk-1_4_2_04-linux-i586.bin) from 
 http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22PartDetailId=j2sdk-1.4.2_04-oth-JPRSiteId=JSCTransactionId=noreg,
  place it in /usr/ports/distfiles and then run make again.
 *** Error code 1
 
 Should I continue from here and download the Linux version?  What's it for
 when it comes to installing FreeBSD's java?

It's for the initial build.  Once the native binary is installed, you
can uninstall the linux one.

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


Re: JDK14 for FreeBSD

2004-05-09 Thread Adam Smith
On Sun, May 09, 2004 at 10:51:29PM -0500, Dan Nelson said:
 In the last episode (May 10), Adam Smith said:
  I thought that last year FreeBSD finally got it's own version of JDK
  which stopped us having to rely on using the Linux version.
 
 There is a native FreeBSD binary jdk 1.3.1, but jdk 1.4 requires an
 existing 1.4 java install to build, so it can't be used.

I'll try 1.3.1 for now then -- there's no reason I need 1.4 specifically.

 It's for the initial build.  Once the native binary is installed, you
 can uninstall the linux one.

Eep.  Sounds messy.

-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

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


compiling jdk14 on FreeBSD 5.1 - segmentation fault

2003-09-11 Thread Kang-Ling Weng
Hello

when I try to compile jdk14  I stuck:

first I copied these files:
j2sdk-1_4_1-src-scsl.zip
j2sdk-1_4_1_02-linux-i586.bin
bsd-jdk14-patches-3.tar.gz
into /usr/ports/distfiles/

and started:

cd /usr/ports/java/jdk14
make 
...
...
...
/bin/mkdir -p 
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/library/newclasses
rm -f 
/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/java/java.lang/.classes.list
gmake[6]: *** [optimized] Segmentation fault (core dumped)
gmake[6]: Leaving directory 
`/usr/ports/java/jdk14/work/j2se/make/sun/javac/recompile/library'
gmake[5]: *** [all] Error 1
gmake[5]: Leaving directory 
`/usr/ports/java/jdk14/work/j2se/make/sun/javac/recompile'
gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/javac'
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.

can anybody help?

best regards
Kang-Ling

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