[3028] in BarnOwl Developers
Re: Barnowl under cygwin
daemon@ATHENA.MIT.EDU (Zev Benjamin)
Thu Apr 21 14:12:27 2011
Date: Thu, 21 Apr 2011 14:12:22 -0400
From: Zev Benjamin <zev@MIT.EDU>
To: Jason Gross <jgross@mit.edu>
Cc: Geoffrey Thomas <geofft@mit.edu>, barnowl-dev@mit.edu
In-Reply-To: <BANLkTinFvNTwYaP3rT-UDnKi-5J_u3yE2A@mail.gmail.com>
I don't know Barnowl guts, but I strongly suspect that
https://github.com/Leont/libperl--, which is libperl++, is not what you
want. libperl is the library that gets built from the standard perl
distribution (get
it from http://www.perl.org/). libperl++ is a wrapper around libperl
that gives
a C++ interface.
Zev
Quoting Jason Gross <jgross@MIT.EDU>:
> Changing to ncurces doesn't fix it. ./configure on libzephyr errors with
> checking for regcomp... no
> configure: error: can't find POSIX regexp support
> (it also can't find krb5_err.h, nor curses.h, though I have a curses.h in
> /usr/lib/ncursesw (though not in /usr/lib/ncurses, apparently?).)
>
> building libperl++ fails with
> blib/headers/perl++/typecasts.h:48: error: expected primary-expression
> before `>' token
> error building _build/array.o from 'perl++/source/array.C' at
> /usr/lib/perl5/5.10/ExtUtils/CBuilder/Base.pm line 115.
>
> Any suggestions?
>
> -Jason
>
> On Thu, Apr 21, 2011 at 2:03 AM, Geoffrey Thomas <geofft@mit.edu> wrote:
>
>> I built Barnowl for fun on Cygwin a year or two back. I got past this
>> (possibly by switching from ncursesw to ncurses?), but then got stuck with
>> two other dependencies that I didn't have on Cygwin, namely libzephyr and (a
>> new enough?) libperl. Without either of these, Barnowl is way less fun than
>> you'd hope.
>>
>> If you really wanted to do this, I'd start by trying to build the Zephyr
>> distribution from upstream on Cygwin, and seeing what happens. I remember
>> Zephyr not obviously building on MSVC++, but it might work on Cygwin. I'm
>> not sure what UNIX-specific assumptions it has.
>>
>> I may have the build log/config.status from my Barnowl on Cygwin experiment
>> on a backup of the partition I did this work on; I could look for this if
>> you really really want.
>>
>> --
>> Geoffrey Thomas
>> geofft@mit.edu
>>
>>
>> On Thu, 21 Apr 2011, Jason Gross wrote:
>>
>> Hi,I'm trying to compile barnowl on windows under cygwin, for (e.g.) when
>>> linerva is down and I have my laptop booted into windows. ./autogen.sh
>>> works fine, but ./configure errors with
>>> checking for initscr in -lncursesw... no
>>> configure: error: No libncursesw found.
>>> But I've told cygwin to install all the things with ncurses in them, and
>>> when I ls in /usr/lib and /usr/include, I get
>>> Jason Gross@JasonGross-PC /cygdrive/d/Documents/barnowl
>>> # ls /usr/include/nc*
>>> /usr/include/ncurses:
>>> curses.h cursesp.h etip.h ncurses.h term_entry.h
>>> cursesapp.h cursesw.h form.h ncurses_dll.h termcap.h
>>> cursesf.h cursslk.h menu.h panel.h tic.h
>>> cursesm.h eti.h nc_tparm.h term.h unctrl.h
>>>
>>> /usr/include/ncursesw:
>>> curses.h cursesp.h etip.h ncurses.h term_entry.h
>>> cursesapp.h cursesw.h form.h ncurses_dll.h termcap.h
>>> cursesf.h cursslk.h menu.h panel.h tic.h
>>> cursesm.h eti.h nc_tparm.h term.h unctrl.h
>>>
>>> Jason Gross@JasonGross-PC /cygdrive/d/Documents/barnowl
>>> # ls /usr/lib/nc*
>>> /usr/lib/ncurses:
>>> libcurses.a libmenu.dll.a libncurses.dll.a libtic.dll.a
>>> libcurses.dll.a libmenu.la libncurses.la libtic.la
>>> #
>>> libform.dll.a libncurses++.dll.a libpanel.dll.a test
>>> libform.la libncurses++.la libpanel.la
>>> libmenu.a libncurses.a libtic.a
>>>
>>> /usr/lib/ncursesw:
>>> libcurses.a libmenu.la libncurses.a libpanelw.dll.a
>>> libcurses.dll.a libmenuw.a libncurses.dll.a libpanelw.la
>>> libform.a libmenuw.dll.a libncurses.la libtic.a
>>> libform.dll.a libmenuw.la libncursesw.a libtic.dll.a
>>> libform.la libncurses++.a libncursesw.dll.a libtic.la
>>> libformw.a libncurses++.dll.a libncursesw.la libticw.a
>>> libformw.dll.a libncurses++.la libpanel.a libticw.dll.a
>>> libformw.la libncurses++w.a libpanel.dll.a libticw.la
>>> libmenu.a libncurses++w.dll.a libpanel.la pkgconfig
>>> libmenu.dll.a libncurses++w.la libpanelw.a test
>>>
>>> Is there something that I'm doing wrong?
>>>
>>> -Jason
>>>
>>>
>