Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 08:34:18 GMT
From:      Riccardo Torrini <riccardo@torrini.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92044: net/phpldapadmin doesn't install required php-gettext extension
Message-ID:  <200601200834.k0K8YIL6069923@www.freebsd.org>
Resent-Message-ID: <200601200840.k0K8e71C078631@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92044
>Category:       ports
>Synopsis:       net/phpldapadmin doesn't install required php-gettext extension
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 08:40:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Riccardo Torrini
>Release:        7.0-CURRENT
>Organization:
>Environment:
FreeBSD trudy.torrini.home 7.0-CURRENT FreeBSD 7.0-CURRENT #111: Wed Dec 14 17:03:49 CET 2005     root@trudy.torrini.home:/usr/obj/usr/src/sys/TRUDY  i386
>Description:
Version 0.9.8 of phpldapadmin use bindtextdomain() function.  The bindtextdomain() function sets the path for a domain. It returns the full pathname for the domain currently being set.  This function requires the gettext extension to be added or compiled into PHP.  See here for more info: http://it.php.net/manual/en/function.bindtextdomain.php
>How-To-Repeat:
With a fresh cvsup install phpldapadmin, configure apache to use it as docroot or alias or whatever you prefer, add at least one ldap server to his config than try to start.
>Fix:
Manually install devel/php4-gettext (php4-gettext-4.4.2) before running phpldapadmin or add it to the port requirements.

This way for example:

# diff -u4 Makefile.orig Makefile
--- Makefile.orig       Thu Jan 19 23:58:27 2006
+++ Makefile    Fri Jan 20 09:31:21 2006
@@ -16,9 +16,9 @@
 MAINTAINER=    m.seaman@infracaninophile.co.uk
 COMMENT=       A set of PHP-scripts to administer LDAP servers over the web
 
 NO_BUILD=      yes
-USE_PHP=       ldap openssl pcre session
+USE_PHP=       ldap openssl pcre session gettext
 
 .if defined(WITH_SUPHP)
 
 PKGNAMESUFFIX= -suphp

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



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