Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2000 00:47:49 -0400
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Richard Grace <rgrace@itworks.com.au>
Cc:        cjclark@home.com, Gustavo V G C Rios <kernel@lince.tdnet.com.br>, freebsd-questions@FreeBSD.ORG
Subject:   Re: compiling world with perl enabled fails!
Message-ID:  <20000405004749.B40560@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <NDBBILBEBIHJBLOEIKKCKEFGCCAA.rgrace@itworks.com.au>; from rgrace@itworks.com.au on Wed, Apr 05, 2000 at 02:22:46PM %2B1000
References:  <20000404234106.C40889@cc942873-a.ewndsr1.nj.home.com> <NDBBILBEBIHJBLOEIKKCKEFGCCAA.rgrace@itworks.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000405004749.B40560>