Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 06:54:52 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/188665: phpmyadmin can't resolve dependency to mod_php5
Message-ID:  <534E1B2C.7090301@infracaninophile.co.uk>
In-Reply-To: <201404151736.s3FHajV1027928@cgiserv.freebsd.org>
References:  <201404151736.s3FHajV1027928@cgiserv.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--EbavcVP0HFgTfSwX2S4248jaUgeoEXMQJ
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 15/04/2014 18:36, Mirko Steiner wrote:

> When trying to make install phpmyadmin, he tries to figure out, if mod_=
php5 is installed by checking if the file "libphp5.so" exists:
>  =3D=3D=3D>   phpMyAdmin-4.1.13 depends on file: /usr/local//libphp5.so=
 - not found
>=20
> i've noticed the double slashes (//) and also the broken path specifica=
tion.
>=20
> this path is set in /usr/ports/Mk/bsd.php.mk line 164 which gets includ=
ed due "USE_PHP" in the phpmyadmin Makefile:
>=20
> RUN_DEPENDS+=3D   ${PHPBASE}/${APACHEMODDIR}/libphp5.so:${PORTSDIR}/${M=
OD_PHP_PORT}
>=20
> seems like ${APACHEMODDIR} is not set...
>=20
> APACHEMODDIR is set, when bsd.apache.mk is included e.g. adding "USE_AP=
ACHE_RUN" in the Makefile...
>> How-To-Repeat:
> $ cd /usr/ports/databases/phpmyadmin/
> $ sudo make install
>> Fix:
> I added the following line into the phpmyadmin Makefile:
> USE_APACHE_RUN=3D22+
>=20
> don't know if this is the best solution...

The phpMyAdmin port is not specifically the problem here.  It is using
the default ports mechanisms for declaring dependencies on various PHP
modules.  I think you'ld see a similar effect with any PHP application.

Forcing phpMyAdmin to depend on Apache is not the ideal solution:
personally I prefer nginx + php-fpm for running php applications nowadays=
=2E

I don't see anything like this with clean-room builds on eg. Redports --
something about your local environment is triggering the problem.

Please show me what you have in /etc/make.conf, /usr/local/etc/php.conf
and what PHP related ports you have installed (eg. pkg info -x php)

	Cheers,

	Matthew





--=20
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew@infracaninophile.co.uk


--EbavcVP0HFgTfSwX2S4248jaUgeoEXMQJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJTThs0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATYIUQAI5tA4qI202tYtD1VrjJ2gtf
/r2DRENAc0LGG17UIcjeVmu+HylGN4/HbFUx64VlG+JCsfnSVLdFsqhEeLHScpGa
YPgLM/RWdZBPotumDsvBmXi2JDUiBJgs9CBnkmt6o+OSj14y+7t52kFya9PLwQE1
LKODqfuWALB11AqtZnZjIqFaz4P/4XyHXJYNh6unBq73Z6hNmw7FZl6JUf4HnTT0
mkMqbis0DkJvlcmFWC0b/xloSEedPyz1w9D4JhhXIki0v/m0v7wPXwyveLStEgnt
uB98K1Z/CRnuzTrDqtFkQWTAXh4QyLAvAs6VE/sPXQf9GknTX29UB8TFjxUDTlK3
dI7uLOnlMOeJp6xxkSmzUx/P/FwJBsH6FUXGWuAYsYkZGAqN1RGj/IsOjfgi25Pt
73nK4FPw5V9OtL1kudGbN6iJAaMqASwmLpa/gkQdH1fs63WUNmzO24zssQDNoMsv
qCQWFeZlwd02MmG7hfL1OGvDXy/zOIfr25Ji0pdQ5AOmEHbDYbJW5uSMipqAZwbQ
mcnCC1P3dTt3RFTQZ32m+zSSvscXYWQ6dlbdG1Sxl4hbCa38o6A80w78iblaRP7N
yziYCZFMXcLCHTgWkApqqLmPxiIIDvWyAJpuu6qICpds1Ka0moHhsKsL4Ru834dS
uIwGGKvY2/N1FAFyss3m
=hhqs
-----END PGP SIGNATURE-----

--EbavcVP0HFgTfSwX2S4248jaUgeoEXMQJ--



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