ports/188665: phpmyadmin can't resolve dependency to mod_php5

Mirko Steiner mirko.steiner at slashdevslashnull.de
Tue Apr 15 17:40:01 UTC 2014


>Number:         188665
>Category:       ports
>Synopsis:       phpmyadmin can't resolve dependency to mod_php5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 15 17:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Mirko Steiner
>Release:        9.1-PRERELEASE
>Organization:
>Environment:
FreeBSD server.steiner.internal 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #7: Thu Nov  1 13:26:03 CET 2012     root at server.steiner.internal:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When trying to make install phpmyadmin, he tries to figure out, if mod_php5 is installed by checking if the file "libphp5.so" exists:
 ===>   phpMyAdmin-4.1.13 depends on file: /usr/local//libphp5.so - not found

i've noticed the double slashes (//) and also the broken path specification.

this path is set in /usr/ports/Mk/bsd.php.mk line 164 which gets included due "USE_PHP" in the phpmyadmin Makefile:

RUN_DEPENDS+=   ${PHPBASE}/${APACHEMODDIR}/libphp5.so:${PORTSDIR}/${MOD_PHP_PORT}

seems like ${APACHEMODDIR} is not set...

APACHEMODDIR is set, when bsd.apache.mk is included e.g. adding "USE_APACHE_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=22+

don't know if this is the best solution...

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list