delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/07/10:47:24

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=R+Sk7Xc6Um6na2j2zrlBZ1Xf9JyNOal+pKH0X0yw8/p
UXWjQTyzZjtiJKYcJPRfNEmzRwkYl/RCWpbj7trMwglLHDrlMsRY1xCBrhO03E67
swW7oopPtjeNff9yagjKVu43LTg2ui849M7XEdWXkKPuixl+n2P92mFt20SEr81E
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=E6K1Kq4EQam8sm931kK1Db8qGzY=; b=mNGzeSd0I4I17S1a6
ccPOtISYkcEIYTzY+yyWXfPaNiucmMqm/gaCIlFdZHZOnx75BkMg9w2snEGL47b4
JkbOGQb+N0NfSlITMeQ1wdWqo3gTqh0o+0ZHjmtWXzrDpS0686VYa+63V8uORijm
0y9GvKbKIzEtscTEf8wf+xh0ZU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-5.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-CornellRouted: This message has been Routed already.
Message-ID: <516186D7.20201@cornell.edu>
Date: Sun, 07 Apr 2013 10:46:47 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: perl 5.14 ncursesw: calling getbegyx() crashes
References: <51617A39 DOT 9000901 AT schueler DOT homeip DOT net>
In-Reply-To: <51617A39.9000901@schueler.homeip.net>

On 4/7/2013 9:52 AM, "D. Schüler" wrote:
> Looking into /usr/include/ncursesw/cursesw.h shows that this macro is
> defined.

I don't know anything about building perl modules, but...

> Even building the Curses module for perl by hand, reveals that there is
> something wrong with the ncurses library:
>
> ~/Curses-1.28 $  export CURSES_LDFLAGS="-L/usr/lib/ncurses -lncurses"
> ~/Curses-1.28 $  export CURSES_CFLAGS="-I/usr/include/ncurses"

...you need -L/usr/lib/ncursesw and -I/usr/include/ncursesw.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019