Date: Tue, 15 Apr 2014 17:36:45 GMT From: Mirko Steiner <mirko.steiner@slashdevslashnull.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188665: phpmyadmin can't resolve dependency to mod_php5 Message-ID: <201404151736.s3FHajV1027928@cgiserv.freebsd.org> Resent-Message-ID: <201404151740.s3FHe1vE048531@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404151736.s3FHajV1027928>