j'ai essayé de compiler les extensions mais j'ai un pb.
Ci-dessous le message d'erreur :

C:\Program Files\Zope-2.7.3-0\bin\Lib\site-packages\TextIndexNG2>"c:\Program Files\Zope-2.
7.3-0\bin\python.exe" setup.py build
running build
running build_ext
error: Python was built with version 6 of Visual Studio, and extensions need to be built w
ith the same version of the compiler, but it isn't installed.

C:\Program Files\Zope-2.7.3-0\bin\Lib\site-packages\TextIndexNG2>cd \

C:\>cd Zope-Instance

C:\Zope-Instance>cd Products

C:\Zope-Instance\Products>cd TextIndexNG2

C:\Zope-Instance\Products\TextIndexNG2>"c:\Program Files\Zope-2.7.3-0\bin\python.exe" setu
p.py build
running build
running build_ext
error: Python was built with version 6 of Visual Studio, and extensions need to be built w
ith the same version of the compiler, but it isn't installed.



 
2006/1/27, misstie LB <[EMAIL PROTECTED]>:
quelle est la version du compiler à installer ? car il semble que il n'accepte pas la version 6 de visualstudio

2006/1/27, misstie LB <[EMAIL PROTECTED]>:
bonjour,
 
je voudrais installer TextIndexNG version 2.0.5
J'ai copié les fichiers dans le dossier C:\Program Files\Zope-2.7.3-0\bin\Lib\site-packages\TextIndexNG2
mais je ne sais pas comment lancer le makefile pour qu'il m'installe le produit.
Je ne trouve pas de documentation sur le sujet.
 
d'avance merci.
 
---------------------
Plus d'infos :
  
mon contexte :

- Zope-2.7.3-0 / CPS-3.2.3 / Python-2.3.4 / windows2000

voici l'erreur au démarrage de zope :
 
...

Method: <Simple Group Roles Plugin>.setGroupRolesOnObject

------
2006-01-27T10:42:10 DEBUG(-200) PluggableFolder Add method on RoleManager
Name: manage_simpleGroupRolesGetGroups
Method: <Simple Group Roles Plugin>.getGroupsOnObject

------
2006-01-27T10:42:10 ERROR(200) Zope Couldn't install TextIndexNG2
Traceback (most recent call last):
  File "C:\Program Files\Zope-2.7.3-0\lib\python\OFS\Application.py", line 738, in install
_product
    initmethod(context)
  File "C:\Zope-Instance\Products\TextIndexNG2\__init__.py", line 70, in initialize
    from Products.TextIndexNG2 import TextIndexNG
  File "C:\Zope-Instance\Products\TextIndexNG2\TextIndexNG.py", line 38, in ?
    from ParseTree import Evaluator
  File "C:\Zope-Instance\Products\TextIndexNG2\ParseTree.py", line 19, in ?
    import TXNGSplitter
ImportError: No module named TXNGSplitter
Traceback (most recent call last):
  File "C:\Program Files\Zope-2.7.3-0\lib\python\Zope\Startup\run.py", line 50, in ?
    run()
  File "C:\Program Files\Zope-2.7.3-0\lib\python\Zope\Startup\run.py", line 19, in run
    start_zope( opts.configroot)
  File "C:\Program Files\Zope-2.7.3-0\lib\python\Zope\Startup\__init__.py", line 51, in st
art_zope
    starter.startZope()
  File "C:\Program Files\Zope-2.7.3-0\lib\python\Zope\Startup\__init__.py ", line 230, in s
tartZope
    Zope.startup()
  File "C:\Program Files\Zope-2.7.3-0\lib\python\Zope\__init__.py", line 47, in startup
    _startup()
  File "C:\Program Files\Zope-2.7.3-0\lib\python\Zope\App\startup.py ", line 96, in startup

    OFS.Application.initialize(application)
  File "C:\Program Files\Zope-2.7.3-0\lib\python\OFS\Application.py", line 278, in initial
ize
    initializer.initialize()
  File "C:\Program Files\Zope- 2.7.3-0\lib\python\OFS\Application.py", line 305, in initial
ize
    self.install_products()
  File "C:\Program Files\Zope-2.7.3-0\lib\python\OFS\Application.py", line 560, in install
_products
    return install_products(app)
  File "C:\Program Files\Zope-2.7.3-0\lib\python\OFS\Application.py", line 591, in install
_products
    folder_permissions, raise_exc=debug_mode)
  File "C:\Program Files\Zope- 2.7.3-0\lib\python\OFS\Application.py", line 738, in install
_product
    initmethod(context)
  File "C:\Zope-Instance\Products\TextIndexNG2\__init__.py", line 70, in initialize
    from Products.TextIndexNG2 import TextIndexNG
  File "C:\Zope-Instance\Products\TextIndexNG2\TextIndexNG.py", line 38, in ?
    from ParseTree import Evaluator
  File "C:\Zope-Instance\Products\TextIndexNG2\ParseTree.py", line 19, in ?
    import TXNGSplitter
ImportError: No module named TXNGSplitter



_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>

Répondre à