From owner-freebsd-questions Fri Sep 15 9:38:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id B826837B423 for ; Fri, 15 Sep 2000 09:38:38 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13ZyIz-0008Wi-00; Fri, 15 Sep 2000 17:25:37 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id RAA23039; Fri, 15 Sep 2000 17:25:37 +0100 (BST) (envelope-from ben) Date: Fri, 15 Sep 2000 17:25:37 +0100 From: Ben Smithurst To: Benjamin Krueger Cc: questions@freebsd.org Subject: Re: Perl will not compile Message-ID: <20000915172537.D56185@strontium.scientia.demon.co.uk> References: <39C2425F.15532808@plexmedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39C2425F.15532808@plexmedia.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Benjamin Krueger wrote: > Trying to install from /usr/src/contrib/perl5 leaves me with the > following during 'make': Build from /usr/src/gnu/usr.bin/perl instead > Installing from /usr/src/gnu/usr.bin/perl fares no better: Oh. Err. Hmm. > root@mars:/usr/src/gnu/usr.bin/perl# make all install > ===> libperl > make: don't know how to make > /usr/obj/usr/src/gnu/usr.bin/perl/libperl/config.h. Stop > *** Error code 2 > > Stop in /usr/src/gnu/usr.bin/perl. > root@mars:/usr/src/gnu/usr.bin/perl# All I can suggest is to try cd /usr/src/gnu/usr.bin/perl make cleandir make cleandir (yes, do it twice) make obj make depend make all install If it still doesn't work, make sure that your source tree is perfectly clean. In particular, make sure your attempts in /usr/src/contrib/perl5 didn't leave any mess in that directory which could be a problem. If you're not sure what needs keeping and what doesn't, the easiest way is probably to blow away /usr/src/contrib/perl5 and cvsup again to make sure it's perfectly clean. Or you could probably write a script which deletes any file which isn't listed in your cvsup checkouts file. -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message