[distcc] Compiling distcc 3.0 under Cygwin/WinXP
Perez, Aaron P.
Aaron.Perez at hospira.com
Mon Jun 30 17:02:51 GMT 2008
bash$ make install
./config.status
config.status: creating Makefile
config.status: creating popt/.stamp-conf
config.status: creating lzo/.stamp-conf
config.status: creating pump
config.status: creating src/config.h
config.status: src/config.h is unchanged
'make install' will install distcc as follows:
man pages /usr/local/man/man1
documents /usr/local/share/doc/distcc
programs /usr/local/bin
system configuration /usr/local/etc
shared data files /usr/local/share/distcc
/bin/sh ./mkinstalldirs "/usr/local/share/doc/distcc"
for p in AUTHORS COPYING NEWS README README.pump INSTALL TODO
doc/protocol-1.txt doc/status-1.txt do
c/protocol-2.txt doc/reporting-bugs.txt survey.txt; do
\
/usr/bin/install -c -m 644 "./$p" "/usr/local/share/doc/distcc"
|| exit 1; \
done
/bin/sh ./mkinstalldirs "/usr/local/man/man1"
for p in man/distcc.1 man/distccd.1 man/distccmon-text.1 man/pump.1
man/include_server.1; do \
/usr/bin/install -c -m 644 "./$p" "/usr/local/man/man1" ||
exit 1; \
done
/bin/sh ./mkinstalldirs "/usr/local/bin"
for p in distcc.exe distccd.exe distccmon-text.exe lsdistcc.exe ; do \
/usr/bin/install -c "$p" "/usr/local/bin" || exit 1; \
done
if test -z "/usr/bin/python2.5"; then \
echo "Not building include-server: No suitable python found";
\
else \
mkdir -p "./_include_server" && \
DISTCC_VERSION="3.0rc2" \
SRCDIR="." \
CPPFLAGS="-DHAVE_CONFIG_H -D_GNU_SOURCE
-DSYSCONFDIR="\"/usr/local/etc\"" -DPKGDATADIR="\"
/usr/local/share/distcc\"" -Isrc -I"./src" -I"./lzo" "
\
/usr/bin/python2.5 "./include_server/setup.py" \
build \
--build-base="./_include_server" \
--build-temp="./_include_server"; \
fi
running build
running build_py
running build_ext
set -x; \
if test -z "/usr/bin/python2.5"; then \
echo "Not building install-include-server: No suitable python
found"; \
else \
mkdir -p "./_include_server" && \
DESTDIR=`cd "/" && pwd` && \
DISTCC_VERSION="3.0rc2" \
SRCDIR="." \
CPPFLAGS="-DHAVE_CONFIG_H -D_GNU_SOURCE
-DSYSCONFDIR="\"/usr/local/etc\"" -DPKGDATADIR="\"
/usr/local/share/distcc\"" -Isrc -I"./src" -I"./lzo" "
\
/usr/bin/python2.5 "./include_server/setup.py" \
build \
--build-base="./_include_server" \
--build-temp="./_include_server" \
install \
--prefix="/usr/local" \
--record="./_include_server/install.log.pre" \
--root="$DESTDIR" \
|| exit 1; \
sed '/^[^\/]/ s,^,/,' "./_include_server/install.log.pre" >
"./_include_server/install.log
"; \
if test -n ""; then \
cp -f "./_include_server/install.log" ""; \
fi; \
/bin/sh ./mkinstalldirs "/usr/local/bin" && \
INCLUDE_SERVER=`grep '/include_server.py$'
"./_include_server/install.log"` && \
sed "s,^include_server='',include_server='$INCLUDE_SERVER'," \
pump > "./_include_server/pump" && \
/usr/bin/install -c "./_include_server/pump" "/usr/local/bin";
\
fi
+ test -z /usr/bin/python2.5
+ mkdir -p ./_include_server
++ cd /
++ pwd
+ DESTDIR=/
+ DISTCC_VERSION=3.0rc2
+ SRCDIR=.
+ CPPFLAGS='-DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="/usr/local/etc"
-DPKGDATADIR="/usr/local/sha
re/distcc" -Isrc -I./src -I./lzo '
+ /usr/bin/python2.5 ./include_server/setup.py build
--build-base=./_include_server --build-temp=./_
include_server install --prefix=/usr/local
--record=./_include_server/install.log.pre --root=/
running build
running build_py
running build_ext
running install
running install_lib
running install_egg_info
Removing
/usr/local/lib/python2.5/site-packages/include_server-3.0rc2-py2.5.egg-i
nfo
Writing
/usr/local/lib/python2.5/site-packages/include_server-3.0rc2-py2.5.egg-i
nfo
writing list of installed files to './_include_server/install.log.pre'
+ sed '/^[^\/]/ s,^,/,' ./_include_server/install.log.pre
+ test -n ''
+ /bin/sh ./mkinstalldirs /usr/local/bin
+ errstatus=0
+ for file in '"$@"'
++ echo :/usr/local/bin
++ sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'
+ set fnord /usr local bin
+ shift
+ pathcomp=
+ for d in '"$@"'
+ pathcomp=/usr
+ case "$pathcomp" in
+ test '!' -d /usr
+ pathcomp=/usr/
+ for d in '"$@"'
+ pathcomp=/usr/local
+ case "$pathcomp" in
+ test '!' -d /usr/local
+ pathcomp=/usr/local/
+ for d in '"$@"'
+ pathcomp=/usr/local/bin
+ case "$pathcomp" in
+ test '!' -d /usr/local/bin
+ pathcomp=/usr/local/bin/
+ exit 0
++ grep '/include_server.py$' ./_include_server/install.log
+ INCLUDE_SERVER=
make: *** [install-include-server] Error 1
bash$
________________________________
From: Fergus Henderson [mailto:fergus at google.com]
Sent: Monday, June 30, 2008 9:44 AM
To: Perez, Aaron P.
Cc: distcc at lists.samba.org
Subject: Re: [distcc] Compiling distcc 3.0 under Cygwin/WinXP
Hmm, it looks like there wasn't any other error message after all, other
than the complaint from "make".
That makes it a bit trickier to debug.
Can you try applying the following patch, and then rerunning "make
install"?
The output should be a little bit more informative this time, so that
we'll be able to figure out which commands were executed and which
command failed.
Index: Makefile.in
===================================================================
--- Makefile.in (revision 525)
+++ Makefile.in (working copy)
@@ -1020,6 +1020,7 @@
# the leading slash in $prefix, even though we require prefix start
with
# a slash. We add it back in at cp time.
install-include-server: include-server pump
+ set -x; \
if test -z "$(INCLUDESERVER_PYTHON)"; then \
echo "Not building $@: No suitable python found"; \
else \
--
Fergus Henderson <fergus at google.com>
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the distcc
mailing list