Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 01:54:04 -0700 (PDT)
From:      Simon Xu <xu_feng@huateng.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42685: openldap2 on 5.0 current runs error. link with db4, but include with db3
Message-ID:  <200209120854.g8C8s4Ht045733@www.freebsd.org>

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

>Number:         42685
>Category:       ports
>Synopsis:       openldap2 on 5.0 current runs error. link with db4, but include with db3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 02:00:10 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Simon Xu
>Release:        5.0 current
>Organization:
Huateng
>Environment:
FreeBSD xufeng.jspt 5.0-CURRENT FreeBSD 5.0-current #0:Wed Sep 11 21:45:08 CST 2002  root@xufeng.jspt:/usr/obj/usr/src/sys/XF1 i386
>Description:
      openldap2 build success.But it runs failed quiet.
Using slapd -d -1 , error output is : backend_startup bi_open 1 failed!
I install db4 first in my machine, then install db3.
After I debug slapd, find -I/usr/local/include/db3 -ldb4 in Makefile!!
>How-To-Repeat:
      
>Fix:
      Currently, I use following script to fix it :
foreach file (`find /usr/ports/net/openldap2/work/openldap* -name Makefile`) 
sed -e `s/db3/db4/` $file > out
mv out $file
end
>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?200209120854.g8C8s4Ht045733>