Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2010 06:46:44 GMT
From:      Kazuo Dohzono <dohzono@axion-software.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147202: [mail/squirrelmail] [lang/php5] [www/apache20] pcre library problem. 
Message-ID:  <201005300646.o4U6kiDu096413@www.freebsd.org>
Resent-Message-ID: <201005300650.o4U6o4IR011322@freefall.freebsd.org>

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

>Number:         147202
>Category:       ports
>Synopsis:       [mail/squirrelmail] [lang/php5] [www/apache20] pcre library problem.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 30 06:50:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Kazuo Dohzono
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD dohzono.vmware.axion-software.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Sat May 
8 17:01:26 JST 2010    
dohzono@dohzono.vmware.axion-software.com:/usr/local/tmp/obj/usr/src/sys/GENERIC 
i386

>Description:
1) [mail/squirrelmail] tries to access
"HOST/src/src/login.php", which does not exist,
because of preg_replace problem [*1].

2) current [lang/php5] uses external pcre
library. I removed the patch [*2] and forced
[lang/php5] to use its bundled pcre library, and
squirrelmail problem was solved.

3) current [www/apache20] port is corrupted. I
can't even build it [*3].

[*1]: [Sun May 30 14:08:10 2010] [error] [client 192.168.0.200] PHP Warning: 
preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Internal
pcre_fullinfo() error -3 in /usr/local/www/squirrelmail/functions/strings.php on
line 315, referer: https://mail.dohzono.vmware.axion-software.com/src/login.php

[*2]: http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/Makefile.diff?r1=1.145;r2=1.146;f=h

[*3]:
# cd /usr/ports/www/apache20/
# make WITH_DBM=bdb WITH_LDAP=yes WITH_SSL_MODULES=yes WITH_SUEXEC_MODULES=yes WITH_PROXY_MODULES=yes WITH_KQUEUE_MODULES=yes WITHOUT_IPV6=yes
(snip)
===>  Configuring for apache-2.0.63_15
configure.in:264: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
./../lib/autoconf/specific.m4:385: AC_USE_SYSTEM_EXTENSIONS is expanded from...
./../lib/autoconf/specific.m4:456: AC_MINIX is expanded from...
configure.in:264: the top level
configure.in:264: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
checking for chosen layout... FreeBSD
checking for working mkdir -p... yes
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking target system type... i386-portbld-freebsd8.0

Configuring Apache Portable Runtime library ...

checking for APR... configure: error: the --with-apr parameter is incorrect. It must
specify an install prefix, a
build directory, or an apr-config file.
===>  Script "configure" failed unexpectedly.
Please report the problem to apache@FreeBSD.org [maintainer] and attach the
"/usr/local/tmp//usr/ports/www/apache20/work/httpd-2.0.63/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/apache20.
# 

>How-To-Repeat:
Install mail/squirrelmail over lang/php5, www/apache20 and try to login.  
>Fix:


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



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