[PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build
Port - FreeBSD 6.1
lists at lizardhill.com
Tue Jan 12 21:28:55 UTC 2010
This is _exactly_ what I did, and as soon as I try a 'make all-depend-list'
the error shows up. I don't even have the X11 system installed (it's a
headless server, with no GUI).
This is on a CLEAN 6.1 install, without any upgrades/patches, just straight
off the ISO install and after a portsnap install/extract.
I tried building it _before_ I updated the ports and it would build a 5.1.2
php ok, but I need 5.2.12. Something has changed in the port between 5.1.2
> in /etc/make.conf
> from that file and
> 4.make all-depend-list
> 5.make clean all depend soft
> 6.make menuconfig set X11 disable
> 7.make &&make install
> 2010/1/12 Don O'Neil <lists at lizardhill.com>:
> > Ok.. just for grins I installed a new instance of 6.1, NO Patches,
> > straight off the ISO...
> > I loaded the ports that came WITH the distro, and was able to make
> php 5.1.2
> > ok...
> > When I did a portsnap fetch, portsnap extract, then went into the
> > /usr/ports/lang/php5 and just typed make I get the same error...
> > SO as it seems, the port is broken, at least for working with FreeBSD
> > Can anyone give me some hints on how to build this sucker by hand?
> Seems as
> > though there are a bunch of patches that are referenced in the
> > file.
> > I REALLY need to get this taken care of asap, any help is
> > Thanks!
> >> > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as
> >> X11BASE=
> >> > and
> >> > > X11BASE="", but I still get the same error.
> >> >
> >> > Remove them. This makes sure they are not defined, not even
> >> > empty (as in "#define BLA -> symbol 'BLA' is defined").
> >> >
> >> > > Where to go from here? Do I have and old version of something
> >> is
> >> > > causing this? I get this error _right away_ before anything is
> >> > built.
> >> >
> >> > It seems to be a check by the Makefile at port's top level.
> >> Ok... I have no definition for X11BASE anywhere, not in my env, not
> >> my
> >> /etc/make.conf, nowhwere...
> >> However, it's still complaining about X11BASE being deprecated. I
> >> just
> >> adding WITHOUT_X11=yes in /etc/make, and without it. I even searched
> >> all the
> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find
> >> any
> >> reference to X11, or X, or X11BASE, but nada... I don't even know
> >> this
> >> error message is being generated from.
> >> I can't even do a basic make without it immediately spitting out the
> >> error:
> >> # make
> >> X11BASE is now deprecated. Unset X11BASE in make.conf and try
> >> *** Error code 1
> >> Stop.
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.725 / Virus Database: 270.14.136/2616 - Release Date:
> 01/11/10 23:35:00
More information about the freebsd-questions