[Zope3-Users] debian installation

Stéphane Brault stephane_brault at yahoo.fr
Tue Apr 25 07:23:15 EDT 2006


Thanks David,
 that's what I do ;-)
 
 Stéphane

----- Message d'origine ----
De : David Johnson <djohnson at jsatech.com>
À : Stéphane Brault <stephane_brault at yahoo.fr>; user-list zope <zope3-users at zope.org>
Envoyé le : Lundi, 24 Avril 2006, 8h48mn 45s
Objet : RE: [Zope3-Users] debian installation

I've installed on Debian many times and I don't remember these troubles with
Sarge.  I used Debian Python2.4. I suspect some python troubles here, but
I'm not python expert.  I do the install using:


1. cd Zope-3.2.0
2. ./configure --with-python /usr/bin/python2.4
3. make


> -----Original Message-----
> From: zope3-users-bounces at zope.org [mailto:zope3-users-bounces at zope.org]
> On Behalf Of Stéphane Brault
> Sent: Monday, April 24, 2006 12:49 PM
> To: user-list zope
> Subject: [Zope3-Users] debian installation
> 
> 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