This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


You need to set CFLAGS. And CXXFLAGS, too



> On May 19, 2015, at 12:26, Gery . <gamejihou@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 -I/usr/X11/include ";
> $LFLAGS = "-Wall -g -lm -L/usr/lib -lgdal";
> $CPPFLAGS="-I/usr/include/tirpc";
> # NETCDF
> $NETCDFLIBDIR = "/usr/lib";
> $NETCDFINCDIR = "/usr/include";
> # GMT
> $GMTLIBDIR = "/opt/gmt/gmt-4.5.9/lib";
> $GMTINCDIR = "/opt/gmt/gmt-4.5.9/include";
> $PROJECTIONS = "$MBSYSTEM_HOME/Projections.dat";
> 
> I also put it in my .bashrc in ~/:
> 
> export CPPFLAGS="-I/usr/include/tirpc"
> 
> Any additional idea?                         
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]