compilation from sources on Debian

Questions about Anatomist manipulation

Moderators: denghien, riviere

Post Reply
User avatar
Olivier Coulon
Posts: 176
Joined: Fri Feb 27, 2004 11:48 am
Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
Contact:

compilation from sources on Debian

Post by Olivier Coulon »

Hello everybody,
we are still trying to compile the sources on a Debian distribution (without being root). We managed to install libsigc++ and libxml2 that were necessary. We then tried :

Code: Select all

build-config --buildMode release --build --verbose --version main cartobase
Apparently all necessary libraries are found but we get the following error message:

Code: Select all

configure -r -v /opt/goperto/Perforce/cartobase-main
Traceback (most recent call last):
  File "/opt/goperto/Perforce/util-main/configure", line 17, in ?
    import sys, os, signal, errno, distutils.spawn, imp, copy, shutil
ImportError: No module named distutils.spawn
Traceback (most recent call last):
  File "/opt/goperto/Perforce/util-main/build-config", line 3937, in ?
    instance.configureWithDependencies( instances )
  File "/opt/goperto/Perforce/util-main/build-config", line 867, in configureWithDependencies
    self.configure( instances )
  File "/opt/goperto/Perforce/util-main/build-config", line 1614, in configure
    raise OSError( 'Configuration of ' + self.name() + ' failed' )
OSError: Configuration of cartobase-1.2 failed
So, the module distutils.spawn is missing. What is it ?
Thanks in advance, and sorry for all the trouble :oops:

Olivier and Gregory
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Post by Yann Cointepas »

What Python version are you using ?
It seems that distutils.spawn is available at least to version greater than 2.2.
If you have an older version, you must consider upgrading it. In that case, you should have a look in the install directory in Perforfe because it contains all source packages and a shell script to install Python 2.4 and the packages required by BrainVISA.
User avatar
Olivier Coulon
Posts: 176
Joined: Fri Feb 27, 2004 11:48 am
Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
Contact:

Post by Olivier Coulon »

Thanks a lot Yann. I just got the install directory, I will have a look at that.

Olivier
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
User avatar
Olivier Coulon
Posts: 176
Joined: Fri Feb 27, 2004 11:48 am
Location: MeCA research group, Institut de Neurosciences de La Timone, Marseille, France
Contact:

Post by Olivier Coulon »

I installed a new version of Python (2.4) and compilation of cartobase seems to be OK.
Thanks a lot Yann !

Olivier
Olivier Coulon
Institut de Neurosciences de La Timone,
Aix-Marseille Université,
Marseille, france
https://meca-brain.org
Post Reply