[Grok-dev] On grokproject command an error occured when trying to install zope.security 3.7.2.

DIVINE PAUL Paul.Divine at alcatel-lucent.com
Tue Jul 20 04:59:52 EDT 2010


Hi,

 

on grokproject command 

An error occured when trying to install zope.security 3.7.2. 

Look above this message for any errors that were output by easy_install.

While:

  Installing.

  Getting section i18n.

  Initializing section i18n.

  Installing recipe z3c.recipe.i18n.

  Getting distribution for 'zope.security==3.7.2'.

Error: Couldn't install: zope.security 3.7.2

*************** PICKED VERSIONS ****************

[versions]

 

*************** /PICKED VERSIONS ***************

 

 

 

 

 

I work on the following machine

Linux  2.6.26-2-amd64 #1 SMP Sun Jun 20 20:16:30 UTC 2010 x86_64
GNU/Linux

 

I did the following commands:

 

virtual_env_name=testgrok

grok_project_name=todo

 

export http_proxy='http://xxx:xxx@xxxx:xxx/'

 

# get gcc

sudo apt-get install build-essential (response is Y)

# get easy_install

sudo apt-get install python-setuptools  (response is Y)

# get virtual environment factory

easy_install virtualenv

 

# get create a virtual environment

virtualenv --no-site-packages $virtual_env_name

 

# update path for virtual env

source $virtual_env_name/bin/activate

 

# get grokproject in the virtual environment

cd $virtual_env_name

 

 

easy_install grokproject

 

# create a sample grok project

grokproject $grok_project_name

 

grokproject $grok_project_name

Enter user (Name of an initial administrator user): admin

Enter passwd (Password for the initial administrator user): 

Determining current grok version...

Replace 1301 bytes with 1301 bytes (1/36 lines changed)

Overwrite ./todo/etc/site.zcml.in [y/n/d/B/?] y

Downloading zc.buildout...

Invoking zc.buildout...

src/zope/security/_proxy.c:19:20: error: Python.h: No such file or
directory

In file included from src/zope/security/_proxy.c:20:

- - - - 

 

 

 

 

As a result there is no files in the parts directory,

that is to say there is no http server.

 

The following command give the details.

(testgrok)pl6320:~/npo/testgrok/todo# ls -lR

.:

total 40

drwxr-xr-x 2 root root 4096 2010-07-19 10:40 bin

-rw-r--r-- 1 root root 3808 2010-07-19 10:40 bootstrap.py

-rw-r--r-- 1 root root 2819 2010-07-19 10:40 buildout.cfg

drwxr-xr-x 2 root root 4096 2010-07-20 02:47 develop-eggs

drwxr-xr-x 2 root root 4096 2010-07-19 10:40 etc

drwxr-xr-x 2 root root 4096 2010-07-20 02:47 extends-cache

drwxr-xr-x 2 root root 4096 2010-07-19 10:40 log

drwxr-xr-x 2 root root 4096 2010-07-19 10:40 parts

-rw-r--r-- 1 root root  758 2010-07-19 10:40 setup.py

drwxr-xr-x 4 root root 4096 2010-07-19 10:41 src

 

./bin:

total 4

-rwxr-xr-x 1 root root 265 2010-07-19 10:40 buildout

 

./develop-eggs:

total 4

-rw-r--r-- 1 root root 31 2010-07-20 02:47 todo.egg-link

 

./etc:

total 20

-rw-r--r-- 1 root root  710 2010-07-19 10:40 debug.ini.in

-rw-r--r-- 1 root root 1110 2010-07-19 10:40 deploy.ini.in

-rw-r--r-- 1 root root  856 2010-07-19 10:40 README.txt

-rw-r--r-- 1 root root 1301 2010-07-20 02:46 site.zcml.in

-rw-r--r-- 1 root root 1021 2010-07-19 10:40 zope.conf.in

 

./extends-cache:

total 24

-rw------- 1 root root 1001 2010-07-20 02:47
88b340ec4af18fb0fa1c291abec96f41

-rw------- 1 root root 7196 2010-07-20 02:47
9326cd9f1963d5644740a5e9633aed66

-rw------- 1 root root 9426 2010-07-20 02:47
ab59a3ebe2a4eb1281c0534117f4d091

 

./log:

total 0

 

./parts:

total 0

 

./src:

total 8

drwxr-xr-x 4 root root 4096 2010-07-19 10:40 todo

drwxr-xr-x 2 root root 4096 2010-07-19 10:41 todo.egg-info

 

./src/todo:

total 32

-rw-r--r-- 1 root root  131 2010-07-19 10:40 app.py

drwxr-xr-x 2 root root 4096 2010-07-19 10:40 app_templates

-rw-r--r-- 1 root root  919 2010-07-19 10:40 app.txt

-rw-r--r-- 1 root root  216 2010-07-19 10:40 configure.zcml

-rw-r--r-- 1 root root 1083 2010-07-19 10:40 ftesting.zcml

-rw-r--r-- 1 root root   30 2010-07-19 10:40 __init__.py

drwxr-xr-x 2 root root 4096 2010-07-19 10:40 static

-rw-r--r-- 1 root root  359 2010-07-19 10:40 tests.py

 

./src/todo/app_templates:

total 4

-rw-r--r-- 1 root root 195 2010-07-19 10:40 index.pt

 

./src/todo/static:

total 4

-rw-r--r-- 1 root root 103 2010-07-19 10:40 README.txt

 

./src/todo.egg-info:

total 24

-rw-r--r-- 1 root root   1 2010-07-20 02:47 dependency_links.txt

-rw-r--r-- 1 root root   1 2010-07-19 10:41 not-zip-safe

-rw-r--r-- 1 root root 176 2010-07-20 02:47 PKG-INFO

-rw-r--r-- 1 root root  59 2010-07-20 02:47 requires.txt

-rw-r--r-- 1 root root 253 2010-07-20 02:47 SOURCES.txt

-rw-r--r-- 1 root root   5 2010-07-20 02:47 top_level.txt

(testgrok)pl6320:~/npo/testgrok/todo#

 

 

 

Is there a turnaround?

Thanks in advance for your help.

 

Best regards 

Paul

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20100720/1a8356d2/attachment-0001.html 


More information about the Grok-dev mailing list