compilation with cygport spoiled by spaces in pathnames?

Thomas Wolff towo@towo.net
Fri Apr 3 10:33:00 GMT 2009


I tried to recompile inetutils (in an attempt to check the earlier reported 
problem of rlogin and telnet not supporting UTF-8 anymore since cygwin 1.7.0-45)
and ran into a problem with spaces in $PATH which aborted the compilation:

> cygport inetutils-1.5-4.cygport prep
...

> cygport inetutils-1.5-4.cygport compile
...
config.status: creating rlogin/Makefile
...
config.status: creating telnet/Makefile
...
...
Making all in ftpd
make[2]: Entering directory `/usr/src/inetutils-1.5-4/build/ftpd'
bison -y   /usr/src/inetutils-1.5-4/src/inetutils-1.5/ftpd/ftpcmd.y
if gcc -DHAVE_CONFIG_H -I. -I/usr/src/inetutils-1.5-4/src/inetutils-1.5/ftpd -I.. -I/usr/src/inetutils-1.5-4/src/inetutils-1.5/lib -I../lib -I/usr/src/inetutils-1.5-4/src/inetutils-1.5/libinetutils  -DPATH_FTPWELCOME=\"/etc/ftpwelcome\" -DPATH_FTPUSERS=\"/etc/ftpusers\" -DPATH_FTPLOGINMESG=\"/etc/motd\" -DPATH_FTPCHROOT=\"/etc/ftpchroot\" -DPATH_FTPDPID=\"/var/run/ftpd.pid\"   -DPATH_NOLOGIN=\"/etc/nologin\"    -O2 -pipe  -DNCURSES_STATIC -MT ftpd.o -MD -MP -MF ".deps/ftpd.Tpo" -c -o ftpd.o /usr/src/inetutils-1.5-4/src/inetutils-1.5/ftpd/ftpd.c; \
        then mv -f ".deps/ftpd.Tpo" ".deps/ftpd.Po"; else rm -f ".deps/ftpd.Tpo"; exit 1; fi
Can't find c:\Program on PATH.
make[2]: *** [ftpcmd.c] Error 29
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/inetutils-1.5-4/build/ftpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/inetutils-1.5-4/build'
make: *** [all] Error 2
*** ERROR: make failed


Is this a generic problem? From the make output, it's not clear which program 
actually raised the problem ("Can't find c:\Program on PATH.") - gcc, mv, rm?
I had the impression that spaces in path names (which unfortunately do occur 
under Windows) are usually handled properly.


After this problem, even all the Makefiles were gone that cygport had 
previously reported to have generated, so I couldn't even try to 
manually compile.
Is this another issue?


Kind regards,
Thomas

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



More information about the Cygwin mailing list