Git Product home page Git Product logo

Comments (14)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Have you tried

  ./configure --disable-Werror
  make

?

Original comment by [email protected] on 3 Dec 2008 at 11:39

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Documentation updated in revision 634.

Original comment by [email protected] on 10 Dec 2008 at 8:23

  • Changed state: Fixed

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024

Original comment by [email protected] on 10 Dec 2008 at 8:39

  • Added labels: Type-Defect

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
[deleted comment]

from distcc.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Thanks. I forget to check that. : - )

Original comment by [email protected] on 11 Jun 2012 at 1:58

from distcc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.