Clean PHP 5.2.12 Build Core Dumping

Clean PHP 5.2.12 Build Core Dumping

am 09.01.2010 01:18:11 von lists

Ok... more info on the problem...

I started with a clean untarred archive, ad just ran ./configure, make, make
test.... I get a core dump.

After running gdb on the core dump I noticed it was the sqlite stuff that
was dumping, so I re-ran configure with --without-sqlite
--without-pdo-sqlite --with-mysql=/usr/local/mysql

Now the gdb shows this:

Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
#0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
aff=0x0)
at
/usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlit e/sqlite/src/sel
ect.c:3172
3172 for(j=0; jnExpr; j++){


First off, the compile directory listed is wrong, don't know where it got
php-5.2.11 from, that's the last version I built and is installed on this
system. Maybe it's pulling that from the system php?

Secondly, even though I've told it not to use sqlite, it still seems to be.

Any help here would be appreciated in moving forward. My whole reason for
needing to rebuild php is I need the pdo_mysql module instead of the
pdo_sqlite version.

Thanks!

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Re: Clean PHP 5.2.12 Build Core Dumping

am 09.01.2010 07:34:42 von Polytropon

On Fri, 8 Jan 2010 16:18:11 -0800, "Don O'Neil" wrote:
> Ok... more info on the problem...
>
> I started with a clean untarred archive, ad just ran ./configure, make, make
> test.... I get a core dump.

Maybe this is not a FreeBSD source?

I'd suggest using the FreeBSD ports system for installation from
source (i. e. tar archives). PHP 5.2.12 seems to be availabe.
You can use

# cd /usr/ports/lang/php5
# make
# make install

Make sure - not "make sure" :-) - that your ports tree is up to
date in order to recieve the latest version.



> After running gdb on the core dump I noticed it was the sqlite stuff that
> was dumping, so I re-ran configure with --without-sqlite
> --without-pdo-sqlite --with-mysql=/usr/local/mysql

Check the available options that can be set for the php5 port
at compile time, either via "make config", or enter them
manually (e. g. in Makefile.local - I'm not sure if this
mechanism is still supported).



> Now the gdb shows this:
>
> Core was generated by `php'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
> iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
> aff=0x0)
> at
> /usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlit e/sqlite/src/sel
> ect.c:3172
> 3172 for(j=0; jnExpr; j++){
>
>
> First off, the compile directory listed is wrong, don't know where it got
> php-5.2.11 from, that's the last version I built and is installed on this
> system. Maybe it's pulling that from the system php?

Yes, correct.



> Secondly, even though I've told it not to use sqlite, it still seems to be.

It is - by 5.2.11 (or by directadmin). Seems that you've not
installed 5.2.12 with your custom options yet.



> Any help here would be appreciated in moving forward. My whole reason for
> needing to rebuild php is I need the pdo_mysql module instead of the
> pdo_sqlite version.

As I said, I would suggest to try to achieve this through
the ports system. It's easier than fighting ./configure. :-)



--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

RE: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 01:52:57 von lists

Ok... well, your idea is a good one, but it seems that the port is broken.

I did a port update, which brought in the latest php build info from
December, but when I run 'make' (without even editing the Makefile to add my
own other modules I need) I get this:

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

Not even sure where it's getting that error message from, since I can't find
any reference to X11BASE in any of the files in the package, or in my env.

Any ideas?

> -----Original Message-----
> From: Polytropon [mailto:freebsd@edvax.de]
> Sent: Friday, January 08, 2010 10:35 PM
> To: Don O'Neil
> Cc: php-general@lists.php.net; freebsd-questions@freebsd.org
> Subject: Re: Clean PHP 5.2.12 Build Core Dumping
>
> On Fri, 8 Jan 2010 16:18:11 -0800, "Don O'Neil"
> wrote:
> > Ok... more info on the problem...
> >
> > I started with a clean untarred archive, ad just ran ./configure,
> make, make
> > test.... I get a core dump.
>
> Maybe this is not a FreeBSD source?
>
> I'd suggest using the FreeBSD ports system for installation from
> source (i. e. tar archives). PHP 5.2.12 seems to be availabe.
> You can use
>
> # cd /usr/ports/lang/php5
> # make
> # make install
>
> Make sure - not "make sure" :-) - that your ports tree is up to
> date in order to recieve the latest version.
>
>
>
> > After running gdb on the core dump I noticed it was the sqlite stuff
> that
> > was dumping, so I re-ran configure with --without-sqlite
> > --without-pdo-sqlite --with-mysql=/usr/local/mysql
>
> Check the available options that can be set for the php5 port
> at compile time, either via "make config", or enter them
> manually (e. g. in Makefile.local - I'm not sure if this
> mechanism is still supported).
>
>
>
> > Now the gdb shows this:
> >
> > Core was generated by `php'.
> > Program terminated with signal 11, Segmentation fault.
> > #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0,
> eDest=164102200,
> > iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
> > aff=0x0)
> > at
> > /usr/local/directadmin/customapache/php-
> 5.2.11/ext/pdo_sqlite/sqlite/src/sel
> > ect.c:3172
> > 3172 for(j=0; jnExpr; j++){
> >
> >
> > First off, the compile directory listed is wrong, don't know where it
> got
> > php-5.2.11 from, that's the last version I built and is installed on
> this
> > system. Maybe it's pulling that from the system php?
>
> Yes, correct.
>
>
>
> > Secondly, even though I've told it not to use sqlite, it still seems
> to be.
>
> It is - by 5.2.11 (or by directadmin). Seems that you've not
> installed 5.2.12 with your custom options yet.
>
>
>
> > Any help here would be appreciated in moving forward. My whole reason
> for
> > needing to rebuild php is I need the pdo_mysql module instead of the
> > pdo_sqlite version.
>
> As I said, I would suggest to try to achieve this through
> the ports system. It's easier than fighting ./configure. :-)
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...


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

RE: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 04:47:45 von Michael Powell

Don O'Neil wrote:

> Ok... well, your idea is a good one, but it seems that the port is broken.
>
> I did a port update, which brought in the latest php build info from
> December, but when I run 'make' (without even editing the Makefile to add
> my own other modules I need) I get this:

If installing with the ports system you shouldn't need to be editing any
Makefiles. make config will give you list of options you may select from.
Note there is an initial build/install of PHP itself and a second port
called php5-extensions which you then install for all the modules. Again, a
make config will list all options. No need to mess with Makefiles.

> X11BASE is now deprecated. Unset X11BASE in make.conf and try again.
> *** Error code 1
>
> Not even sure where it's getting that error message from, since I can't
> find any reference to X11BASE in any of the files in the package, or in my
> env.
>
> Any ideas?
>

Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD
try and pull in X dependencies; this will short circuit that.

>> -----Original Message-----
[snip]

-Mike


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

RE: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 04:55:05 von lists

Well, I hadn't edited the Makefiles, I was planning on it (but won't now
that you pointed out the make option), but never got past making the generic
port....

I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and
X11BASE="", but I still get the same error.

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.

Thanks!

> If installing with the ports system you shouldn't need to be editing
> any
> Makefiles. make config will give you list of options you may select
> from.
> Note there is an initial build/install of PHP itself and a second port
> called php5-extensions which you then install for all the modules.
> Again, a
> make config will list all options. No need to mess with Makefiles.
>
> > X11BASE is now deprecated. Unset X11BASE in make.conf and try again.
> > *** Error code 1
> >
>
> Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such
> as GD
> try and pull in X dependencies; this will short circuit that.



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Re: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 11:15:10 von Polytropon

On Sat, 9 Jan 2010 16:52:57 -0800, "Don O'Neil" wrote:
> Ok... well, your idea is a good one, but it seems that the port is broken.
>
> I did a port update, which brought in the latest php build info from
> December, but when I run 'make' (without even editing the Makefile to add my
> own other modules I need) I get this:
>
> X11BASE is now deprecated. Unset X11BASE in make.conf and try again.
> *** Error code 1
>
> Not even sure where it's getting that error message from, since I can't find
> any reference to X11BASE in any of the files in the package, or in my env.
>
> Any ideas?

Have you checked /etc/make.conf?

For X applications, there's no X11BASE anymore because the
difference between /usr/local and /usr/X11R6 has been
obsoleted by putting everything into /usr/local (which is
correct according to FreeBSD's software management concept).




--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Re: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 11:19:45 von Polytropon

On Sat, 09 Jan 2010 22:47:45 -0500, Michael Powell wrote:
> If installing with the ports system you shouldn't need to be editing any
> Makefiles. make config will give you list of options you may select from.

That's correct. I forgot to add that there are some few ports
that allow using an additional Makefile, i. e. Makefile.local
in the port's directory, to contain compile time settings.
Something similar can be achieved through the control files
of various port management programs that then apply those
settings if the port is compiled. A good example is mplayer
where you can use this mechanism. As I said, I'm not sure if
this still works.



> Note there is an initial build/install of PHP itself and a second port
> called php5-extensions which you then install for all the modules. Again, a
> make config will list all options. No need to mess with Makefiles.

There's the command "make config-recursive" (if I recall it
correctly) to go through the config screens of all dependent
ports at once - this saves you time of unneccessary interaction.



> Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD
> try and pull in X dependencies; this will short circuit that.

Excellent advice!


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Re: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 11:21:30 von Polytropon

On Sat, 9 Jan 2010 19:55:05 -0800, "Don O'Neil" wrote:
> 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.



--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Re: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 15:39:47 von Michael Peters

Don O'Neil wrote:

>
> Core was generated by `php'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
> iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
> aff=0x0)
> at
> /usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlit e/sqlite/src/sel
> ect.c:3172
> 3172 for(j=0; jnExpr; j++){
>
>
> First off, the compile directory listed is wrong, don't know where it got
> php-5.2.11 from

I've experienced the same type of issue when building php RPM's on Linux.

The solution is to either remove the previous php build or build it in a
chroot build environment (such as mock for RPM based distros).

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

RE: Clean PHP 5.2.12 Build Core Dumping

am 10.01.2010 22:00:48 von lists

> > 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.

Where should I look next? Any help is appreciated. Thanks!

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can"t Build

am 12.01.2010 01:31:10 von lists

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.
>

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Re: RE: Clean PHP 5.2.12 Build Core Dumping / Can"t Build Port

am 12.01.2010 21:13:37 von hack988 hack988

1.add
WITHOUT_X11=3Dyes
in /etc/make.conf
2.remove
X11BASE=3D""
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 :
> 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=3Dyes to /etc/make.conf as well as
>> X11BASE=3D
>> > and
>> > > X11BASE=3D"", 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=3Dyes 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. =A0Unset 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
>
>

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

RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can"t Build

am 12.01.2010 22:28:58 von lists

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=3Dyes
> in /etc/make.conf
> 2.remove
> X11BASE=3D""
> from that file and
>=20
> 4.make all-depend-list
> 5.make clean all depend soft
> 6.make menuconfig set X11 disable
> 7.make &&make install
>=20
>=20
> 2010/1/12 Don O'Neil :
> > 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=3Dyes to /etc/make.conf as well as
> >> X11BASE=3D
> >> > and
> >> > > X11BASE=3D"", 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=3Dyes 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. =A0Unset 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
> >
> >
>=20
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>=20
> 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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can"t Build

am 13.01.2010 12:44:20 von hack988 hack988

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

2010/1/13 Don O'Neil :
> This is _exactly_ what I did, and as soon as I try a 'make all-depend-lis=
t'
> 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 straig=
ht
> 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=3Dyes
>> in /etc/make.conf
>> 2.remove
>> X11BASE=3D""
>> 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 :
>> > 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=3Dyes to /etc/make.conf as well as
>> >> X11BASE=3D
>> >> > and
>> >> > > X11BASE=3D"", 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=3Dyes in /etc/make, and without it. I even searche=
d
>> >> 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. =A0Unset 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
>> >
>> >
>>
>> --
>> 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
>
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can"t Build

am 13.01.2010 16:37:09 von lists

> ==================== ===3D
> I try a 'make all-depend-list'
> the error shows up
> =
==================== =====3D=
====
> 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=3Dyes
> >> in /etc/make.conf
> >> 2.remove
> >> X11BASE=3D""
> >> 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 :
> >> > 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=3Dyes to /etc/make.conf as well =
as
> >> >> X11BASE=3D
> >> >> > and
> >> >> > > X11BASE=3D"", 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=3Dyes 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. =A0Unset X11BASE in make.conf and try
> >> again.
> >> >> *** Error code 1
> >> >>
> >> >> Stop.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"