Re: FreeBSD 5.2 RELENG source fails to build

2005-01-11 Thread Joe
Thanks, That seems to have worked.

Joe

--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Mon, Jan 10, 2005 at 06:23:10PM -0800, Joe wrote:
  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
 
 I can't see how gnu/usr.bin/man/manpath/Makefile should be
 trying to
 build /usr/src/gnu/usr.bin/man/lib/config.h.  Try 
 
 cd /usr/src
 make cleandir
 make cleandir
 
 (yes, twice).
 
 Kris
 
 

 ATTACHMENT part 2 application/pgp-signature 





__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-10 Thread Joe
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 [EMAIL PROTECTED] 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 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-10 Thread Kris Kennaway
On Mon, Jan 10, 2005 at 06:23:10PM -0800, Joe wrote:
 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

I can't see how gnu/usr.bin/man/manpath/Makefile should be trying to
build /usr/src/gnu/usr.bin/man/lib/config.h.  Try 

cd /usr/src
make cleandir
make cleandir

(yes, twice).

Kris



pgpoAIA4nkTl4.pgp
Description: PGP signature


FreeBSD 5.2 RELENG source fails to build

2005-01-09 Thread Joe
Hello, 
I am running FreeBSD 5.2.1 and tried to cvsup the source
code for 5.3. 

   First I am able to build 5.2.1 source code with no problems
using make buildworld.
   
When I cvsup 5.3 using the cvsup file below, it fails to
build.  

*default host=cvsup6.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix
*default tag=RELENG_5_3
*default compress
# this is all that is needed for the base system
src-all
ports-all tag=.



The first error that I get is about getopt.h missing from
contrib in several directories.  I copy getopt.h from
/usr/include, then I get a message about bconfig.h missing from
the contrib source code as well.

Is there something else I need to get for 5.3 source that is
not needed in 5.2?  Or is this a bug that should be / has been
filed?

Thanks in advance, 
Joe 








__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-09 Thread Kris Kennaway
On Sun, Jan 09, 2005 at 07:57:17PM -0800, Joe wrote:
 Hello, 
 I am running FreeBSD 5.2.1 and tried to cvsup the source
 code for 5.3. 
 
First I am able to build 5.2.1 source code with no problems
 using make buildworld.

 When I cvsup 5.3 using the cvsup file below, it fails to
 build.  
 
 *default host=cvsup6.freebsd.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs
 *default delete use-rel-suffix
 *default tag=RELENG_5_3
 *default compress
 # this is all that is needed for the base system
 src-all
 ports-all tag=.
 
 
 
 The first error that I get is about getopt.h missing from
 contrib in several directories.  I copy getopt.h from
 /usr/include, then I get a message about bconfig.h missing from
 the contrib source code as well.

Show us the exact errors and commands you're using; we can't read
minds.

 Is there something else I need to get for 5.3 source that is
 not needed in 5.2?  Or is this a bug that should be / has been
 filed?

Depend on how you installed and updated your source code (i.e. if you
installed from the installation media and then updated to a later
version with cvsup without first 'adopting' your source code as
described in the cvsup FAQ on www.polstra.com), it's possible you have
extra files left behind that should not be there.

Kris

pgpTyRmIIGq9G.pgp
Description: PGP signature


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-09 Thread Joe
How I installed:

   First I installed FreeBSD 4.6, then using cvsup with a file
similar to below, I upgraded the system from 4.6, to 4.7, to
4.8, to 4.9, then to 4.10, all by source code.  Never had a
problem.

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.

Then I copied what was in /usr/include to gperf/lib directory
and restarted make buildworld .  2 more directories complained
about this same file missing so both times I did the same 

 cp /usr/include/getopt.h to config/ directories.

This solved the first problem.

The next error message was also in the contrib directory, at
this point I dont remember the exact message, but it was
complaining that bconfig.h was missing.

   So I then tried 

 rm -rf /usr/src/contrib 
 rm -rf /usr/src/gnu 
 cvsup cvsup_file

   I ran into the same problems.

   I have now reverted back to 5.2.1 and it is building
perfectly fine.

   So going from 5.2.1 p11 to 5.3, was there some step I missed?

   I've never had to do use the line

   src-all tag=RELENG_2_2_5_RELEASE list=cvs:RELENG_2_2

   before, do I need to do this now?  

Why or how, if I completely deleted the contrib directory
would old files get there?

Joe 

--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Sun, Jan 09, 2005 at 07:57:17PM -0800, Joe wrote:
  Hello, 
  I am running FreeBSD 5.2.1 and tried to cvsup the source
  code for 5.3. 
  
 First I am able to build 5.2.1 source code with no
 problems
  using make buildworld.
 
  When I cvsup 5.3 using the cvsup file below, it fails to
  build.  
  
  *default host=cvsup6.freebsd.org
  *default base=/usr
  *default prefix=/usr
  *default release=cvs
  *default delete use-rel-suffix
  *default tag=RELENG_5_3
  *default compress
  # this is all that is needed for the base system
  src-all
  ports-all tag=.
  
  
  
  The first error that I get is about getopt.h missing
 from
  contrib in several directories.  I copy getopt.h from
  /usr/include, then I get a message about bconfig.h missing
 from
  the contrib source code as well.
 
 Show us the exact errors and commands you're using; we can't
 read
 minds.
 
  Is there something else I need to get for 5.3 source
 that is
  not needed in 5.2?  Or is this a bug that should be / has
 been
  filed?
 
 Depend on how you installed and updated your source code (i.e.
 if you
 installed from the installation media and then updated to a
 later
 version with cvsup without first 'adopting' your source code
 as
 described in the cvsup FAQ on www.polstra.com), it's possible
 you have
 extra files left behind that should not be there.
 
 Kris

 ATTACHMENT part 2 application/pgp-signature 





__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-09 Thread Kris Kennaway
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



pgp7tsnrv7bbW.pgp
Description: PGP signature


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-09 Thread Chris Hill
On Sun, 9 Jan 2005, Joe wrote:
  I've never had to do use the line
  src-all tag=RELENG_2_2_5_RELEASE list=cvs:RELENG_2_2
  before, do I need to do this now?
I don't think you want that. RELENG_2_2_5 indicates FreeBSD version 
2.2.5, which dates from about 1996 or so. And with that _RELEASE 
business, you're saying you want FreeBSD 2.2.5 as it was shipped on CD, 
i.e. patchlevel 0. No, it's highly unlikely you want this.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging | ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-09 Thread Joe
Thanks, 

 It was an example from the cvsup faq.

 I know I don't want 2.x.  I figured I'd replace 5_2 and 5_3
in that line.

J

--- Chris Hill [EMAIL PROTECTED] wrote:

 On Sun, 9 Jan 2005, Joe wrote:
 
I've never had to do use the line
 
src-all tag=RELENG_2_2_5_RELEASE list=cvs:RELENG_2_2
 
before, do I need to do this now?
 
 I don't think you want that. RELENG_2_2_5 indicates FreeBSD
 version 
 2.2.5, which dates from about 1996 or so. And with that
 _RELEASE 
 business, you're saying you want FreeBSD 2.2.5 as it was
 shipped on CD, 
 i.e. patchlevel 0. No, it's highly unlikely you want this.
 
 
 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]
 




__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2 RELENG source fails to build

2005-01-09 Thread Joe
Hmm, at this point in time I am rebuilding 5.2.1 RELENG, which
is going to take a while on the old machine I am using.  

I'll try this again later and reproduce it.  

Joe

--- Kris Kennaway [EMAIL PROTECTED] 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!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]