Make: bin/rmkdepend.exe:Command not found using the cygwin

Dear expert,
I try to use the cygwin and MSVC10 to compile the root_v5.30.01.source. And I download the gcc, make and other packages using the cygwin. And then follow the steps to compile:
1.
./configure win32gcc
Here is the output:
Checking for source directory … /home/ZouWei/root_v5.30.01.source/root
Configuring for win32gcc
Checking for GNU Make version >= 3.80 … ok
Checking for C compiler … gcc
Checking for C++ compiler … g++
Checking for linker (LD) … build/unix/wingcc_ld.sh
Checking for F77 compiler … no F77 compiler gfortran found
Checking for libX11 … /usr/lib
Checking for X11/Xlib.h … /usr/include
Checking for X11/xpm.h … /usr/include
Checking for X11/Xft/Xft.h … /usr/include
Checking for X11/extensions/shape.h … /usr/include
Checking for libXpm … /usr/lib
Checking for libXft … /usr/lib
Checking for libXext … /usr/lib
Checking for libpthread … /usr/lib
Checking for freetype-config … /usr/bin/freetype-config
Checking for libfreetype version >= 9.3.0 … ok
Checking whether to build included libfreetype6 … no
Checking for pcre-config … /usr/bin/pcre-config
Checking for libpcre version >= 3.9 … ok
Checking whether to build included libpcre … no
Checking for zlib.h … /usr/include
Checking for libz … /usr/lib
Checking whether to build included zlib … no
Checking for lzma.h … no
Checking for liblzma … no
Checking whether to build included lzma … yes
Checking for GL/gl.h … /usr/include
Checking for libGL, or libMesaGL … /usr/lib
Checking for libGLU, or libMesaGLU … no
Checking for mysql_config … not found
Checking for mysql.h … no
Checking for libmysqlclient_r, libmysqlclient, or mysqlclient … no
Checking for occi.h … no
Checking for libclntsh, or oci … no
Checking for libocci, or oraocci10 … no
Checking for libpq-fe.h … no
Checking for libpq … no
Checking for sql.h … no
Checking for libsqlod … no
Checking for sqlext.h … no
Checking for libiodbc, libodbc, or odbc32 … no
Checking for rfio_api.h … no
Checking for librfio, libdpm, libshift, shiftmd, or shift … no
Checking for rfio_api.h … no
Checking for stager_api.h … no
Checking for libshift, shiftmd, or shift … no
Checking for gfal_api.h … no

hecking for libdns_sd … no
Checking for libglite-api-wrapper … no
Checking for gapiUI.h … no
Checking for libgapiUI … no
Checking for jpeglib.h … no
Checking for png.h … no
Checking for tiffio.h … no
Checking for gif_lib.h … no
Checking for libjpeg … no
Checking for libtiff … no
Checking for libungif … no
Checking for libz … /usr/lib
Checking for libpng … no
Checking whether to build included libAfterImage … yes
Checking for ldap.h … no
Checking for libldap … no
Checking for Python.h … /usr/include/python2.6
Checking for python2.6, libpython2.6, libpython, python, or Python … /usr/lib
Checking for xml2-config … not found
Checking for libxml/tree.h … no
Checking for libxml2_a, or libxml2 … no
Checking whether to build xrootd … no
Checking for libssl … /usr/lib
Checking for libcrypto … /usr/lib
Using OpenSSL static libraries
Checking for openssl/bio.h … /usr/include
Checking for openssl/blowfish.h … /usr/include
Checking for openssl/err.h … /usr/include
Checking for openssl/pem.h … /usr/include
Checking for openssl/rand.h … /usr/include
Checking for openssl/rsa.h … /usr/include
Checking for t_server.h … no
Checking for libsrp … no
Checking for libgmp … no
Checking for libmisc … no
Checking for pwauth.h … no
Checking for krb5.h … no
Checking for shadow passwords … no
Checking for gsl/gsl_version.h … no
Checking for gsl-config … not found
Checking whether to build libMathMore … no
Checking whether to build libGenVector … yes
Checking whether to build libCintex … yes
Checking whether to build libReflex … yes
Checking whether to build libRooFit … no
Checking whether to build libMinuit2 … no
Checking whether to build libUnuran … no
Checking whether to build libGdml … no
Checking whether to build libTable … no
Checking whether to build libTMVA … yes
Checking whether to build libMemStat … no
Checking for Clarens support … no

Checking for PEAC support … no
Checking whether to build afdsmgrd … no
Generating cint dictionaries.
Checking whether setresuid declared in /usr/include/unistd.h … no
Writing config/Makefile.config … done
Writing config/Makefile.comp … done
Writing include/RConfigure.h … done
Writing include/RConfigOptions.h … done
Writing bin/root-config … done
Writing etc/system.rootrc … done
Writing etc/system.rootauthrc … done
Writing etc/system.rootdaemonrc … done
Writing etc/root.mimes … done
Writing etc/daemons/rootd.rc.d … done
Writing etc/daemons/rootd.xinetd … done
Writing etc/daemons/proofd.rc.d … done
Writing etc/daemons/proofd.xinetd … done
Writing main/src/proofserv.sh … done
Writing main/src/roots.sh … done
Writing etc/daemons/xrootd.rc.d … done
Writing etc/daemons/olbd.rc.d … done
Writing etc/daemons/cmsd.rc.d … done
Writing bin/memprobe … done
Writing build/misc/root-help.el … done
Writing macros/html.C … done
Writing bin/thisroot.sh … done
Writing bin/thisroot.csh … done
Writing bin/genreflex … done
Writing bin/genreflex-rootcint … done
Writing config.status … done

Enabled support for asimage, astiff, builtin_afterimage, builtin_lzma, cintex, exceptions, explicitlink, genvector, python, reflex, shared, ssl, tmva, x11, xft.

To build ROOT type:

make

And then I “make " after that. And I got the error:
gcc -O2 -pipe -Wall -Iinclude -I/usr/X11R6/include -DINCLUDEDIR=”/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/cppsetup.o -c /home/ZouWei/root_v5.30.01.source/root/build/rmkdepend/cppsetup.c
bin/rmkdepend.exe -R -fcint/cint/src/g__cfunc.d -Y -w 1000 – -pipe -Wall -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__CYGWIN -DG__NEWSTDHEADER -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -I/home/ZouWei/root_v5.30.01.source/root/cint/cint/inc -I/home/ZouWei/root_v5.30.01.source/root/cint/cint/src -I/home/ZouWei/root_v5.30.01.source/root/cint/cint/src/dict -I. – /home/ZouWei/root_v5.30.01.source/root/cint/cint/src/g__cfunc.c
make: bin/rmkdepend.exe:Command not found
make: *** [cint/cint/src/g__cfunc.o] error 127

What kind of error did I met? And how to solve it?
Thanks for the help!

Best,
Wei

Hello Wei,

[quote=“weizou”]I try to use the cygwin and MSVC10 to compile the root_v5.30.01.source. And I download the gcc, make and other packages using the cygwin. And then follow the steps to compile:
1.
./configure win32gcc[/quote]
For clarification: This means you choose to use root in a cygwin (+X11) environment, and NOT using MSVC10 build in a native Windows environment. Is it really what you want?
If it is what you want, could you try to build from a xterm, to see if it solve the problem (I always build win32gcc binaries from a xterm without any problem)
Note: you can also download the binary from ftp. See also this web page

Another solution is to use the regular MSVC++ build (you can also download it from there) or build from source using “./configure win32” (and not win32gcc) in a cygwin prompt (not xterm)

Cheers, Bertrand.