From owner-freebsd-questions@FreeBSD.ORG Mon Mar 8 02:13:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 408B416A4CE for ; Mon, 8 Mar 2004 02:13:17 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77EA043D45 for ; Mon, 8 Mar 2004 02:13:16 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i28ADBg9002433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Mar 2004 10:13:11 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i28ADBbT002432; Mon, 8 Mar 2004 10:13:11 GMT (envelope-from matthew) Date: Mon, 8 Mar 2004 10:13:11 +0000 From: Matthew Seaman To: Sven Hohage Message-ID: <20040308101311.GB2081@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Sven Hohage , freebsd-questions@freebsd.org References: <404C214B.8050303@muenster.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5/uDoXvLw7AC5HRs" Content-Disposition: inline In-Reply-To: <404C214B.8050303@muenster.de> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: freebsd-questions@freebsd.org Subject: Re: Java installation: pdmu not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 10:13:17 -0000 --5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > in my homelan(Pentium 3 700). > So I'm not sure if my question is more likely to be thrown in the=20 > Newbies list. >=20 > 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=20 > sun website which was neeced by the distfinfo checksum. > I made a portupgrade -a and the started as root with make install but=20 > the compilation process stopped very quickly with: > cd /usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_03 && /usr/bin/find .= =20 > -print | -pdmu -R root:wheel /usr/local/linux-sun-jdk1.4.2 > -pdmu: not found > *** Error code 127 >=20 > 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=3D yes # SUP=3D /usr/local/bin/cvsup SUPFLAGS=3D -g -L 2 SUPHOST=3D cvsup.XX.FreeBSD.org #SUPFILE=3D /usr/share/examples/cvsup/stable-supfile PORTSSUPFILE=3D /usr/share/examples/cvsup/ports-supfile #DOCSUPFILE=3D /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 --=20 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 --5/uDoXvLw7AC5HRs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATEc3dtESqEQa7a0RAkPXAJ9XxS2vbQ8u3EvlRp4m8EqyTJNN6wCfQulg r3Z6vj8YFKBncN03ggQ3iw4= =2eNB -----END PGP SIGNATURE----- --5/uDoXvLw7AC5HRs--