Implémentation de FRED sous Debian
Salut
Je vous prie de m'excuser.
J'ai commencé à effectuer une installation de FRED en me basant sur le guide d'installation "Howto". J'avais des erreurs en retours mais je parvenais à les résoudre en installant les packets manquant. Mais au moment d'installer "fred-pyfred" j'ai des erreurs dont j'ai tenté de résoudre en vain.
Je ne comprends pas cette option -p dont il me demande d'utiliser, et comment faire pour les fichiers manquants dont il mentionne dans les différentes étapes.
Si je tape la commande mentionnée dans le "HowTo" :
Code:
1 2 3
| nicGest:/home/nic/Sources_FRED/bins/fred-pyfred-2.1.2# python setup.py build _idl
...
command build_idl : invalid |
ET quand je remplace build_idl par build seulement :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| nicGest:/home/nic/Sources_FRED/bins/fred-pyfred-2.1.2# python setup.py build
Updating setup configuration file (setup.cfg).
running build
running build_py
file ./pyfred/idlstubs.py (for module pyfred.idlstubs) not found
file ./pyfred/idlstubs/ccReg.py (for module pyfred.idlstubs.ccReg) not found
file ./pyfred/idlstubs/ccReg__POA.py (for module pyfred.idlstubs.ccReg__POA) not found
file ./pyfred/idlstubs.py (for module pyfred.idlstubs) not found
file ./pyfred/idlstubs/ccReg.py (for module pyfred.idlstubs.ccReg) not found
file ./pyfred/idlstubs/ccReg__POA.py (for module pyfred.idlstubs.ccReg__POA) not found
running build_scripts
All done! |
La deuxieme commande :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| nicGest:/home/nic/Sources_FRED/bins/fred-pyfred-2.1.2# python ./setup.py build
Updating setup configuration file (setup.cfg).
running build
running build_py
file ./pyfred/idlstubs.py (for module pyfred.idlstubs) not found
file ./pyfred/idlstubs/ccReg.py (for module pyfred.idlstubs.ccReg) not found
file ./pyfred/idlstubs/ccReg__POA.py (for module pyfred.idlstubs.ccReg__POA) not found
file ./pyfred/idlstubs.py (for module pyfred.idlstubs) not found
file ./pyfred/idlstubs/ccReg.py (for module pyfred.idlstubs.ccReg) not found
file ./pyfred/idlstubs/ccReg__POA.py (for module pyfred.idlstubs.ccReg__POA) not found
running build_scripts
All done! |
Et enfin :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| nicGest:/home/nic/Sources_FRED/bins/fred-pyfred-2.1.2# python ./setup.py install
Updating setup configuration file (setup.cfg).
running install
sendmail found in /usr/sbin
Configuration file has been updated
genzone configuration file has been updated
running build
running build_py
file ./pyfred/idlstubs.py (for module pyfred.idlstubs) not found
file ./pyfred/idlstubs/ccReg.py (for module pyfred.idlstubs.ccReg) not found
file ./pyfred/idlstubs/ccReg__POA.py (for module pyfred.idlstubs.ccReg__POA) not found
file ./pyfred/idlstubs.py (for module pyfred.idlstubs) not found
file ./pyfred/idlstubs/ccReg.py (for module pyfred.idlstubs.ccReg) not found
file ./pyfred/idlstubs/ccReg__POA.py (for module pyfred.idlstubs.ccReg__POA) not found
running build_scripts
running install_lib
...
...
omniidl: Could not import back-end 'python'
omniidl: Maybe you need to use the -p option?
omniidl: (The error was 'No module named python')
error: Return status of omniidl is 256 |
Et quand j'utilise l'option -p en donnant un chemin que j'ai trouvé sur le forum linux du site "vulgarisation-informtique"
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| #/fred-pyfred-2.1.2# python ./setup.py install -p /usr/lib/python2.5/site-packages/omniidl_be/
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option -p not recognized |