php4 with apache 2.2

Marton Kiss marton.kiss at gmail.com
Sun May 20 06:32:29 EDT 2007


I would like to build lang/php4 with apache 2.2, but building process fails.

I made a 5.5 jail (RELENG_5_5),
checked out a standard FreeBSD ports tree, and created a build 5.5-FreeBSD.
I've enabled options, and created a php4/options file:
_OPTIONS_READ=php4-4.4.6
WITH_CLI=true
WITHOUT_CGI=true
WITH_APACHE=true
WITHOUT_DEBUG=true
WITHOUT_SUHOSIN=true
WITHOUT_MULTIBYTE=true
WITHOUT_IPV6=true
WITHOUT_MAILHEAD=true
WITHOUT_REDIRECT=true
WITHOUT_DISCARD=true
WITHOUT_FASTCGI=true
WITHOUT_PATHINFO=true
WITH_OPENSSL=true
WITHOUT_ZLIB=true


The builds/5.5-FreeBSD/build.env contains this line:
export USE_APACHE=2.2

When I try to add lang/php4 to ports, it adds apache22 and apache13 too.
Is it a bug, or this is an expected behavior?

After tc addPort, ports table in mysql database contains this rows:

+---------+-------------------------+-----------+
| Port_Id | Port_Directory          | Port_Name |
+---------+-------------------------+-----------+
|       1 | lang/php4               | php4      |
|       2 | www/apache13            | apache    |
|       3 | devel/autoconf259       | autoconf  |
|       4 | lang/perl5.8            | perl      |
|       5 | www/apache22            | apache    |
|       6 | textproc/expat2         | expat     |
|       7 | devel/m4                | m4        |
|       8 | misc/help2man           | help2man  |
|       9 | devel/gmake             | gmake     |
|      10 | devel/libtool15         | libtool   |
|      11 | converters/libiconv     | libiconv  |
|      12 | print/texinfo           | texinfo   |
|      13 | devel/p5-Locale-gettext | gettext   |
|      14 | devel/gettext           | gettext   |
+---------+-------------------------+-----------+

Finally, when I try to build lang/php4, I get the following in make.0, and
make.1 filled with Graph cycles entries:

Graph cycles through `apache-2.2.4_2.tbz'
Graph cycles through `expat-2.0.0_1.tbz'
Graph cycles through `libiconv-1.9.2_2.tbz'
Graph cycles through `perl-5.8.8.tbz'
Graph cycles through `perl-5.8.8.tbz'
Graph cycles through `libiconv-1.9.2_2.tbz'
Graph cycles through `perl-5.8.8.tbz'
Graph cycles through `libtool-1.5.22_4.tbz'
Graph cycles through `perl-5.8.8.tbz'
Graph cycles through `libiconv-1.9.2_2.tbz'
Graph cycles through `perl-5.8.8.tbz'
Graph cycles through `perl-5.8.8.tbz'
Graph cycles through `libiconv-1.9.2_2.tbz'
Graph cycles through `perl-5.8.8.tbz'
Graph cycles through `libtool-1.5.22_4.tbz'

Tinderbox version is 2.3.6. (Same results with 2.3.5)


More information about the tinderbox-list mailing list