Hello GR,

Lately I have installed GNU radio on my local session running on a remote
Server.
Actually I proceeded as mentioned in the gnu radio git installation guide
The environment variables are set respectively to 

$PATH:...... /users/nae/gnuradio_3.6.5/bin/
$PYTHONPATH: /users/nae/gnuradio_3.6.5/lib64/python2.6/site-packages/

(stored into the ~/.bashrc file)

However I am not sure what to set next re LD_LIBRARY_PATH and make using
CPPFLAGS as in the guide

I am using a limited access session on the server and don't know how to set
the variables nor how to proceed the following make command of make ...

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/lib
$ make CPPFLAGS="-I$HOME/local/include"

1/ When I type gnuradio-companion from the terminal it give the error:

Traceback (most recent call last):
  File "/users/nae/gnuradio_3.6.5/bin/gnuradio-companion", line 24, in
<module>
    import gtk
  File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line
64, in <module>
    _init()
  File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line
52, in _init
    _gtk.init_check()
RuntimeError: could not open display

2/ When I run gnuradio-companion graphically from its icon in
/home/gnuradio_3.6.5/bin it gives the error:

Cannot import gnuradio.

Is the python path environment variable set correctly?
        All OS: PYTHONPATH

Is the library path environment variable set correctly?
        Linux: LD_LIBRARY_PATH
        Windows: PATH
        MacOSX: DYLD_LIBRARY_PATH

Any help is appreciated.

Regards,




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Problem-running-GNU-Radio-3-6-5-under-Centos-on-X2Go-Client-tp45727.html
Sent from the GnuRadio mailing list archive at Nabble.com.

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to