Re: Java installation: pdmu not found

2004-03-10 Thread Sven Hohage
Well after a lot of steps i've had succes in doing portupgrade -ra
Strangely kde wasn't updateddo I have to change some settings?
But my real problem is Java.
The port has been installed (it was very quick...I've read about some 
hours??) .
But when I try to start java I get the message:
Error ID: 4F533F4C494E55580E43505001C9
Heap at VM abort
Heap

The process also can't be stopped anymore.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java installation: pdmu not found

2004-03-09 Thread Sven Hohage
I've tried your detailed descriptions.
Unfortunately portupgrade -a stopped with libxml2 not being up to date.
My Portupgrade also had a mistake(probably with ruby) and I followed the 
advice in /usr/ports/UPDATING.
I've upgraded perl to 5.8 and deinstalled Perl 5.61 .
Also libxml2 was updated.
But when I now try to portupgrade -ra p5-DBI complaints about not 
finding perl-5.6.1.
It tries to fetch the 5.61 files (time out of date) but can't get them.
Well what should I do now.
Deinstall Perl 5.8?
In the UPDATING text it seems to  that the dependencies are solved..

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


Re: Java installation: pdmu not found

2004-03-09 Thread Matthew Seaman
On Wed, Mar 10, 2004 at 12:30:05AM +0100, Sven Hohage wrote:
 I've tried your detailed descriptions.
 Unfortunately portupgrade -a stopped with libxml2 not being up to date.
 My Portupgrade also had a mistake(probably with ruby) and I followed the 
 advice in /usr/ports/UPDATING.
 I've upgraded perl to 5.8 and deinstalled Perl 5.61 .
 Also libxml2 was updated.
 But when I now try to portupgrade -ra p5-DBI complaints about not 
 finding perl-5.6.1.
 It tries to fetch the 5.61 files (time out of date) but can't get them.
 Well what should I do now.
 Deinstall Perl 5.8?
 In the UPDATING text it seems to  that the dependencies are solved..

So, apart from the problem with perl, everything else has managed to
update OK?  That's good.

You should run 'pkgdb -F' to make sure all of the dependency settings
are correct in your package database.  

perl is a particular problem when you update to a different base
version.  That's primarily because all of the modules get installed
into a directory labelled with the perl version number. The @PERLINC
array should be set automatically to account for that, but I find that
it's best to recompile all of the perl modules etc. so they get
installed by the updated version of perl.  Here's a slightly hackish
way to do that:

# portupgrade -f \
`find /usr/local/lib/perl5/{site_perl/,}5.6.1 -type f -print0 | \
 xargs -0 pkg_which | sort -u | grep -v '\?\|perl-5.6.1'`

Cheers,

Matthew

-- 
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


pgp0.pgp
Description: PGP signature


Re: Java installation: pdmu not found

2004-03-08 Thread Matthew Seaman
On Mon, Mar 08, 2004 at 08:31:23AM +0100, Sven Hohage wrote:
 I'm a newbie using FreeBSD  - almost using 5.2 for some days as a server 
 in my homelan(Pentium 3 700).
 So I'm not sure if my question is more likely to be thrown in the 
 Newbies list.
 
 I tried to install the linux-sun-jdk14.
 Before that I updated the port because I couldn't find 1.4.2_02 on the 
 sun website which was neeced by the distfinfo checksum.
 I made a portupgrade -a and the started as root with make install but 
 the compilation process stopped very quickly with:
 cd /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_03  /usr/bin/find . 
 -print  |  -pdmu -R root:wheel /usr/local/linux-sun-jdk1.4.2
 -pdmu: not found
 *** Error code 127
 
 Any hint is very welcomed.

You've updated just the java/linux-sun-jdk14 port, but not the common
code in /usr/ports/Mk that it relies upon.  The problem you're seeing
is a missing definition of the $(CPIO) variable that was added to the
bsd.port.mk file.

Attempting to update the ports tree piecemeal as you are doing is
unlikely to be very productive: as well as problems with the core
build system you'll also run into troubles where dependencies have
been updated -- particularly shared libraries.

The most effective way of keeping up to date is to cvsup the *whole*
ports tree -- doing this regularly: say once a week, will not overtax
even a low bandwidth connection such as a POTS dialup, although
pulling down the distfiles for updated ports can be another matter.

The easiest way to get going with cvsup is:

# pkg_add -r cvsup-without-gui

Then edit /etc/make.conf to set the following variables:

SUP_UPDATE= yes
#
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup.XX.FreeBSD.org
#SUPFILE=/usr/share/examples/cvsup/stable-supfile
PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
#DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile

where the SUPHOST setting should be set to your local cvsup mirror.
I've shown entries for cvsup'ing src and docs commented out, but you
can use those as well, if you want.

Then whenever you want to update your ports tree, just do:

# cd /usr/ports
# make update
# make index

and then portupgrade(1) to your heart's content.

One (entirely optional) tip that can save you some bandwidth is to
tell cvsup not to update the files INDEX (used on 4.x) and INDEX-5
(which 'make index' will replace anyhow).  Do that by adding the
lines:

ports/INDEX
ports/INDEX-5

to the /usr/sup/refuse file -- just create one if it doesn't exist already.

Cheers,

Matthew

-- 
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


pgp0.pgp
Description: PGP signature


Re: Java installation: pdmu not found

2004-03-08 Thread Sven Hohage
Thanks!!
I'll try it as soon as possible.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Java installation: pdmu not found

2004-03-07 Thread Sven Hohage
I'm a newbie using FreeBSD  - almost using 5.2 for some days as a server 
in my homelan(Pentium 3 700).
So I'm not sure if my question is more likely to be thrown in the 
Newbies list.

I tried to install the linux-sun-jdk14.
Before that I updated the port because I couldn't find 1.4.2_02 on the 
sun website which was neeced by the distfinfo checksum.
I made a portupgrade -a and the started as root with make install but 
the compilation process stopped very quickly with:
cd /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_03  /usr/bin/find . 
-print  |  -pdmu -R root:wheel /usr/local/linux-sun-jdk1.4.2
-pdmu: not found
*** Error code 127

Any hint is very welcomed.

Thanks Sven

P.S.: sorry for the english mistakes.

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