upgrading 3.5 Release to 4.0 Release error

upgrading 3.5 Release to 4.0 Release error

Post by Peter Cho » Wed, 02 May 2001 22:08:46



i am trying to upgrade my freebsd 3.5 to 4.0.  i downloaded the source
using cvsup and have all the files.

but when i go and do

make buildworld

it stops with an error code.  it says:

install: /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/hash.h: No
such file or directory

do i need to get this separately?

peter choe

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Vladimir Annenko » Wed, 02 May 2001 22:43:59


Hmm....  why 4.0?  Try 4.3-STABLE instead.

> i am trying to upgrade my freebsd 3.5 to 4.0.  i downloaded the source
> using cvsup and have all the files.

> but when i go and do

> make buildworld

> it stops with an error code.  it says:

> install: /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/hash.h: No
> such file or directory

> do i need to get this separately?

> peter choe


 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Peter Cho » Wed, 02 May 2001 23:46:05


i tried but i still get the same error messages when i do make
buildworld.

apparantly i have an gcc/contribs directory that doesn't have all the
necessary files.  so, i copied it from another bsd machine and am trying
to do the make buildworld now.

for future reference, how can i tell if i have the up-to-date gcc
files?  and how can i update it if necessary?

peter choe


> Hmm....  why 4.0?  Try 4.3-STABLE instead.


> > i am trying to upgrade my freebsd 3.5 to 4.0.  i downloaded the source
> > using cvsup and have all the files.

> > but when i go and do

> > make buildworld

> > it stops with an error code.  it says:

> > install: /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/hash.h: No
> > such file or directory

> > do i need to get this separately?

> > peter choe

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Steven G. Kar » Thu, 03 May 2001 00:13:38




Quote:> apparantly i have an gcc/contribs directory that doesn't have all the
> necessary files.  so, i copied it from another bsd machine and am trying
> to do the make buildworld now.

Unless you know what you are doing, this isn't a very good
idea.   Cvsup will give you the files that you need.

Quote:> for future reference, how can i tell if i have the up-to-date gcc
> files?  and how can i update it if necessary?

rm -rf /usr/src
cvsup supfile

will retrieve the files that have the tag that is specified in
supfile.  If you suspect that src/contrib/some_directory is munged,
you can delete just that directory and run cvsup to reconstruct
it.

--
Steve
http://troutmask.apl.washington.edu/~kargl/

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Vladimir Annenko » Thu, 03 May 2001 02:10:34


Check your supfile or use this one:
ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/examples/...

You may also want to check your make.conf ( copy it from /etc/defaults if
you have to and edit what's needed ).



> i tried but i still get the same error messages when i do make
> buildworld.

> apparantly i have an gcc/contribs directory that doesn't have all the
> necessary files.  so, i copied it from another bsd machine and am trying
> to do the make buildworld now.

> for future reference, how can i tell if i have the up-to-date gcc files?
>  and how can i update it if necessary?

> peter choe


>> Hmm....  why 4.0?  Try 4.3-STABLE instead.


>> > i am trying to upgrade my freebsd 3.5 to 4.0.  i downloaded the
>> > source using cvsup and have all the files.

>> > but when i go and do

>> > make buildworld

>> > it stops with an error code.  it says:

>> > install: /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/hash.h:
>> > No such file or directory

>> > do i need to get this separately?

>> > peter choe

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Drew Laws » Fri, 04 May 2001 02:40:09




Quote:>i am trying to upgrade my freebsd 3.5 to 4.0.  i downloaded the source
>using cvsup and have all the files.

>but when i go and do

>make buildworld

>it stops with an error code.  it says:

>install: /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/hash.h: No
>such file or directory

>do i need to get this separately?

Did you follow the instructions in /usr/src/UPDATING in the section
"To update from 3.x to 4.x stable"?

I forget exactly whick problems I had going from 3.2 to 4.1, but
there was some glitch where I had to go into specific directories
and build them and then start 'make buildworld' again.

--
|Drew Lawson            |  Of all the things I've lost    |

|http://www.furrfu.com/ |                                 |

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Peter Cho » Fri, 04 May 2001 02:59:26


i rm -rf /usr/src and cvsup'ed the 4.0 tree.  and i tried to do make
buildworld, but i still get that error.  i looked at the UPDATING and
didn't find any mention of it.

there is a hash.h in the /usr/src/contribs/gcc directory, but not in the
/usr/src/contribs/gcc/objc directory.  when i cp it to the objc
directory and do make, i get objc-api.h not found and i can't find the
file in the directories.  is it just that i can't do an upgrade of 3.5
to 4.0?

peter choe




> > apparantly i have an gcc/contribs directory that doesn't have all the
> > necessary files.  so, i copied it from another bsd machine and am trying
> > to do the make buildworld now.

> Unless you know what you are doing, this isn't a very good
> idea.   Cvsup will give you the files that you need.

> > for future reference, how can i tell if i have the up-to-date gcc
> > files?  and how can i update it if necessary?

> rm -rf /usr/src
> cvsup supfile

> will retrieve the files that have the tag that is specified in
> supfile.  If you suspect that src/contrib/some_directory is munged,
> you can delete just that directory and run cvsup to reconstruct
> it.

> --
> Steve
> http://troutmask.apl.washington.edu/~kargl/

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Steven G. Kar » Fri, 04 May 2001 03:57:07




Quote:> i rm -rf /usr/src and cvsup'ed the 4.0 tree.  and i tried to do make
> buildworld, but i still get that error.  i looked at the UPDATING and
> didn't find any mention of it.

> there is a hash.h in the /usr/src/contribs/gcc directory, but not in the
> /usr/src/contribs/gcc/objc directory.  when i cp it to the objc
> directory and do make, i get objc-api.h not found and i can't find the
> file in the directories.  is it just that i can't do an upgrade of 3.5
> to 4.0?

You really, really, really, don't want to copy files around in
src/contrib!

See Drew Lawson's about src/UPDATING and the section titled
"To update from 3.x to 4.x stable".

You can try

rm any_changes_you_made_to_src_directory
cvsup
make cleandir && make cleandir
make -DNOINFO -DNOSHARE -DNO_FORTRAN -DNOPROFILE -DNO_OBJC -DNOMAN buildworld
make buildkernel KERNCONF=MYNAME
reboot to single user mode
make installkernel KERNCONF=MYNAME
make -DNOINFO -DNOSHARE -DNO_FORTRAN -DNOPROFILE -DNO_OBJC -DNOMAN installworld
mergemaster
reboot
cd /usr/src
make buildworld

--
Steve
http://troutmask.apl.washington.edu/~kargl/

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Bill Vermilli » Fri, 04 May 2001 10:30:21






>>i am trying to upgrade my freebsd 3.5 to 4.0.  i downloaded the source
>>using cvsup and have all the files.

>>but when i go and do

>>make buildworld

>>it stops with an error code.  it says:

>>install: /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/hash.h: No
>>such file or directory

>>do i need to get this separately?

>Did you follow the instructions in /usr/src/UPDATING in the section
>"To update from 3.x to 4.x stable"?

>I forget exactly whick problems I had going from 3.2 to 4.1, but
>there was some glitch where I had to go into specific directories
>and build them and then start 'make buildworld' again.

I recall one was -DNOPERL for the first time around too.

--

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by timcm-nos.. » Fri, 04 May 2001 22:41:19



> i rm -rf /usr/src and cvsup'ed the 4.0 tree.  and i tried to do make
> buildworld, but i still get that error.  i looked at the UPDATING and
> didn't find any mention of it.
> is it just that i can't do an upgrade of 3.5
> to 4.0?

No, but it may not be easy.  It would probably be easier to back
everything up and clean install a newer version.
        Also, unless there is some reason you really need 4.0, you don't
really want it.   It is considered (by people much more knowledgeable than
I) to be the worst release since the 2.0 series.  So you'd be much better
off going to 4.3 release or 4.3-stable.
        I've seen several times the best way to do the upgrade from 3.x to
4.x is to update to the latest 3.5-stable (which I think has been
permanently frozen at 3.5.1) which should give you the right tools to
upgrade from there to the 4.x series.

                                                Tim

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Peter Cho » Sat, 05 May 2001 00:46:17


okay, i tried upgrading to 4.0, 4.2 and so on.  apparantly, there is a
* against me to upgrade using cvsup.

what is the next best way to upgrade my 3.5 machine?

basically, everytime i do a make buildworld i get some error that stops
it.

anyway, thanks to all for their help.

peter choe


> i am trying to upgrade my freebsd 3.5 to 4.0.  i downloaded the source
> using cvsup and have all the files.

> but when i go and do

> make buildworld

> it stops with an error code.  it says:

> install: /usr/src/gnu/lib/libobjc/../../../contrib/gcc/objc/hash.h: No
> such file or directory

> do i need to get this separately?

> peter choe

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Steven G. Kar » Sat, 05 May 2001 01:08:11




Quote:

> what is the next best way to upgrade my 3.5 machine?

rm -rf /usr/src
cat > supfile
*default host=cvsup11.FreeBSD.org
*default base=/usr
*default release=cvs tag=RELENG_3
*default delete use-rel-suffix
*default prefix=/usr
src-all
^D
cvsup supfile
cd /usr/src
more UPDATING
make buildworld
make installworld
cd /sys/i386/conf
config MYKERNEL
cd ../../compile/MYKERNEL
make depend
make
make install
shutdown -r now

cat > supfile
*default host=cvsup11.FreeBSD.org
*default base=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default prefix=/usr
src-all
^D
cvsup supfile
cd /usr/src
more UPDATING
make buildworld
make buildkernel KERNCONF=MYKERNEL
reboot to single user mode
make instalkernel KERNCONF=MYKERNEL
make installworld
mergemaster
shutdown -r now

--
Steve
http://troutmask.apl.washington.edu/~kargl/

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by mic.. » Sat, 05 May 2001 01:29:56



> okay, i tried upgrading to 4.0, 4.2 and so on.  apparantly, there is a
> * against me to upgrade using cvsup.
> what is the next best way to upgrade my 3.5 machine?

You should consult the freebsd mailing lists at www.freebsd.org.
Someone has posted a working way to proceed. I don't remember
precisely but there were several steps like
3.5 -> 4.0 -> 4.2 -> 4-Stable (i am not sure of that). I
remember that the compiler suite has been changed around 4.1 and this
caused headaches so the recent need to do make buildworld
make buildkernel etc. I don't remember any problem going from
3.* to 4.0.

--
Michel Talon

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Steve O'Hara-Smit » Sat, 05 May 2001 02:57:18


On Thu, 03 May 2001 11:46:17 -0400

PC> okay, i tried upgrading to 4.0, 4.2 and so on.  apparantly, there is a
PC> * against me to upgrade using cvsup.
PC>
PC> what is the next best way to upgrade my 3.5 machine?

        Binary upgrade.
Make a backup - go on you know you should!
Get 4.3 boot discs
Make a backup  - yes really do it :)
boot from 4.3 discs
follow menu items and upgrade system.

        Check everything and feel very happy that you didn't need the backup
(unless you didn't make it in which casde you probably hosed your system).

--
Optimal hardware acceleration for Windows PC (Mac).
   9.81 m/s/s applied for (at least) 2s followed by impact with solid object.
Optimal software upgrade
   FreeBSD (OS-X).

 
 
 

upgrading 3.5 Release to 4.0 Release error

Post by Peter Cho » Sun, 06 May 2001 00:15:28


okay.  so, i upgraded to 3.5 stable.  that is fine as far as i can tell.

than i cvsup'ed 4 stable and tried to do make buildworld -DNOPERL as it
says in the UPDATING.

i get the following error:

...
c++ -I usr/obj/usr/src/i386/usr/include/g++ -O -pipe
-I/usr/obj/src/i386/usr/include
-I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib
-I/usr/src/gnu/usr.bin/gperf/ -c
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc

/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:80 warning:
'catch', 'throw', and 'try' are all C++ reserved words
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc: In
function 'void operator delete(void *)':
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:82:
declarationof 'operator delete(void *)' throws different exceptions...
<internal>:82: ...from previous declaration here
*** Error code 1

Stop.
....

any suggestions?

peter choe

 
 
 

1. newbie-question: upgrading 4.2-RELEASE to 4.3-RELEASE

Greetings,

A couple of days ago, I installed FreeBSD 4.2-RELEASE on a (old) PC;
thinking this was the latest 'stable' release. (That where the floppies
I had on my boot-machine ...)

Turns out I was wrong; and the problem is I NEED 4.3-RELEASE as I intend
to use the box for VoIP (opengatekeeper, openam, openmcu) and I found a
message in groups.google.com saying there is a bug in 4.2-release which
causes these programs to crash. (the programs DO core-dump indead!)

So, I have two options.
- Completely reinstall the OS.
- Upgrade.

So, my question:
Is there a flexible way of upgrading a FreeBSD system from one major
release to another; if possible over the network without need of a
'console'?

One small question on the side.
What is the difference between a x.y-RELEASE and a x.y-STABLE release?

Cheerio! Kr. Bonne.

2. Networth cards and linux??

3. newbie Upgrade a 3.0 RELEASE to LAST RELEASE

4. Maxtor HD IRQ Timeouts - System Hangs :(

5. Ch (C compatible) shell 3.5 released

6. PROBELM:

7. What happen to 3.5-RELEASE?

8. Trouble with Samba

9. Need help on mail( SUN OS4 Release 3.5)

10. Release: Free recode 3.5

11. FreeBSD 3.5 RELEASE notes??

12. CD-Rom Control 3.5 Released

13. Veritas Volume Manager/FS 3.5 -> 4.0 upgrade questions