Subject: pkg/14963: Can't build Cyrus SML ACAP Server with pkgsrc/lang/sml-nj
To: None <gnats-bugs@gnats.netbsd.org>
From: None <obata@zit.to>
List: netbsd-bugs
Date: 12/16/2001 04:40:04
>Number:         14963
>Category:       pkg
>Synopsis:       Can't build  Cyrus SML ACAP Server with pkgsrc/lang/sml-nj
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 04:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     OBATA Akio
>Release:        Releaase 1.5.1
>Organization:
GURU-GURU
>Environment:
NetBSD hiragi 1.5.1 NetBSD 1.5.1 (HIRAGI) #1: Thu Aug 30 22:42:55 JST 2001     obata@hiragi:/usr/src/sys/arch/i386/compile/HIRAGI i386

>Description:
Can't build  Cyrus SML ACAP Server with pkgsrc/lang/sml-nj.

### Making all in /usr/pkgsrc/net/cyrus-smlacapd/work/cyrus-smlacapd0.5/backend
sml <compileit || true
Standard ML of New Jersey v110.9.1 [FLINT v1.41], October 19, 1998
val use = fn : string -> unit
- [starting dependency analysis]
[scanning sources.cm]
[checking CM/x86-unix/sources.cm.stable... not usable]
[/usr/pkgsrc/lang/sml-nj/work/bin/ml-lex acap.lex]
/usr/pkgsrc/lang/sml-nj/work/bin/ml-lex: not found

!* CM error: ML-Lex failed: /usr/pkgsrc/lang/sml-nj/work/bin/ml-lex acap.lex
-

Cyrus SML ACAP Server is:
 http://asg.web.cmu.edu/cyrus/smlacapd/
>How-To-Repeat:
do it.

>Fix:
Installed binary contains compile time path.

% strings /usr/pkg/lib/sml-nj/bin/.heap/sml.x86-bsd | grep pkgsrc
/usr/pkgsrc/lang/sml-nj/work/bin/ml-burg
/usr/pkgsrc/lang/sml-nj/work/bin/ml-yacc
/usr/pkgsrc/lang/sml-nj/work/bin/ml-lex
/usr/pkgsrc/lang/sml-nj/work/lib

I don't know how to fix this. 
>Release-Note:
>Audit-Trail:
>Unformatted: