Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 16:39:53 -0400 (EDT)
From:      Jim Freeze <jim@freeze.org>
To:        Joe Clarke <marcus@marcuscom.com>
Cc:        Mike Meyer <mwm@mired.org>, <questions@FreeBSD.ORG>
Subject:   Does Anything work in ports??!! (Was: Re: php install and ./configure -with-mysql)
Message-ID:  <Pine.BSF.4.32.0107021609360.85427-100000@www.stelesys.com>
In-Reply-To: <20010702151152.F21126-100000@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0107021609360.85427-100000>