[GRASS5] configure

hi

i try to develop own GRASS extensions,in COMPILATION
when i execute this command : CFLAGS="-g -Wall"
./configure
i have these :
-------------------------
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc -g -Wall )
works... yes
checking whether the C compiler (gcc -g -Wall ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for full floating-point support... yes
checking for pwd... /usr/bin/pwd
checking for source directory...
/cygdrive/d/grass/grass-6.0.2
checking for build directory...
/cygdrive/d/grass/grass-6.0.2
checking how to build libraries... shared
yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)...
CYGWIN_NT-5.1-1.5.19(0.150/4/2)

checking for dlopen in -ldl... no
checking for ar... ar
checking for SysV... no
checking for XDriver... socket
checking for additional include dirs...
checking for additional library dirs...
checking for a BSD compatible install...
/usr/bin/install -c
checking for flex... flex
checking for yywrap in -lfl... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for env... env
checking for perl... /usr/bin/perl
checking for ANSI C header files... yes
checking for curses.h... yes
checking for limits.h... yes
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for values.h... no
checking for g2c.h... yes
checking for f2c.h... no
checking for sys/ioctl.h... yes
checking for sys/mtio.h... yes
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... yes
checking for libintl.h... yes
checking for iconv.h... yes
checking whether time.h and sys/time.h may both be
included... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking for Cygwin environment... yes
checking for ftime... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for lseek... yes
checking for nice... yes
checking for time... yes
checking for uname... yes
checking for seteuid... yes
checking for setpriority... yes
checking for setreuid... yes
checking for setruid... no
checking for drand48... yes
checking for putenv... yes
checking for setenv... yes
checking whether setpgrp takes no argument... yes
checking for W11... no
checking for X... libraries /usr/X11R6/lib, headers
/usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for curses.h... yes
checking curses.h WINDOW structure component... _maxy
checking for initscr in -lncurses... yes
checking for keypad in -lncurses... yes
checking for gtty in -lcompat... no
checking for gtty in -lbsd-compat... no
checking for gtty in -lbsd... no
checking for library containing cuserid... none
required
checking for xdrmem_create... no
checking for xdrmem_create in -lsun... no
checking for xdrmem_create in -lnsl... no
checking for xdrmem_create in -lrpclib... no
configure: error: *** Unable to locate XDR functions.
-------------------------

can you help me ?

thanks

Send instant messages to your online friends http://uk.messenger.yahoo.com

SSS Project wrote:

i try to develop own GRASS extensions,in COMPILATION
when i execute this command : CFLAGS="-g -Wall"
./configure
i have these :

checking for xdrmem_create... no
checking for xdrmem_create in -lsun... no
checking for xdrmem_create in -lnsl... no
checking for xdrmem_create in -lrpclib... no
configure: error: *** Unable to locate XDR functions.

can you help me ?

You need to install Cygwin's "sunrpc" package, from the "Libs"
category.

--
Glynn Clements <glynn@gclements.plus.com>