FreeBSD 5.2 RELENG source fails to build

Joe josepha48 at yahoo.com
Mon Jan 10 18:23:11 PST 2005


Hmm, now 5.2.1 is having problems with config.h missing.


> cd /usr/src
> rm -rf contrib gnu
> cat supfile 
    *default host=cvsup6.freebsd.org
    *default base=/usr
    *default prefix=/usr
    *default release=cvs
    *default delete use-rel-suffix
    *default tag=RELENG_5_2
    *default compress
# this is all that is needed for the base system
    src-all
    ports-all tag=.

> cvsup supfile 
> cd /usr/src
> make buildworld

ERROR as follows:

===> gnu/usr.bin/man/man
cc -O -pipe -mcpu=pentiumpro
-I/usr/obj/usr/src/gnu/usr.bin/man/man/../lib -DHAVE_LIBZ=1
-I/usr/src/gnu/usr.bin/man/man/../lib -DSTDC_HEADERS -DPOSIX
-DHAS_TROFF -DDO_COMPRESS -DCATMODE=0644  -c
/usr/src/gnu/usr.bin/man/man/man.c
cc -O -pipe -mcpu=pentiumpro
-I/usr/obj/usr/src/gnu/usr.bin/man/man/../lib -DHAVE_LIBZ=1
-I/usr/src/gnu/usr.bin/man/man/../lib -DSTDC_HEADERS -DPOSIX
-DHAS_TROFF -DDO_COMPRESS -DCATMODE=0644  -c
/usr/src/gnu/usr.bin/man/manpath/manpath.c
cc -O -pipe -mcpu=pentiumpro
-I/usr/obj/usr/src/gnu/usr.bin/man/man/../lib -DHAVE_LIBZ=1
-I/usr/src/gnu/usr.bin/man/man/../lib -DSTDC_HEADERS -DPOSIX
-DHAS_TROFF -DDO_COMPRESS -DCATMODE=0644  -c
/usr/src/gnu/usr.bin/man/man/glob.c
cc -O -pipe -mcpu=pentiumpro
-I/usr/obj/usr/src/gnu/usr.bin/man/man/../lib -DHAVE_LIBZ=1
-I/usr/src/gnu/usr.bin/man/man/../lib -DSTDC_HEADERS -DPOSIX
-DHAS_TROFF -DDO_COMPRESS -DCATMODE=0644   -o man man.o
manpath.o glob.o
/usr/obj/usr/src/gnu/usr.bin/man/man/../lib/libman.a -lz
echo Making man.1 from man.man
gzip -cn man.1 > man.1.gz
===> gnu/usr.bin/man/manpath
make: don't know how to make
/usr/src/gnu/usr.bin/man/lib/config.h. Stop
*** Error code 2
                                                                
                      
Stop in /usr/src/gnu/usr.bin/man.
*** Error code 1
                                                                
                      
Stop in /usr/src/gnu/usr.bin.
*** Error code 1
                                                                
                      
Stop in /usr/src/gnu.
*** Error code 1
                                                                
                      
Stop in /usr/src.
*** Error code 1
                                                                
                      
Stop in /usr/src.
*** Error code 1
                                                                
                      
Stop in /usr/src.

  any ideas?

Joe


--- Kris Kennaway <kris at obsecurity.org> wrote:

> On Sun, Jan 09, 2005 at 08:54:53PM -0800, Joe wrote:
> 
> >     Then my drive crashed and so I bought a new one and
> > installed FreeBSD 5.2.1 as that was the latest at the time
> of
> > the crash. 
> > 
> >     PRISTINE install of 5.2.1 using network install.
> > 
> >     Then I ran cvsup
> > 
> >         cvsup cvsup_file
> > 
> >      The cvsup file was just like the one below, but it said
> 5_2
> > instead of 5_3.  I was able to build the system with 5.2.1
> and
> > uname -a showed patch 11.
> > 
> >     > make buildworld
> >     > cd /usr/src/sys/i386/conf 
> >     > config MYKERNEL 
> >     > cd ../compile/MYKERNEL 
> >     > make && make install
> >     > reboot
> >     
> > then 
> >     > make installworld  
> > 
> >     That's pretty much how I got from 5.2.1 install to 5.2.1
> > p11.   Worked perfectly fine.  
> > 
> > 
> >    Then changing the cvsup file below to be what is it, I
> ran 
> > 
> >     > cvsup cvsup_file
> >     > cd /usr/src
> >     > make clean
> >     > make buildworld 
> > 
> > The first error message was on that 
> > 
> > /usr/src/contrib/gperf/lib/getopt.h is missing.
> 
> That file is not supposed to be there, so something else is
> wrong.
> 
> Post the *exact* output of 'make buildworld' showing context
> of the
> error.
> 
> Kris
> 
> 

> ATTACHMENT part 2 application/pgp-signature 




		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 


More information about the freebsd-questions mailing list