Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2013 13:20:19 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   lang/php5[5]: apxs:Error: Config file /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf not found.
Message-ID:  <20131018132019.109e46fd@telesto>

next in thread | raw e-mail | index | archive | help
--Sig_/l=IrHvBaUner7P6cOI+ZttX
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable


Today with ports revision 330735 some updates of lang/php5 where
introduced. Now it is impossible to build lang/php5 or lang/php55 with
www/apache24 (which is our web server)!

What is this mess about? I was always able to build the apache php
module by using the original installed httpd.conf file of the port
www/apache24, axps complained about not set ServerName and some
messages about MPM variables, but it always worked.

Now I get this:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Staging for php5-5.4.21
=3D=3D=3D>   Generating temporary packing list
Installing PHP SAPI module:       apache2handler
/usr/local/share/apache24/build/instdso.sh
 SH_LIBTOOL=3D'/usr/local/share/apr/build-1/libtool'
 libphp5.la /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24 /usr=
/local/share/apr/build-1/libtool
 --mode=3Dinstall install
 libphp5.la /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24/
 libtool: install:
 install .libs/libphp5.so /usr/ports/lang/php5/work/stage/usr/local/libexec=
/apache24/libphp5.so
 libtool: install:
 install .libs/libphp5.lai /usr/ports/lang/php5/work/stage/usr/local/libexe=
c/apache24/libphp5.la
 libtool: install: warning: remember to run `libtool
 --finish /usr/ports/lang/php5/work/php-5.4.21/libs' chmod
 755 /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24/libphp5.so
 apxs:Error: Config
 file /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf
 not found. *** Error code 1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D

And with this, lang/php5 is gone and so the service of Apache24. I
think this is not a mess produced by the port itself, it is some
antique stuff in the Mk files controling the build of apache24.

the file complained about is present :
ls /usr/local/etc/apache24/httpd.conf
4946323 -rw-r--r--  1 root  wheel  -   19K 18 Okt
12:56 /usr/local/etc/apache24/httpd.conf

and in the port's folder of lang/php5:

ls  /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf
ls: /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf:
No such file or directory

It is not copied at all. Copying the httpd.conf to the expected
(non-existent) target

(do in /usr/local/etc/apache24
cp
httpd.conf /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.con=
f)

solves the problem temporarily for me.=20

Oliver

--Sig_/l=IrHvBaUner7P6cOI+ZttX
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJSYRl4AAoJEOgBcD7A/5N8RYIIAJEcGTOmNjq8VQWKKvU+NeJy
aT5F1aczpv6wVEefJcNJU7h965UIdnpkUbD0Gz/gxMbuvegEL0xohx0H/MvkKfsp
gRK46ygjn5b0Zd4+ouzJFHL3heqHsNlhwB+aaXWYaJ3fzw+v6CdUBLNxqQyNEVEm
U/Nd6oKpU0OfMBBm53JeFkmMMlFPfEqMfxfabg05uLK7virUlEee00GSPkIq/Ynw
xTeIpY+VVzZSGb7C8MxXEIGVOfHAjM2jNc656W0fvfW+Y63Mms3m9kyBanXjKfdj
cPkzBKcbRoqV+1cB9vyURciuGm/RZDVhQHvVo7VHWhfURPHSZhYY76ylFUdRhoY=
=h+PE
-----END PGP SIGNATURE-----

--Sig_/l=IrHvBaUner7P6cOI+ZttX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131018132019.109e46fd>