Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2001 20:34:57 -0700 (PDT)
From:      Arne Goetje <arne@dome.net.tw>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31278: mod_php4 fails to compile when --with-recode is enabled
Message-ID:  <200110150334.f9F3YvX36285@freefall.freebsd.org>

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

>Number:         31278
>Category:       ports
>Synopsis:       mod_php4 fails to compile when --with-recode is enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 14 20:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Arne Goetje
>Release:        4.4-STABLE, Ports = CURRENT
>Organization:
>Environment:
FreeBSD analize.sayhi.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Oct 12 14:23:12 CST 2001     root@analize.sayhi.net:/usr/obj/usr/src/sys/SAYHI  i386

>Description:
when compiling mod_php4 with --with-recode enabled (it's not standard of the configure.php script, so I added it), make install complains the following:

------------------
configure:44591: checking for recode support
configure:44673: cc -o conftest -O -pipe   -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/" -DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -DACCEPT_FILTER_NAME="httpready" -DUSE_EXPAT -DSUPPORT_UTF8  -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib/mysql -L/usr/local/lib/mysql -L/usr/local/lib conftest.c -lmysqlclient -lz -lintl -lz -lcrypt -lm  -lrecode 1>&5
/usr/local/lib/librecode.so: undefined reference to `error'
configure: failed program was:
#line 44662 "configure"
#include "confdefs.h"

char *program_name;

int main() {

recode_format_table();

; return 0; }
(end of "config.log")
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
-----------------

It seems to be a problem in the recode library...
>How-To-Repeat:
Just enable --with-recode and it will reproduce the message.
>Fix:

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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