Skip site navigation (1)Skip section navigation (2)
Date:      02 Jul 2000 16:44:05 +0200
From:      Cyrille Lefevre <clefevre@no-spam.citeweb.net>
To:        stable@FreeBSD.ORG
Subject:   Re: Perl and 'make buildworld' for FreeBSD 4.0-Stable
Message-ID:  <wvj4618q.fsf@pc166.gits.fr>
In-Reply-To: Matthew Cerha's message of "Wed, 28 Jun 2000 15:32:27 -0500"
References:  <20000628153227.A14806@io.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Cerha <mcerha@io.com> writes:

> I'm trying to update my 4.0-Release to Stable. I've installed and cvsup'd
> the latest sources (as of this morning). However, during the 'make
> buildworld' process, the compile craps out while making Perl. I searched the
> lists and saw some similar problems posted in 1999, but I never found
> a resolution. Any help would be greatly appreciated? Here's a snippet of
> problem:
> 
> Writing Makefile for DynaLoader
> Warning: /usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/Config.pm may be out of date
>  with /usr/obj/usr/src/gnu/usr.bin/perl/perl/config.sh
> cd /usr/obj/usr/src/gnu/usr.bin/perl/perl && make lib/Config.pm
> `lib/Config.pm' is up to date.
> Warning: /usr/obj/usr/src/gnu/usr.bin/perl/perl/config.h out of date with /usr/o
> bj/usr/src/gnu/usr.bin/perl/perl/config.sh
> *** Error code 1 (ignored)
> Makefile out-of-date with respect to /usr/obj/usr/src/gnu/usr.bin/perl/perl/lib/
> Config.pm /usr/obj/usr/src/gnu/usr.bin/perl/perl/config.h
> Cleaning current config before rebuilding Makefile...
> make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
> perl "-I/usr/obj/usr/src/gnu/usr.bin/perl/perl/lib" "-I/usr/obj/usr/src/gnu/usr.
> bin/perl/perl/lib" Makefile.PL "INSTALLDIRS=perl" "PERL_SRC=/usr/obj/usr/src/gnu
> /usr.bin/perl/perl" "INSTALLMAN3DIR=/usr/obj/usr/src/i386/usr/share/perl/man3" "
> PERL=perl" "FULLPERL=perl" "DEFINE=-I/usr/obj/usr/src/i386/usr/include" "LINKTYP
> E=static" "LIBS=-lperl -lm"
> Writing Makefile for DynaLoader
> ==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command.  <==
> false
> *** Error code 1

about 2 weeks ago, I had this problem too, but from stable-to-stable. the only
difference w/ before was a make clean. since works was on perl at that time,
I guessed the maintainer saw that and corrected that. finally, not. I apology
to not say anithing about that.

for instance, you can try the following things to bootstrap perl linkage :

# cd /usr/obj/usr/src/gnu/usr.bin/perl
# rm */config.h */writemain
# cd /usr/src/gnu/usr.bin/perl
# for i in *perl; do cd $PWD/$i; make config.h; done

then check your config.h files to see something like :

#if 42 == 1

using :

# cd /usr/obj/usr/src/gnu/usr.bin/perl
# for i in *perl; do sed -n '1499p' $i/config.h; done

buggy config.h made by buildworld looks like this :

#if  == 1

I tried to understand why make buildworld != cd perl; make w/o success at all.

if that not help on buidworld, try go back to the perl tree and build perl
from here before to build the world.

# cd /usr/src/gnu/usr.bin/perl
# make

Cyrille.
-- 
home:mailto:clefevre@no-spam.citeweb.net Supprimer "no-spam." pour me repondre.
work:mailto:Cyrille.Lefevre@no-spam.edf.fr Remove "no-spam." to answer me back.

----- End of forwarded message from Cyrille Lefevre -----
Cordiallement, Regards,

Cyrille.
--
Cyrille Lefevre 12, Rue de Bizerte 75017 Paris tel/fax: +33 (0)1 45 22 83 85
home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr
icq: mailto:17089123@pager.icq.com http://wwp.icq.com/17089123


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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