RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



add X11BASE=${LOCALBASE} as it is shown below:

#echo "X11BASE=${LOCALBASE}" >> /etc/make.conf

The problem is in recent changeset for ports/Mk/bsd.port.mk:
(http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.630;r2=1.631;f=h)

..if ${X11BASE} != ${LOCALBASE}
..BEGIN:
@${ECHO_MSG} "X11BASE is now deprecated. Unset X11BASE in make.conf and try again."
@${FALSE}
..endif

The guy commited the revision couldn't imagine that there is no X11BASE on system defined at all while LOCALBASE is defined.
This bug should be fixed soon because a lot of people will stuck with it after ports upgrade.

> =======================
> I try a 'make all-depend-list'
> the error shows up
> =============================
> which error show ?

# make
X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
*** Error code 1

Stop.

That's the error... happens every time, no matter what I try to set/unset in
/etc/make.conf. I looked through the makefiles to see where X11BASE is
referenced and I can't find any place where it is to just kill it.

> > 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
> > and 5.2.12
> >
> >> 1.add
> >> WITHOUT_X11=yes
> >> in /etc/make.conf
> >> 2.remove
> >> X11BASE=""
> >> 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 <li...@xxxxxxxxxxxxxx>:
> >> > Ok.. just for grins I installed a new instance of 6.1, NO Patches,
> >> just
> >> > 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
> >> 6.1.
> >> >
> >> > 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
> >> distinfo
> >> > file.
> >> >
> >> > I REALLY need to get this taken care of asap, any help is
> >> appreciated.
> >> >
> >> > 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
> >> that
> >> >> is
> >> >> > > causing this? I get this error _right away_ before anything
> is
> >> even
> >> >> > 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
> >> in
> >> >> my
> >> >> /etc/make.conf, nowhwere...
> >> >>
> >> >> However, it's still complaining about X11BASE being deprecated. I
> >> tried
> >> >> 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
> >> where
> >> >> 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
> >> again.
> >> >> *** Error code 1
> >> >>
> >> >> Stop.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux