Is it possible to use the fish shell with cygwin? I wasn't able to compile the source in cygwin, and I didn't find any precompiled packages. Is there a good reason for not having fish in cygwin?
|
Here's how I managed to compile fish in Cygwin. Step 1: Check that all dependencies are installedFirst, make sure we have the following cygwin packages:
Step 2: Download and extract the latest sourceNext, download the latest source from http://fishshell.com (I used fish-1.23.1.tar.gz). Extract the source to your directory of choice and cd to it:
Step 3: Edit
|
+1 I can confirm the steps above should work. I also added #define HAVE_NCURSES_H 1 in the generated header file config.h (for the same reasons stated above) – Amro Aug 26 '11 at 21:35 |
|
I've installed libiconv and set LDFLAGS, but I still get an error: set_color.c:16:20: curses.h: No such file or directory
set_color.c: In function translate_color':
set_color.c:116: warning: implicit declaration of function strcasecmp'
set_color.c: In function main':
set_color.c:333: error: ERR' undeclared (first use in this function) – muriloq Aug 29 '11 at 22:12 |
|
I saw that error initially too. Have you installed libncurses-devel and changed the changed the -I path in the `Makefile (step 5)? – Shawn Chin Aug 30 '11 at 0:21 |
|
Yes, I even reinstalled libncurses-devel again, just to be sure. Perhaps there's another dependency that was already present in your system? Looking for the error message I've found the following bug report:
sourceforge.net/tracker/… – muriloq Sep 2 '11 at 12:43 |
|
@muriloq Sounds like curses.h is not being included (ERR is defined there). Can you have a peek at /usr/include/ncurses/ and see if it's there? – Shawn Chin Sep 2 '11 at 13:52 |