Re: gcc34 build error on Freebsd 5.1
On Mon, Jul 25, 2005 at 01:38:08PM -0500, Darryl Hoar wrote: > I had thought that at first, but felt is was the > "windows" copout to install a brand new version > instead of figuring out the error message. While it is surely possible to figure out the problem and solve it, this may involve some significant diagnosis and surgery on your part, and it will probably be easier for you to just update to a version where you know that the software is buildable. > I want to install (not upgrade) a new version > on my 5.1 box. Couldn't find pointers for > installing (not upgrading) from an existing > freebsd box. You just install as you always would, e.g. by downloading a CD image. If you don't want to have to reconfigure your system (e.g. /etc, etc) then you use the 'upgrade' facility of sysinstall. All of this is documented in the installation instructions distributed with the release, and on the website. > Also, is 5.4 the most recent release ? Yes. Kris pgpKaN5MeGvUb.pgp Description: PGP signature
RE: gcc34 build error on Freebsd 5.1
I had thought that at first, but felt is was the "windows" copout to install a brand new version instead of figuring out the error message. I want to install (not upgrade) a new version on my 5.1 box. Couldn't find pointers for installing (not upgrading) from an existing freebsd box. Also, is 5.4 the most recent release ? -Original Message- From: Kris Kennaway [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 11:34 AM To: Darryl Hoar Cc: freebsd-questions@freebsd.org Subject: Re: gcc34 build error on Freebsd 5.1 On Mon, Jul 25, 2005 at 09:37:02AM -0500, Darryl Hoar wrote: > Greetings, > I have 5.1 running on my machine. I installed cvsup > and upgraded my ports with it. I then went into > /usr/ports/databases/firebird-client and did a make install. > > Of course it installed several other dependencies when > I did that. One thing is was trying to build/install was > gcc34. The following error was generated and the > entire process came to a halt. > > ../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit > declaration of function `memset' > gmake[2]: *** [fibheap.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty' > gmake[1]: *** [all-target-libiberty] Error 2 > gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' > gmake: *** [bootstrap-lean] Error 2 > *** Error code 2 > > Stop in /usr/ports/lang/gcc34. > *** Error code 1 > > I google'd and searched the freebsd website/mailing list, > FAQ, but didn't find an answer to this problem. > > Anybody have an pointers/help so I can get on with the install ? FYI, 5.1 is very old and long out of support. You should update to a modern release of FreeBSD if you want your port builds (and FreeBSD itself) to work smoothly. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc34 build error on Freebsd 5.1
On Mon, Jul 25, 2005 at 09:37:02AM -0500, Darryl Hoar wrote: > Greetings, > I have 5.1 running on my machine. I installed cvsup > and upgraded my ports with it. I then went into > /usr/ports/databases/firebird-client and did a make install. > > Of course it installed several other dependencies when > I did that. One thing is was trying to build/install was > gcc34. The following error was generated and the > entire process came to a halt. > > ../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit > declaration of function `memset' > gmake[2]: *** [fibheap.o] Error 1 > gmake[2]: Leaving directory > `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty' > gmake[1]: *** [all-target-libiberty] Error 2 > gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' > gmake: *** [bootstrap-lean] Error 2 > *** Error code 2 > > Stop in /usr/ports/lang/gcc34. > *** Error code 1 > > I google'd and searched the freebsd website/mailing list, > FAQ, but didn't find an answer to this problem. > > Anybody have an pointers/help so I can get on with the install ? FYI, 5.1 is very old and long out of support. You should update to a modern release of FreeBSD if you want your port builds (and FreeBSD itself) to work smoothly. Kris pgpEzfybW2hJT.pgp Description: PGP signature
Re: gcc34
On Sun, Oct 17, 2004 at 07:16:37PM +0200, Henrik W Lund wrote: > >Hi Henrik, > > I got as far as the make buildworld, and then an X11 failure > >occurred: > > > >===> gnu/usr.bin/groff/font/devX75 > >===> gnu/usr.bin/groff/font/devX75-12 > >===> gnu/usr.bin/groff/font/devascii > >rm -f /usr/ports/x11-fonts DESC > >rm: /usr/ports/x11-fonts: is a directory > >*** Error code 1 > > > >Stop in /usr/src/gnu/usr.bin/groff/font/devascii. > > > > > >This has happened before when I was doingsome X11 upgrades. Do > >you see anything wrong with this? The only thing I can think of is that you have environment pollution. buildworld has nothing to do with ports, nor X11. Kris pgpcINOHIYaIQ.pgp Description: PGP signature
Re: gcc34
Chris Neustrup wrote: Henrik W Lund wrote: Chris Neustrup wrote: I am trying to upgrade from 5.2.1 to 5.3 current. I am Greetings! Don't know how you can fix this, but you don't need to install gcc3.4 from ports. Upgrading from 5.2.1 to 5.3 can be done in the make buildworld, make buildkernel, make installkernel, make installworld procedure outlined in the handbook. The buildworl target will populate Hi Henrik, I got as far as the make buildworld, and then an X11 failure occurred: ===> gnu/usr.bin/groff/font/devX75 ===> gnu/usr.bin/groff/font/devX75-12 ===> gnu/usr.bin/groff/font/devascii rm -f /usr/ports/x11-fonts DESC rm: /usr/ports/x11-fonts: is a directory *** Error code 1 Stop in /usr/src/gnu/usr.bin/groff/font/devascii. This has happened before when I was doingsome X11 upgrades. Do you see anything wrong with this? Peace, cn. Hmm... Cryptic make failures like that are puzzling. The best advice I can give is to clean out cruft from earlier builds by doing: cd /usr/src && make cleanworld then trying again. If that doesn't work, try cvsupping again to pull some fresh sources. If that doesn't work /either/, I'm all out of ideas, sorry. :-( Maybe someone more intimate with the build procedure can shed some light? -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc34
Chris Neustrup wrote: I am trying to upgrade from 5.2.1 to 5.3 current. I am failing to build gcc34. Here is a snip of the lang build: /usr/ports/lang/gcc34/work/build/gcc/xgcc -B/usr/ports/lang/gcc34/work/build/gcc/ ... `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_union': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:166: warning: implicit declaration of function `free' ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_delete_node': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function) ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:285: error: for each function it appears in.) ../.././..//gcc-3.4-20040827/libiberty/fibheap.c: In function `fibheap_consolidate': ../.././..//gcc-3.4-20040827/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.2.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. How can I fix this? tia, cn. Greetings! Don't know how you can fix this, but you don't need to install gcc3.4 from ports. Upgrading from 5.2.1 to 5.3 can be done in the make buildworld, make buildkernel, make installkernel, make installworld procedure outlined in the handbook. The buildworl target will populate /usr/obj with (among other things) the new gcc3.4 system compiler, and the buildkernel target will utilize this newly built gcc3.4 in /usr/obj. It's the "old" way of doing this that will mess things up (as will all sorts of short cuts). As long as you follow the following proedure, you'll be fine: cd /usr/src make cleanworld make buildworld make buildkernel (KERNCONF=YOUR_CUSTOMIZED_KERNEL) shutdown -r now (boot into single user) fsck -y mount -u / mount -a adjkerntz -i mergemaster -p (do *not* skip this one! 5.3 introduces some new system user accounts, be sure to get those merged into /etc/passwd and /etc/group) cd /usr/src make installkernel (KERNCONF=YOUR_CUSTOMIZED_KERNEL) make installworld shutdown -r now (and cross your fingers ;-) ) Others, possibly more qualified, may tell you that some of these steps are not neede, and they might be right. I did it this exact way, and it worked for me. :-D -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gcc34
On Fri, Oct 15, 2004 at 10:24:50AM -0700, Chris Neustrup wrote: > I am trying to upgrade from 5.2.1 to 5.3 current. I am > failing to build gcc34. Here is a snip of the lang build: Why do you need to build gcc34 in the first place, since it's included in the base system in 5.3? Kris pgpG7WeBu8tjU.pgp Description: PGP signature
Re: gcc34 Question - Request for help
On Wed, 11 Aug 2004, SP Network Solutions wrote: > Hi there, > > I have just install the gcc 3.4 into my FreeBSD 4.10 via the ports/lang > > after make, make check and make install it shows that all install... > > but when I type : gcc -v it still show my old version 2.95.4 > > My question is: How do I go about in making my machine to use the new gcc34? > > What will be the next step after "make install" ? > > Anyone can help??...I'm confuse and this is not the first time I come > accross as I have the same problem with my gcc33. The appropriate binaries are installed as gcc34, &c. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Goedel would be proud - I'm both inconsistent _and_ incomplete. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"