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
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?
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
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
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
5 matches
Mail list logo