On Mon, 22 Apr 2013, fish....@spamgourmet.com wrote:
> I wonder if perhaps expand.cpp process_interator_t::name_for_pid(pid_t 
> pid) could have an alternate implementation #ifdef __CYGWIN__, since 
> "sysctl.h" is not available on cygwin?
> 
> Currently, compilation fails like 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 expand.o expand.cpp 
> expand.cpp:21:24: fatal error: sys/sysctl.h: No such file or directory

Perhaps you could try this patch posted on github a few days ago:

https://github.com/fish-shell/fish-shell/issues/680

Let us know how it goes and perhaps it can be merged.

David Adam
zanc...@ucc.gu.uwa.edu.au

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to