RE: [Zope3-Users] debian installation

2006-04-26 Thread David Johnson
I figured it out. An admin installed a different version and overrode Debian.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of David Johnson
> Sent: Wednesday, April 26, 2006 10:21 AM
> To: 'Stéphane Brault'; 'user-list zope'
> Subject: RE: [Zope3-Users] debian installation
> 
> This conversation must have jinxed me, because now I cannot install
> python2.4-dev.  Does anyone know a good apt source for the python2.4-dev
> package?  Ours depends upon python2.4 (=2.4.1-2), while the current
> version of python is 2.4.2, and so we cannot install.
> 
> Our apt list is:
> deb http://ftp.us.debian.org/debian/ stable main contrib non-free
> deb http://non-us.debian.org/debian-non-US/ stable/non-US main contrib
> non-free
> deb http://debian.yorku.ca/debian/ stable main contrib non-free
> deb-src http://mirrors.usc.edu/pub/linux/distributions/debian/ stable main
> deb http://security.debian.org/ stable/updates main contrib non-free
> 
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > On Behalf Of Stéphane Brault
> > Sent: Tuesday, April 25, 2006 7:01 AM
> > To: user-list zope
> > Subject: Re : [Zope3-Users] debian installation
> >
> > Thanks Andrius,
> >  it now works.
> >
> >  Stéphane
> >
> >
> > - Message d'origine 
> > De : Andrius Armonas <[EMAIL PROTECTED]>
> > À : Stéphane Brault <[EMAIL PROTECTED]>
> > Cc : user-list zope 
> > Envoyé le : Lundi, 24 Avril 2006, 10h55mn 23s
> > Objet : Re: [Zope3-Users] debian installation
> >
> > 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@zope.org
> > > http://mail.zope.org/mailman/listinfo/zope3-users
> >
> >
> >
> >
> > ___
> > Zope3-users mailing list
> > Zope3-users@zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
> 
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] debian installation

2006-04-26 Thread David Johnson
This conversation must have jinxed me, because now I cannot install 
python2.4-dev.  Does anyone know a good apt source for the python2.4-dev 
package?  Ours depends upon python2.4 (=2.4.1-2), while the current version of 
python is 2.4.2, and so we cannot install. 

Our apt list is:
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://non-us.debian.org/debian-non-US/ stable/non-US main contrib non-free
deb http://debian.yorku.ca/debian/ stable main contrib non-free
deb-src http://mirrors.usc.edu/pub/linux/distributions/debian/ stable main
deb http://security.debian.org/ stable/updates main contrib non-free



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Stéphane Brault
> Sent: Tuesday, April 25, 2006 7:01 AM
> To: user-list zope
> Subject: Re : [Zope3-Users] debian installation
> 
> Thanks Andrius,
>  it now works.
> 
>  Stéphane
> 
> 
> - Message d'origine 
> De : Andrius Armonas <[EMAIL PROTECTED]>
> À : Stéphane Brault <[EMAIL PROTECTED]>
> Cc : user-list zope 
> Envoyé le : Lundi, 24 Avril 2006, 10h55mn 23s
> Objet : Re: [Zope3-Users] debian installation
> 
> 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@zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
> 
> 
> 
> 
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re : [Zope3-Users] debian installation

2006-04-25 Thread Stéphane Brault
Thanks Andrius,
 it now works.
 
 Stéphane
 
 
- Message d'origine 
De : Andrius Armonas <[EMAIL PROTECTED]>
À : Stéphane Brault <[EMAIL PROTECTED]>
Cc : user-list zope 
Envoyé le : Lundi, 24 Avril 2006, 10h55mn 23s
Objet : Re: [Zope3-Users] debian installation

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@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users




___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re : [Zope3-Users] debian installation

2006-04-25 Thread Stéphane Brault
Thanks David,
 that's what I do ;-)
 
 Stéphane

- Message d'origine 
De : David Johnson <[EMAIL PROTECTED]>
À : Stéphane Brault <[EMAIL PROTECTED]>; user-list zope 
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 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@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users




___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] debian installation

2006-04-24 Thread Andrius Armonas

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@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] debian installation

2006-04-24 Thread David Johnson
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 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@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users