hi all<br>I tried the following on a (debian) system without gcc installed:<br><br>===<br>bzr-0.90$ ./setup.py install<br><br>The python package 'Pyrex' is not available. If the .c files are available,<br>they will be built, but modifying the .pyx files will not rebuild them.
<br><br>running install<br>running build<br>running build_py<br>running build_ext<br>building 'bzrlib._dirstate_helpers_c' extension<br>gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c bzrlib/_dirstate_helpers_c.c -o build/temp.linux-
i686-2.4/bzrlib/_dirstate_helpers_c.o<br>unable to execute gcc: No such file or directory<br>error: command 'gcc' failed with exit status 1<br>===<br><br>after playing around a little I think I figured out how to get it installed, by
<br>commenting the following lines out of setup.py:<br>#add_pyrex_extension('bzrlib._dirstate_helpers_c')<br>#add_pyrex_extension('bzrlib._knit_load_data_c')<br><br><br>Should we have some sort of is_gcc_availible detection?
<br>or<br>Should we have a flag to tell 'setup install' not to try and build the c files?<br><br><br>regards<br>marius<br><br><br clear="all"><br>