Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2000 14:25:40 -0500
From:      Gabor Kincses <gabor@acm.org>
To:        kstewart@urx.com, stable@freebsd.org
Subject:   Re: perl fails in buildworld
Message-ID:  <39F490B4.52450BC8@acm.org>
References:  <39F45BC9.521E5C36@acm.org> <39F4896D.2C0B5D26@urx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent Stewart wrote:
> 
> Gabor Kincses wrote:
> >
> > Hello,
> >
> > I'm repeatedly getting the following error while trying to build
> > 4.1.1-STABLE as of last night and this morning:
> >
> > /usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c: In
> > function `vsprintf':
> > /usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c:1634:
> > structure has no member named `_ptr'
> > /usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c:1635:
> > structure has no member named `_cnt'
> > /usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c:1639:
> > structure has no member named `_flag'
> > /usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c:1639:
> > `_IOWRT' undeclared (first use in this function)
> > /usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c:1639:
> > (Each undeclared identifier is reported only once
> > /usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c:1639:
> > for each function it appears in.)
> >
> > Any help is appreciated.
> 
> You didn't provide enough information. The subject is misleading
> because a buildworld will produce compiler messages but not an
> installworld. You gave us the error messages but not the compile line
> that was causing them.

Mindjam.  I meant buildworld not installworld.  Buildworld was failing
on util.c indeed:

cc -O -pipe -I/usr/obj/usr2/src/gnu/usr.bin/perl/libperl
-I/usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5 -c
/usr2/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5/util.c -o
util.o

And it's still failing as shown above.  The FILE struct is different in
/usr/include/stdio.h than what is expected.  I thought buildworld would
not use the the system default headers, but rather whatever was
cvsupped.

Thanks for the reply.

> I just got through cvsuping and compiling .../per5/util.c from a "make
> buildworld" just fine.
> 
> /dump.c -o dump.o
> cc -O -I/usr/obj/usr/src/gnu/usr.bin/perl/libperl
> -I/usr/src/gnu/usr.bin/perl/libperl/.
> ./../../../contrib/perl5 -c
> /usr/src/gnu/usr.bin/perl/libperl/../../../../contrib/perl5
> /util.c -o util.o
> 
> What did you do? Did you try doing an installworld before you did a
> buildworld?

-- 
Gabor Kincses
(gabor@acm.org)
Running FreeBSD 4.0-STABLE


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?39F490B4.52450BC8>