From owner-freebsd-questions Tue Apr 4 21:50:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 6DC3A37BD84 for ; Tue, 4 Apr 2000 21:50:43 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id AAA55067; Wed, 5 Apr 2000 00:47:49 -0400 (EDT) (envelope-from cjc) Date: Wed, 5 Apr 2000 00:47:49 -0400 From: "Crist J. Clark" To: Richard Grace Cc: cjclark@home.com, Gustavo V G C Rios , freebsd-questions@FreeBSD.ORG Subject: Re: compiling world with perl enabled fails! Message-ID: <20000405004749.B40560@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <20000404234106.C40889@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from rgrace@itworks.com.au on Wed, Apr 05, 2000 at 02:22:46PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 05, 2000 at 02:22:46PM +1000, Richard Grace wrote: > > No, it should just contain a Makefile. > > OK, here's the last lines from the make output - looks like there's supposed > to be some stuff in there somewhere: > > ---cut-here--- > ===> gnu/usr.bin/perl > ===> gnu/usr.bin/perl/libperl > ===> gnu/usr.bin/perl/miniperl > sh config_h.sh > Extracting config.h (with variable substitutions) > cc -nostdinc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contr > ib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -I/usr/obj/usr/src/t > mp/usr/include -c > /usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/miniperlmain.c > cc -nostdinc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contr > ib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -I/usr/obj/usr/src/t > mp/usr/include -static -o miniperl miniperlmain.o -lperl -lm -lcrypt > ===> gnu/usr.bin/perl/perl > find: build: No such file or directory > find: build: No such file or directory > mkdir: lib/auto: File exists > *** Error code 1 > > Stop. > *** Error code 1 > ---cut-here--- > > And the /usr/src/gnu/usr.bin/perl/perl/Makefile lists the following sources > to be compiled: > > SRCS= perlmain.c config.h > > Is that also correct? Yep. Look farther down in that Makefile and see, config.h: linkfarm sh config_h.sh ... perlmain.c: linkfarm writemain config.h sh writemain lib/auto/DynaLoader/DynaLoader.a > ${.TARGET} I don't think the 'find: build's are a problem. If I just build in that diretory right now, # make Warning: Object directory not changed from original /usr/src/gnu/usr.bin/perl/perl find: build: No such file or directory find: build: No such file or directory sh config_h.sh Extracting config.h (with variable substitutions) sh writemain.sh Extracting writemain (with variable substitutions) sh writemain lib/auto/DynaLoader/DynaLoader.a > perlmain.c cc -O -pipe -I/usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5 -I/usr/src/gnu/usr.bin/perl/perl -c perlmain.c miniperl /usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5/configpm Config.pm Porting/Glossary myconfig config.sh . . . If I stop and look, the Makefile has filled up the directory with code all on its own. The problem seems to be the mkdir. Make sure to clean before you try again? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message