From owner-freebsd-questions Mon Jul 2 16:29: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id D534137B403 for ; Mon, 2 Jul 2001 16:28:59 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f62NTX721691; Mon, 2 Jul 2001 19:29:33 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Mon, 2 Jul 2001 19:29:33 -0400 (EDT) From: Joe Clarke To: Jim Freeze Cc: Mike Meyer , Subject: Re: Does Anything work in ports??!! (Was: Re: php install and ./configure -with-mysql) In-Reply-To: Message-ID: <20010702192720.F21654-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What version of FreeBSD are you using? I hate to say this, but if you're seeing random compiler failures, it usually menas you have some bad hardware somewhere. Last time I encountered this problem, I replaced all the RAM in my machine, and things started working again. I have suvvessfully built PHP 4.0.5 on FreeBSD 4.3-RELEASE. I have not yet built 4.0.6, but I should do that. I'll let you know how it goes. gcc30 is _not_ required for any of the ports that I'm aware of; certainly not Apache of PHP. Joe Clarke On Mon, 2 Jul 2001, Jim Freeze wrote: > Man, what a day, I have never had so many things not work. > > On Mon, 2 Jul 2001, Joe Clarke wrote: > > > If all you want to do is update your ports tree, try using the example in > > /usr/share/examples/cvsup/ports-supfile. It is designed to pull down the > > latest ports stubs from the -current branch (which is what you want). > > > > Thanks Joe. I took your advice and used the ports-supfile in > /usr/share/examples. It worked fine and I was able to update my ports. > While that worked great, all my attempts to compile php and apache seem to > end in failure. > > My original goal is to install apache 1.3.20 and php4.0.6. > > I started with: > # cd /usr/ports/www/mod_php4 > # make > [after some time it fails] > cc -c -O -pipe > -I/usr/ports/print/freetype2/work/freetype-2.0.3/builds/unix > -I/usr/ports/print/freetype2/work/freetype-2.0.3/include > -I/usr/ports/print/freetype2/work/freetype-2.0.3/src/autohint > /usr/ports/print/freetype2/work/freetype-2.0.3/src/autohint/autohint.c -o > /usr/ports/print/freetype2/work/freetype-2.0.3/objs/autohint.o >/dev/null > 2>&1 > gmake: *** > [/usr/ports/print/freetype2/work/freetype-2.0.3/objs/autohint.lo] Error 1 > *** Error code 2 > > Stop in /usr/ports/print/freetype2. > *** Error code 1 > > Stop in /usr/ports/print/freetype2. > *** Error code 1 > > Stop in /usr/ports/print/freetype2. > *** Error code 1 > > Stop in /usr/ports/print/freetype2. > *** Error code 1 > > Stop in /usr/ports/graphics/gd. > *** Error code 1 > > Stop in /usr/ports/graphics/gd. > *** Error code 1 > > Stop in /usr/ports/graphics/gd. > *** Error code 1 > > Stop in /usr/ports/graphics/gd. > *** Error code 1 > > Stop in /usr/ports/graphics/gd. > *** Error code 1 > > Stop in /usr/ports/graphics/gd. > *** Error code 1 > > Stop in /usr/ports/graphics/gd. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > > > I remember reading somewhere that apache (or php) needs gcc30. > So I try to download that. > > # cd /usr/ports/lang/gcc30 > # make > [and I get the following error] > cc: Internal compiler error: program cc1 got fatal signal 11 > gmake[2]: *** [c-decl.o] Error 1 > gmake[2]: Leaving directory `/usr/ports/lang/gcc30/work/build/gcc' > gmake[1]: *** [stage1_build] Error 2 > gmake[1]: Leaving directory `/usr/ports/lang/gcc30/work/build/gcc' > gmake: *** [bootstrap] Error 2 > *** Error code 2 > > Stop in /usr/ports/lang/gcc30. > *** Error code 1 > > Stop in /usr/ports/lang/gcc30. > *** Error code 1 > > Stop in /usr/ports/lang/gcc30. > > Going back and looking more closely at why mod_php4 failed, I see that > freetype2 failed. So, I install that and gd explicitly and retry mod_php4. > This time I get another failure point: > > [...stuff snipped..] > creating config.h > ===> Building for ucd-snmp-4.2.1 > Segmentation fault - core dumped > *** Error code 139 > > Stop in /usr/ports/net/net-snmp. > *** Error code 1 > > Stop in /usr/ports/net/net-snmp. > *** Error code 1 > > Stop in /usr/ports/net/net-snmp. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > > > I'm still trying things over here, but I sure could use > some help. As far as I can tell, I am doing what the manual says. > > Thanks for any help. > > Jim > > > ========================================================= > Jim Freeze > jim@freeze.org > --------------------------------------------------------- > No comment at this time. > http://www.freeze.org > ========================================================= > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message