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

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

2015-05-19 Thread Gery .
ke[2]: Entering directory '/opt/mb/mbsystem-5.4.2220/src/surf' cc -c -Wall -g -I/usr/X11R6/include -DLINUX -DBYTESWAPPED mem_surf.c In file included from xdr_surf.h:44:0,                  from mem_surf.c:72: surf.h:58:23: fatal error: rpc/types.h: No such file or directory  #include

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 Tom Kacvinsky
You need to set CFLAGS. And CXXFLAGS, too > On May 19, 2015, at 12:26, Gery . 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 -I/usr/X11/i

rpc/types.h: No such file or directory

2015-05-19 Thread Gery .
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 -I/usr/X11/include "; $LFLAGS = "-Wall -g -lm -L/usr/lib -lgdal"; $CPPFLAGS="-I/usr/include/tirpc"; # NETCDF $NETCDFLIB

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 > > it doesn't find rpc/types.h, even though both are in /us

rpc/types.h: No such file or directory

2015-05-18 Thread Gery .
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 it doesn't find rpc/types.h, even though both are in /usr/include/tirpc/rpc. I run export CPPFLAGS=-I/usr/include/tirpc/rpc with no effect.