[3027] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

Re: Barnowl under cygwin

daemon@ATHENA.MIT.EDU (Jason Gross)
Thu Apr 21 02:45:32 2011

In-Reply-To: <alpine.DEB.2.00.1104210158590.23332@lunatique.mit.edu>
From: Jason Gross <jgross@MIT.EDU>
Date: Thu, 21 Apr 2011 02:44:59 -0400
To: Geoffrey Thomas <geofft@mit.edu>
Cc: barnowl-dev@mit.edu

--000e0cd70aae44ae8004a16816f8
Content-Type: text/plain; charset=ISO-8859-1

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
>>
>>

--000e0cd70aae44ae8004a16816f8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Changing to ncurces doesn&#39;t fix it. =A0./configure on libzephyr errors =
with<div>=A0=A0checking for regcomp... no<div>=A0 configure: error: can&#39=
;t find POSIX regexp support</div><div>(it also can&#39;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?).)</div>

<div><br></div><div>building libperl++ fails with</div><div>=A0=A0blib/head=
ers/perl++/typecasts.h:48: error: expected primary-expression before `&gt;&=
#39;=A0token</div><div>=A0 error building _build/array.o from &#39;perl++/s=
ource/array.C&#39; at /usr/lib/perl5/5.10/ExtUtils/CBuilder/Base.pm line 11=
5.</div>

<div><br></div><div>Any suggestions?</div><div><br></div><div>-Jason</div><=
div><br><div class=3D"gmail_quote">On Thu, Apr 21, 2011 at 2:03 AM, Geoffre=
y Thomas <span dir=3D"ltr">&lt;<a href=3D"mailto:geofft@mit.edu">geofft@mit=
.edu</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">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&#39;t have on=
 Cygwin, namely libzephyr and (a new enough?) libperl. Without either of th=
ese, Barnowl is way less fun than you&#39;d hope.<br>


<br>
If you really wanted to do this, I&#39;d start by trying to build the Zephy=
r distribution from upstream on Cygwin, and seeing what happens. I remember=
 Zephyr not obviously building on MSVC++, but it might work on Cygwin. I&#3=
9;m not sure what UNIX-specific assumptions it has.<br>


<br>
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.<br><font color=3D"#888888">
<br>
-- <br>
Geoffrey Thomas<br>
<a href=3D"mailto:geofft@mit.edu" target=3D"_blank">geofft@mit.edu</a></fon=
t><div><div></div><div class=3D"h5"><br>
<br>
On Thu, 21 Apr 2011, Jason Gross wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi,I&#39;m trying to compile barnowl on windows under cygwin, for (e.g.) wh=
en linerva is down and I have my laptop booted into windows. =A0./autogen.s=
h<br>
works fine, but ./configure errors with<br>
=A0checking for initscr in -lncursesw... no<br>
=A0configure: error: No libncursesw found.<br>
But I&#39;ve told cygwin to install all the things with ncurses in them, an=
d when I ls in /usr/lib and /usr/include, I get<br>
Jason Gross@JasonGross-PC /cygdrive/d/Documents/barnowl<br>
# ls /usr/include/nc*<br>
/usr/include/ncurses:<br>
curses.h =A0 =A0 cursesp.h =A0etip.h =A0 =A0 =A0ncurses.h =A0 =A0 =A0term_e=
ntry.h<br>
cursesapp.h =A0cursesw.h =A0form.h =A0 =A0 =A0ncurses_dll.h =A0termcap.h<br=
>
cursesf.h =A0 =A0cursslk.h =A0menu.h =A0 =A0 =A0panel.h =A0 =A0 =A0 =A0tic.=
h<br>
cursesm.h =A0 =A0eti.h =A0 =A0 =A0nc_tparm.h =A0term.h =A0 =A0 =A0 =A0 unct=
rl.h<br>
<br>
/usr/include/ncursesw:<br>
curses.h =A0 =A0 cursesp.h =A0etip.h =A0 =A0 =A0ncurses.h =A0 =A0 =A0term_e=
ntry.h<br>
cursesapp.h =A0cursesw.h =A0form.h =A0 =A0 =A0ncurses_dll.h =A0termcap.h<br=
>
cursesf.h =A0 =A0cursslk.h =A0menu.h =A0 =A0 =A0panel.h =A0 =A0 =A0 =A0tic.=
h<br>
cursesm.h =A0 =A0eti.h =A0 =A0 =A0nc_tparm.h =A0term.h =A0 =A0 =A0 =A0 unct=
rl.h<br>
<br>
Jason Gross@JasonGross-PC /cygdrive/d/Documents/barnowl<br>
# ls /usr/lib/nc*<br>
/usr/lib/ncurses:<br>
libcurses.a =A0 =A0 =A0libmenu.dll.a =A0 =A0 =A0 libncurses.dll.a =A0libtic=
.dll.a<br>
libcurses.dll.a =A0<a href=3D"http://libmenu.la" target=3D"_blank">libmenu.=
la</a> =A0 =A0 =A0 =A0 =A0<a href=3D"http://libncurses.la" target=3D"_blank=
">libncurses.la</a> =A0 =A0 <a href=3D"http://libtic.la" target=3D"_blank">=
libtic.la</a><br>
#<br>
libform.dll.a =A0 =A0libncurses++.dll.a =A0libpanel.dll.a =A0 =A0test<br>
<a href=3D"http://libform.la" target=3D"_blank">libform.la</a> =A0 =A0 =A0 =
libncurses++.la =A0 =A0 <a href=3D"http://libpanel.la" target=3D"_blank">li=
bpanel.la</a><br>
libmenu.a =A0 =A0 =A0 =A0libncurses.a =A0 =A0 =A0 =A0libtic.a<br>
<br>
/usr/lib/ncursesw:<br>
libcurses.a =A0 =A0 =A0<a href=3D"http://libmenu.la" target=3D"_blank">libm=
enu.la</a> =A0 =A0 =A0 =A0 =A0 libncurses.a =A0 =A0 =A0 libpanelw.dll.a<br>
libcurses.dll.a =A0libmenuw.a =A0 =A0 =A0 =A0 =A0 libncurses.dll.a =A0 <a h=
ref=3D"http://libpanelw.la" target=3D"_blank">libpanelw.la</a><br>
libform.a =A0 =A0 =A0 =A0libmenuw.dll.a =A0 =A0 =A0 <a href=3D"http://libnc=
urses.la" target=3D"_blank">libncurses.la</a> =A0 =A0 =A0libtic.a<br>
libform.dll.a =A0 =A0<a href=3D"http://libmenuw.la" target=3D"_blank">libme=
nuw.la</a> =A0 =A0 =A0 =A0 =A0libncursesw.a =A0 =A0 =A0libtic.dll.a<br>
<a href=3D"http://libform.la" target=3D"_blank">libform.la</a> =A0 =A0 =A0 =
libncurses++.a =A0 =A0 =A0 libncursesw.dll.a =A0<a href=3D"http://libtic.la=
" target=3D"_blank">libtic.la</a><br>
libformw.a =A0 =A0 =A0 libncurses++.dll.a =A0 <a href=3D"http://libncursesw=
.la" target=3D"_blank">libncursesw.la</a> =A0 =A0 libticw.a<br>
libformw.dll.a =A0 libncurses++.la =A0 =A0 =A0libpanel.a =A0 =A0 =A0 =A0 li=
bticw.dll.a<br>
<a href=3D"http://libformw.la" target=3D"_blank">libformw.la</a> =A0 =A0 =
=A0libncurses++w.a =A0 =A0 =A0libpanel.dll.a =A0 =A0 <a href=3D"http://libt=
icw.la" target=3D"_blank">libticw.la</a><br>
libmenu.a =A0 =A0 =A0 =A0libncurses++w.dll.a =A0<a href=3D"http://libpanel.=
la" target=3D"_blank">libpanel.la</a> =A0 =A0 =A0 =A0pkgconfig<br>
libmenu.dll.a =A0 =A0libncurses++<a href=3D"http://w.la" target=3D"_blank">=
w.la</a> =A0 =A0 libpanelw.a =A0 =A0 =A0 =A0test<br>
<br>
Is there something that I&#39;m doing wrong?<br>
<br>
-Jason<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div></div>

--000e0cd70aae44ae8004a16816f8--

home help back first fref pref prev next nref lref last post