Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 1999 23:26:28 +0000 (GMT)
From:      Adam Strohl <adams@digitalspark.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: 3.3RC install errors
Message-ID:  <Pine.BSF.4.10.9909072303370.424-100000@nightfall.digitalspark.net>
In-Reply-To: <Pine.SOL.4.05.9909071849060.22735-100000@luna>

next in thread | previous in thread | raw e-mail | index | archive | help
It'll let you installworld, but its not fixed :)

gnu/usr.bin/perl/utils/h2ph/Makefile is where it gets triggered.

The afterinstall rule calls some miniperl routine:

afterinstall:
	cd ${DESTDIR}/usr/include; \
	miniperl ${.OBJDIR}/${PROG} -d \ 
	${DESTDIR}/usr/libdata/perl/5.00503/mach * */*

  which resolves to (all one line):
     cd /usr/include;  miniperl \
     /usr/obj/usr/src/gnu/usr.bin/perl/utils/h2ph/h2ph -d \
     /usr/libdata/perl/5.00503/mach * */* 

Checking on it further reveals that the miniperl routine is returning an
non-normal exit for some reason (?), changing the rule to ignore the
return value like this:

afterinstall:
        -cd ${DESTDIR}/usr/include; \
        miniperl ${.OBJDIR}/${PROG} -d \
        ${DESTDIR}/usr/libdata/perl/5.00503/mach * */*

allows it to be run from the Makefile as well without generating a fatal
error (and aborting the make).

I don't know perl at all, someone else will have to take a look at the
file (/usr/obj/usr/src/gnu/usr.bin/perl/utils/h2ph/h2ph) and see why its
returning an error in this case (it's output shows nothing that resembles
an error condition).

Good luck :)

- ----( Adam Strohl )------------------------------------------------ -
-  UNIX Operations/Systems               http://www.digitalspark.net  -
-  adams (at) digitalspark.net                    xxx.xxx.xxxx xxxxx  -
- ----------------------------------------( DigitalSpark.NET )------- -

On Tue, 7 Sep 1999, Kip Macy wrote:

> Thanks, that fixed it.
> 
> 			-Kip
> 
> On Tue, 7 Sep 1999, Adam Strohl wrote:
> 
> > I get this on 4.0-C its because of this thing in
> > gnu/usr.bin/perl/utils/h2ph if I remeber correctly.  I just removed the
> > directory from the utils Makefile ("when in doubt comment it out") and 
> > everything works, though I don't work with perl much.
> > 
> > That being said, I've held off mentioning it as I wasn't sure that it
> > wasn't due to an error on my part.  4.0-C has been doing this for the last
> > 2-3 weeks, up until my last cvsup about 2 days ago.
> > 
> > Let me know if anyone needs more specific info/what you need, I'd be happy
> > to help.
> > 
> > - ----( Adam Strohl )------------------------------------------------ -
> > -  UNIX Operations/Systems               http://www.digitalspark.net  -
> > -  adams (at) digitalspark.net                    xxx.xxx.xxxx xxxxx  -
> > - ----------------------------------------( DigitalSpark.NET )------- -
> > 
> > On Tue, 7 Sep 1999, Kip Macy wrote:
> > 
> > > I am sorry if I am repeating something that has already been fixed - 
> > > I just did buildworld which completed without errors - however, when I did
> > > installworld it ended with the following:
> > > 
> > > <snip>
> > > vm/vm_object.h -> vm/vm_object.ph
> > > vm/vm_page.h -> vm/vm_page.ph
> > > vm/vm_pageout.h -> vm/vm_pageout.ph
> > > vm/vm_pager.h -> vm/vm_pager.ph
> > > vm/vm_param.h -> vm/vm_param.ph
> > > vm/vm_prot.h -> vm/vm_prot.ph
> > > vm/vm_zone.h -> vm/vm_zone.ph
> > > vm/vnode_pager.h -> vm/vnode_pager.ph
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > *** Error code 1
> > > 
> > > Stop.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-current" in the body of the message
> > > 
> > > 
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-current" in the body of the message
> > 
> > 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 
> 



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909072303370.424-100000>