Hello there!

I am one of those poor souls that are stuck in Windows. The reasons
for this are not very important, but I'm here and I have to make do
with whatever tools I have.

Fish seems awesome but I saw no mention of a Windows (Cygwin port). I
didn't know the difficulty of this task, so I set about to pass the
first hurdle - compile Fish in Cygwin.

So I went to this page:
https://github.com/fish-shell/fish-shell/#building  and I started
installing the required dependencies.
This is the final list of package installed:
http://paste.ubuntu.com/5684738/ - I hope I have everything needed to
build Fish.

Anyway, I started the process:

autoconf - OK
./configure - OK
make - NOT OK
make install - Didn't even reach this

First error I got during make:
g++ -g -O2 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
-fno-exceptions -Wall -DLOCALEDIR=\"/usr/local/share/locale\"
-DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share\"
-DSYSCONFDIR=L\"/usr/local/etc\" -DBINDIR=L\"/usr/local/bin\"    -c -o
builtin.o builtin.cpp
In file included from builtin.cpp:397:0:
builtin_set_color.cpp:15:20: fatal error: curses.h: No such file or directory
compilation terminated.
<builtin>: recipe for target `builtin.o' failed
make: *** [builtin.o] Error 1

Ok, it couldn't find curses.h.
Apparently it's not in the include path, so I hacked that:

ln -s /usr/include/ncurses/curses.h /usr/include/

and I got this:
g++ -g -O2 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
-fno-exceptions -Wall -DLOCALEDIR=\"/usr/local/share/locale\"
-DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share\"
-DSYSCONFDIR=L\"/usr/local/etc\" -DBINDIR=L\"/usr/local/bin\"    -c -o
builtin.o builtin.cpp
In file included from builtin_set_color.cpp:15:0,
                 from builtin.cpp:397:
fallback.h:97:7: error: previous declaration of ‘char*
tparm_solaris_kludge(char*, ...)’ with ‘C++’ linkage
/usr/include/curses.h:820:63: error: conflicts with new declaration
with ‘C’ linkage
<builtin>: recipe for target `builtin.o' failed
make: *** [builtin.o] Error 1

Looks bad - and I'm stuck here.

Here's the gcc -v output - hope it helps: http://paste.ubuntu.com/5684749/


I'm willing to try out various builds and provide any debugging
information needed if there's a chance of making Fish run under
Cygwin.

Thank you for your attention! :)

_____________
Costin Caraivan

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to