Hi,
when I installed pyclewn, I issue the following command:
python setup.up install --force
Failed to run 'gvim' as Vim.
Please set the EDITOR environment variable or run 'pyclewn
--editor=/path/to/(g)vim'.
Traceback (most recent call last):
File "setup.py", line 48, in <module>
vimdir = pyclewn_install.vimdir()
File "/home/free/pyclewn-1.10.py2/clewn/misc.py", line 85, in _dec
ret = f(*args)
File "/home/free/pyclewn-1.10.py2/pyclewn_install.py", line 49, in vimdir
path = vim.exec_vimcmd(['echon $VIM'])
File "/home/free/pyclewn-1.10.py2/clewn/vim.py", line 96, in exec_vimcmd
subprocess.Popen(args).wait()
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
then I set the EDITOR like this:
$EDITOR=/usr/bin/vim
echo $EDITOR
/usr/bin/vim
$export EDITOR
then execute python setup.up install --force again, but failed again, error
message like that:
running install
Vim user data files location: "/usr/share/vim/vimfiles"
checking netbeans support in vim: yes
checking auto commands support in vim: yes
running build
running build_py
running build_ext
building '_bdb' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
pdb_clone/_bdbmodule.c -o build/temp.linux-x86_64-2.7/pdb_clone/_bdbmodule.o
pdb_clone/_bdbmodule.c:3:20: fatal error: Python.h: No such file or
directory
compilation terminated.
warning: build_ext:
*** Building the _bdb extension failed. ***
running build_scripts
running install_lib
creating /usr/local/lib/python2.7/dist-packages/pdb_clone
error: could not create '/usr/local/lib/python2.7/dist-packages/pdb_clone':
Permission denied
so I tried vimdir=$HOME/.vim python setup.py install --force
--home=$HOME/usr and gives another messages:
running install
Vim user data files location: "/home/free/.vim"
checking netbeans support in vim: yes
checking auto commands support in vim: yes
running build
running build_py
running build_ext
building '_bdb' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
pdb_clone/_bdbmodule.c -o build/temp.linux-x86_64-2.7/pdb_clone/_bdbmodule.o
pdb_clone/_bdbmodule.c:3:20: fatal error: Python.h: No such file or
directory
compilation terminated.
warning: build_ext:
*** Building the _bdb extension failed. ***
running build_scripts
running install_lib
creating /home/free/usr
creating /home/free/usr/lib
creating /home/free/usr/lib/python
creating /home/free/usr/lib/python/pdb_clone
copying build/lib.linux-x86_64-2.7/pdb_clone/bdb.py ->
/home/free/usr/lib/python/pdb_clone
copying build/lib.linux-x86_64-2.7/pdb_clone/__init__.py ->
/home/free/usr/lib/python/pdb_clone
copying build/lib.linux-x86_64-2.7/pdb_clone/pdb.py ->
/home/free/usr/lib/python/pdb_clone
creating /home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/gdb.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/pydb.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/evtloop.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/nt.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/debugger.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/tty.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/simple.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/vim.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/misc.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/__init__.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/gdbmi.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/buffer.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/asyncproc.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/__version__.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/posix.py ->
/home/free/usr/lib/python/clewn
copying build/lib.linux-x86_64-2.7/clewn/netbeans.py ->
/home/free/usr/lib/python/clewn
byte-compiling /home/free/usr/lib/python/pdb_clone/bdb.py to bdb.pyc
byte-compiling /home/free/usr/lib/python/pdb_clone/__init__.py to
__init__.pyc
byte-compiling /home/free/usr/lib/python/pdb_clone/pdb.py to pdb.pyc
byte-compiling /home/free/usr/lib/python/clewn/gdb.py to gdb.pyc
byte-compiling /home/free/usr/lib/python/clewn/pydb.py to pydb.pyc
byte-compiling /home/free/usr/lib/python/clewn/evtloop.py to evtloop.pyc
byte-compiling /home/free/usr/lib/python/clewn/nt.py to nt.pyc
byte-compiling /home/free/usr/lib/python/clewn/debugger.py to debugger.pyc
byte-compiling /home/free/usr/lib/python/clewn/tty.py to tty.pyc
byte-compiling /home/free/usr/lib/python/clewn/simple.py to simple.pyc
byte-compiling /home/free/usr/lib/python/clewn/vim.py to vim.pyc
byte-compiling /home/free/usr/lib/python/clewn/misc.py to misc.pyc
byte-compiling /home/free/usr/lib/python/clewn/__init__.py to __init__.pyc
byte-compiling /home/free/usr/lib/python/clewn/gdbmi.py to gdbmi.pyc
byte-compiling /home/free/usr/lib/python/clewn/buffer.py to buffer.pyc
byte-compiling /home/free/usr/lib/python/clewn/asyncproc.py to asyncproc.pyc
byte-compiling /home/free/usr/lib/python/clewn/__version__.py to
__version__.pyc
byte-compiling /home/free/usr/lib/python/clewn/posix.py to posix.pyc
byte-compiling /home/free/usr/lib/python/clewn/netbeans.py to netbeans.pyc
running install_scripts
creating /home/free/usr/bin
copying build/scripts-2.7/pdb-clone -> /home/free/usr/bin
copying build/scripts-2.7/pyclewn -> /home/free/usr/bin
copying build/scripts-2.7/inferior_tty.py -> /home/free/usr/bin
changing mode of /home/free/usr/bin/pdb-clone to 775
changing mode of /home/free/usr/bin/pyclewn to 775
changing mode of /home/free/usr/bin/inferior_tty.py to 775
running install_data
copying runtime/plugin/pyclewn.vim -> /home/free/.vim/plugin
creating /home/free/.vim/autoload
copying runtime/autoload/pyclewn.vim -> /home/free/.vim/autoload
copying runtime/doc/pyclewn.txt -> /home/free/.vim/doc
creating /home/free/.vim/macros
copying runtime/.pyclewn_keys.simple -> /home/free/.vim/macros
copying runtime/.pyclewn_keys.gdb -> /home/free/.vim/macros
copying runtime/.pyclewn_keys.pdb -> /home/free/.vim/macros
creating /home/free/.vim/syntax
copying runtime/syntax/dbgvar.vim -> /home/free/.vim/syntax
running install_egg_info
Writing /home/free/usr/lib/python/pyclewn-1.10.py2.egg-info
running Vim help tags file generation in /home/free/.vim/doc
It seems that has a error but compiled completed? but how to start pyclewn
? I tried in terminal input pyclewn, it prompted cann't find this command,
so I just executed ./pyclewn --editor=/usr/bin/vim in source code folder
pyclewn-1.10.py2 , but when I switch to execute file directory ,then use
Cfile exeName to load gdb file ,it gives "No such file or directory"
however, I tried first open the .c file , ex. vi main.c,
then :Pyclewn , it gives error: 'pyclewn' cannot
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general