delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/03/04:57:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Date: Fri, 3 Apr 2009 11:57:28 +0200 (CEST)
Message-Id: <200904030957.n339vS2x000719@mail.bln1.bf.nsn-intra.net>
From: Thomas Wolff <towo AT towo DOT net>
To: cygwin AT cygwin DOT com
Subject: compilation with cygport spoiled by spaces in pathnames?
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019