Comments (14)
Have you tried
./configure --disable-Werror
make
?
Original comment by [email protected]
on 3 Dec 2008 at 11:39
from distcc.
Just did. error -> warnings. Has a problem finding Python.h
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.1" \
SRCDIR="." \
CFLAGS="-g -O2 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wmissing-declarations -Wuninitialized -pthread
-Wno-missing-prototypes -Wno-missing-declarations -Wno-write-strings
-Wp,-U_FORTIFY_SOURCE" \
CPPFLAGS="-DHAVE_CONFIG_H -D_GNU_SOURCE -DSYSCONFDIR="\"/usr/local/etc\""
-DPKGDATADIR="\"/usr/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
-I"./popt""
\
/usr/bin/python2.5 "./include_server/setup.py" \
build \
--build-base="./_include_server" \
--build-temp="./_include_server"; \
fi
setup.py: PYTHON_CFLAGS must be defined.
running build
running build_py
running build_ext
building 'include_server.distcc_pump_c_extensions' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes
-g -O2 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wmissing-declarations -Wuninitialized -pthread -Wno-missing-prototypes
-Wno-missing-declarations -Wno-write-strings -Wp,-U_FORTIFY_SOURCE
-DHAVE_CONFIG_H
-D_GNU_SOURCE -DSYSCONFDIR=/usr/local/etc -DPKGDATADIR=/usr/local/share/distcc
-Isrc
-I./src -I./lzo -I./popt -fPIC -D_GNU_SOURCE=1 -Isrc -I./src -I./lzo -I./popt
-I/usr/include/python2.5 -c
/home/rranslam/wrs/tools/distcc-3.1/include_server/c_extensions/distcc_pump_c_ex
tensions_module.c
-o
./_include_server/home/rranslam/wrs/tools/distcc-3.1/include_server/c_extensions
/distcc_pump_c_extensions_module.o
/home/rranslam/wrs/tools/distcc-3.1/include_server/c_extensions/distcc_pump_c_ex
tensions_module.c:24:20:
error: Python.h: No such file or directory
/home/rranslam/wrs/tools/distcc-3.1/
Original comment by [email protected]
on 3 Dec 2008 at 11:47
from distcc.
Looks like there is a fix for "PYTHON_CFLAGS must be defined." I can pull from
the
head and give it a spin
Original comment by [email protected]
on 4 Dec 2008 at 12:07
from distcc.
You can just ignore the message about PYTHON_CFLAGS. It's a spurious message.
The
fix just makes the message go away.
Python.h is supposed to be part of your Python installation.
You need to have the right packages installed in order to build distcc from
source.
Try "apt-get install python2.4-dev"?
Let us know if that solves the problem.
Cheers,
Fergus.
Original comment by [email protected]
on 9 Dec 2008 at 1:18
from distcc.
darn though i had python-dev installed... that was it. Thanks
to recap, for ubuntu-8.10 do
sudo apt-get install python2.5-dev
tar xjvf distcc-3.1.tar.bz2
cd distcc-3.1
./autogen.sh
./configure --disable-Werror && make && sudo make install
ready to go
Original comment by [email protected]
on 10 Dec 2008 at 4:57
from distcc.
I'll update the installation instructions.
http://code.google.com/p/distcc/source/detail?r=632#
Original comment by [email protected]
on 10 Dec 2008 at 6:41
from distcc.
Documentation updated in revision 634.
Original comment by [email protected]
on 10 Dec 2008 at 8:23
- Changed state: Fixed
from distcc.
Original comment by [email protected]
on 10 Dec 2008 at 8:39
- Added labels: Type-Defect
from distcc.
If python is truly optional, as the install docs indicate, then your solution
really
doesn't fix the problem. The configure script should detect that the python dev
tools (like Python.h) are missing, print a big warning message, and then
proceed as
if python were completely missing.
I'm having the same problem described, but I don't have root access, nor do I
want to
try to install the python dev tools by hand in my home dir just so I can compile
this. Is there some way to make the configure script think that python isn't
installed?
Original comment by [email protected]
on 21 Mar 2009 at 10:38
from distcc.
In general it's a good idea to have Python, including the Python dev tools; you
need
that for "pump" mode, which has much better performance in a lot of cases.
But, if you're really keen on not using Python...
You might be able to get configure to not detect Python by setting PATH to
something
that doesn't contain "python*", e.g.
mkdir $HOME/usr_bin
ln -s /usr/bin/* $HOME/usr_bin
rm -f ~/usr_bin/python*
PATH=$(echo "$PATH" | sed "s@/usr/bin@$HOME/usr_bin)
Alternatively, please feel free to make a patch to configure.ac to add a
--without_python option, and send it to the distcc-patches list.
Original comment by [email protected]
on 23 Mar 2009 at 6:49
from distcc.
[deleted comment]
from distcc.
I think it's common to have python installed, while without python-dev.
Thus,what will distcc be if python-dev is missing while python existing?
It involves the dependency of python and python-dev from distcc.
Original comment by [email protected]
on 8 Jun 2012 at 12:10
from distcc.
I think the INSTALL file explains the dependencies on other packages.
Original comment by [email protected]
on 8 Jun 2012 at 3:28
from distcc.
Thanks. I forget to check that. : - )
Original comment by [email protected]
on 11 Jun 2012 at 1:58
from distcc.
Related Issues (20)
- Compilation fails under Cygwin HOT 2
- --coverage flag not treated correctly HOT 1
- missing feature: support --coverage to compile remotely HOT 1
- ls HOT 1
- Apparently not getting much parallelism HOT 9
- [deleted issue]
- Include server not covering... HOT 6
- GPL3 encumbrance HOT 9
- disable distcc HOT 3
- unknown translation unit - mips64 compiler HOT 4
- Building with GCC 4.7.3 on x86_32 fails due to warnings in lzo/minilzo.c HOT 3
- Documentation for --random is incomplete
- lsdistcc_1.html Shown as Raw File in Browser HOT 1
- zeroconf hosts have a hardcoded slots value of 4? HOT 2
- OS X Yosemite Compile Fixes
- absence of DISTCC_SSH setting causes exec("ssh") failure HOT 1
- lsdistcc segfaults when called with more than 502 hosts
- [PATCH] SOCKSv5 proxy support HOT 2
- distccd not honoring DISTCC_TCP_CORK=0
- gnome/distccmon-gnome.desktop is not utf-8 encoded file.It is ISO-8859.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distcc.