[Zope3-Users] debian installation

Andrius Armonas andrius at soften.ktu.lt
Mon Apr 24 16:55:23 EDT 2006


Hi,

you have to install python2.4-dev package.

--
Andrius


Stéphane Brault wrote:

> Hi,
>  I'm trying to install zope on a debian distribution. ./configure works ok, then when I invoke make
>  I get :
>  /usr/bin/python2.4 install.py -q build
>  error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)
>  make: *** [build] Error 1
>  I then create a config directory and copy Makefile in it.
>  I relaunch make and get:
>  /usr/bin/python2.4 install.py -q build
>  Traceback (most recent call last):
>    File "install.py", line 29, in ?
>      context.setup()
>    File "/home/Zope-3.2.0/Support/zpkgsetup/setup.py", line 132, in setup
>      setup(**kwargs)
>    File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
>      dist.run_commands()
>    File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
>      self.run_command(cmd)
>    File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
>      cmd_obj.run()
>    File "/usr/lib/python2.4/distutils/command/build.py", line 112, in run
>      self.run_command(cmd_name)
>    File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
>      self.distribution.run_command(command)
>    File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
>      cmd_obj.run()
>    File "/home/Zope-3.2.0/Support/zpkgsetup/build_ext.py", line 24, in run
>      distutils.command.build_ext.build_ext.run(self)
>    File "/usr/lib/python2.4/distutils/command/build_ext.py", line 254, in run
>      customize_compiler(self.compiler)
>    File "/usr/lib/python2.4/distutils/sysconfig.py", line 161, in customize_compiler
>      cpp = cc + " -E"           # not always
>  TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>  make: *** [build] Error 1
>  
>  Any hint ?
>  Thanks,
>  
>  Stéphane
> 
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users



More information about the Zope3-users mailing list