Re: rpc/types.h: No such file or directory

2015-05-19 Thread Yaakov Selkowitz
On Tue, 2015-05-19 at 04:36 +, Gery . wrote: I'm still installing MBsystem software in cygwin and it fails here: surf.h:58:23: fatal error: rpc/types.h: No such file or directory #include rpc/types.h it doesn't find rpc/types.h, even though both are in /usr/include/tirpc/rpc. I run

RE: rpc/types.h: No such file or directory

2015-05-19 Thread Gery .
You need to set CFLAGS. And CXXFLAGS, too These ones didn't work: $CPPFLAGS=-I/usr/include/tirpc; $CFLAGS=-Wall -g -I/usr/X11R6/include; $CXXFLAGS=-g -O2 -I/usr/X11R6/include -Wall -Wno-sign-compare -Wno-unknown-pragmas -Wno-format -D_GNU_SOURCE; Which ones do you suggest?

RE: rpc/types.h: No such file or directory

2015-05-19 Thread Gery .
You need to set those variables without $. That is CFLAGS=..., etc... In install_makefiles (MBsystem software), $ is needed, if not this appears: Can't modify constant item in scalar assignment at ./install_makefiles line 109, near -I/usr/include/tirpc; Execution of ./install_makefiles aborted

Re: rpc/types.h: No such file or directory

2015-05-19 Thread Tom Kacvinsky
You need to set CFLAGS. And CXXFLAGS, too On May 19, 2015, at 12:26, Gery . gameji...@hotmail.com wrote: Thanks, however it didn't work if I put it in the install_makefiles or .bashrc: # Required parameters: $MBSYSTEM_HOME = /usr/local/mbsystem; $OS = LINUX; $CFLAGS = -Wall -g

RE: rpc/types.h: No such file or directory

2015-05-19 Thread Gery .
Setting CFLAGS/CPPFLAGS/CXXFLAGS in the bash shell before invoking make should just work. This has always worked when using the GNU autoconf too lchain paradigm of building projects. So there may be something about your particular build system that is not picking up these changes. So