Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 1998 07:37:35 -0700 (PDT)
From:      dburr@POBoxes.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6441: Port graphics/aalib requires slang, can't find <slang.h>
Message-ID:  <199804281437.HAA18495@colossus.dyn.ml.org>

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

>Number:         6441
>Category:       ports
>Synopsis:       Port graphics/aalib requires slang, can't find <slang.h>
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 28 07:50:00 PDT 1998
>Last-Modified:
>Originator:     Donald Burr
>Organization:
Computer Help
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

FreeBSD 2.2.6-RELEASE, ports tree ftp'd as of last night.

>Description:

graphics/aalib appears to depend on Slang.  At any rate, it #includes 
<slang.h>.  Also, it does NOT look in /usr/local/include for it, which
results in the file "aaslnkbd.c" to not compile.

 -DHAVE_CONFIG_H -I. -I. -I. -O3 -m486 -pipe -I/usr/X11R6/include -I/usr/local/include/slang -c -fPIC -DPIC aaslnkbd.c
aaslnkbd.c:9: slang.h: No such file or directory
aaslnkbd.c: In function `slang_getchar':
aaslnkbd.c:143: `SL_KEY_ERR' undeclared (first use this function)
aaslnkbd.c:143: (Each undeclared identifier is reported only once
aaslnkbd.c:143: for each function it appears in.)
aaslnkbd.c:145: `SL_KEY_LEFT' undeclared (first use this function)
aaslnkbd.c:147: `SL_KEY_RIGHT' undeclared (first use this function)
aaslnkbd.c:149: `SL_KEY_UP' undeclared (first use this function)
aaslnkbd.c:151: `SL_KEY_DOWN' undeclared (first use this function)
aaslnkbd.c:153: `SL_KEY_BACKSPACE' undeclared (first use this function)
aaslnkbd.c:154: warning: unreachable code at beginning of switch statement
*** Error code 1

Stop.

>How-To-Repeat:

Try building graphics/aalib without slang installed (or even, WITH slang
installed -- see above).

>Fix:

Kludge: cd /usr/include && ln -sf ../local/include/slang.h slang.h
        then rebuild.

Long-term solution: Fix the port.
>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?199804281437.HAA18495>