Re: [Discuss-gnuradio] gr-fosphor under pybombs-2

2016-04-05 Thread Sylvain Munaut
Hi,

> I recently updated pybombs to latest version using the git based
> installation command line from the github instructions.  I could not install
> gr-fosphor because it would not configure.
>
> The issue appears to be that the recipe is incomplete.


That's unfortunately kind of expected.

The thing is that depending on your distribution and your hardware
config, the packages to install are different _and_ they're
incompatible/conflicting ... so you can't just install them all.


Cheers,

   Sylvain

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-04-06 Thread ben Gee
reinstalling ubuntu from a fresh build and installing the intel opencl sdk
from the link above worked out really well. i finally got osmocom_fft -F to
work and its beautiful!

thanks for the support!
-b

On Mon, Mar 23, 2015 at 6:08 PM, ben Gee grben...@gmail.com wrote:

 I appreciate the response. Before you wrote back I wanted to try a fresh
 install because i wanted to confirm 100% that there were no conflicting
 packages outside my pybombs environment. After i deleted my main pybombs
 directory i tried to reinstall pybombs, uhd and gnuradio, but now gnuradio
 won't even install, so i'm going to have to hold off on fosphor until i can
 get that issue fixed.

 i've reached out to the discussion board in a new thread for help with
 those issues.

 thanks for your help so far

 On Thu, Mar 19, 2015 at 6:40 PM, Sylvain Munaut 246...@gmail.com wrote:

 Also :

  Next, because i have an intel integrated graphics controller in my
 laptop i
  chose the Intel CPU OpenCL option from the instructions
  i went to the link on the page, but it says that there is no standalone
  OpenCL SDK package anymore and that you have to download the Intel Code
  Builder for OpenCL so i downloaded and installed this:
 
 
 https://software.intel.com/en-us/articles/intel-code-builder-for-opencl-api

 Actually if you read everything they say it's still available for linux :

 https://software.intel.com/en-us/articles/opencl-drivers#ubuntu64



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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-23 Thread ben Gee
I appreciate the response. Before you wrote back I wanted to try a fresh
install because i wanted to confirm 100% that there were no conflicting
packages outside my pybombs environment. After i deleted my main pybombs
directory i tried to reinstall pybombs, uhd and gnuradio, but now gnuradio
won't even install, so i'm going to have to hold off on fosphor until i can
get that issue fixed.

i've reached out to the discussion board in a new thread for help with
those issues.

thanks for your help so far

On Thu, Mar 19, 2015 at 6:40 PM, Sylvain Munaut 246...@gmail.com wrote:

 Also :

  Next, because i have an intel integrated graphics controller in my
 laptop i
  chose the Intel CPU OpenCL option from the instructions
  i went to the link on the page, but it says that there is no standalone
  OpenCL SDK package anymore and that you have to download the Intel Code
  Builder for OpenCL so i downloaded and installed this:
 
 
 https://software.intel.com/en-us/articles/intel-code-builder-for-opencl-api

 Actually if you read everything they say it's still available for linux :

 https://software.intel.com/en-us/articles/opencl-drivers#ubuntu64

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-19 Thread Sylvain Munaut
On Wed, Mar 18, 2015 at 11:47 PM, ben Gee grben...@gmail.com wrote:
 i should also add that the output of ./pyboms list shows that gr-fosphor
 IS installed, output below:

Interesting ...

Are you sure you haven't two install of pybombs with different
prefixes that would mix things up ?

If not, I think pybombs keeps a build log somewhere for the various
installed package, try to find it and pastebin it somewhere.

Cheers,

   Sylvain

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-19 Thread Sylvain Munaut
Also :

 Next, because i have an intel integrated graphics controller in my laptop i
 chose the Intel CPU OpenCL option from the instructions
 i went to the link on the page, but it says that there is no standalone
 OpenCL SDK package anymore and that you have to download the Intel Code
 Builder for OpenCL so i downloaded and installed this:

 https://software.intel.com/en-us/articles/intel-code-builder-for-opencl-api

Actually if you read everything they say it's still available for linux :

https://software.intel.com/en-us/articles/opencl-drivers#ubuntu64

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-19 Thread Sylvain Munaut
 I now run osmocom get this for my output:

 http://pastebin.com/SpWJKwBc

Pastebin :
 - A full listing of all the files in your pybomb install (using find)
 - The complete build logs of gr-fosphor (and no, I have no idea where
to find those, I never used pybombs, but it must put them somewhere)

Cheers,

 Sylvain

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-19 Thread Tom McDermott
My particular video card OpenCL drivers moved where they were installed
between different
versions of Ubuntu. I tracked it down with:

~$ locate libOpenCL.so

  producing...
/usr/lib/i386-linux-gnu/libOpenCL.so.1
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0

So when building gr-fosphor:

cmake ../ -DOPENCL_LIBRARY=/usr/lib/x86_64-linux-gnu/libOpenCL.so


-- Tom, N5EG



On Thu, Mar 19, 2015 at 8:51 AM, ben Gee grben...@gmail.com wrote:

 Sylvain,
 Firstly, there is only one install of pybombs on this machine, so
 definitely no separate install conflicts

 Second, unfortunately, in an effort to start over, i uninstalled
 gr-fosphor and attemted to reinstall it. I'm now getting this opencl error
 now. not sure if this was something i overlooked last time, but i thought
 the build was ok.
 the resources on the internet regarding opencl are somewhat hazy (or at
 least they are to me) and it seems that there are many different options
 for drivers. Can you shed some light on building these with pybombs as a
 dependency for gr-fosphor? Should they be installed system-wide or do they
 have to be installed in the pybombs environment?

 thanks,
 -b

 On Thu, Mar 19, 2015 at 3:22 AM, Sylvain Munaut 246...@gmail.com wrote:

 On Wed, Mar 18, 2015 at 11:47 PM, ben Gee grben...@gmail.com wrote:
  i should also add that the output of ./pyboms list shows that
 gr-fosphor
  IS installed, output below:

 Interesting ...

 Are you sure you haven't two install of pybombs with different
 prefixes that would mix things up ?

 If not, I think pybombs keeps a build log somewhere for the various
 installed package, try to find it and pastebin it somewhere.

 Cheers,

Sylvain



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


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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-19 Thread ben Gee
ok, no progress, but here's what i've done so far. (all as per the
https://sdr.osmocom.org/trac/wiki/fosphor instructions)

sudo apt-get install cmake xorg-dev libglu1-mesa-dev

git clone https://github.com/glfw/glfw
cd glfw
mkdir build
cd build
cmake ../ -DBUILD_SHARED_LIBS=true
make
sudo make install
sudo ldconfig

then, sudo apt-get install opencl-headers

Next, because i have an intel integrated graphics controller in my laptop i
chose the Intel CPU OpenCL option from the instructions
i went to the link on the page, but it says that there is no standalone
OpenCL SDK package anymore and that you have to download the Intel Code
Builder for OpenCL so i downloaded and installed this:

https://software.intel.com/en-us/articles/intel-code-builder-for-opencl-api

after that, (from my pybombs directory) i ran ./pybombs install gr-fosphor
which returns an 'ok' message at the end of the install.
I now run osmocom get this for my output:

http://pastebin.com/SpWJKwBc



On Thu, Mar 19, 2015 at 2:45 PM, Tom McDermott tom.n...@gmail.com wrote:

 My particular video card OpenCL drivers moved where they were installed
 between different
 versions of Ubuntu. I tracked it down with:

 ~$ locate libOpenCL.so

   producing...
 /usr/lib/i386-linux-gnu/libOpenCL.so.1
 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0
 /usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
 /usr/lib/x86_64-linux-gnu/libOpenCL.so
 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0
 /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0

 So when building gr-fosphor:

 cmake ../ -DOPENCL_LIBRARY=/usr/lib/x86_64-linux-gnu/libOpenCL.so


 -- Tom, N5EG



 On Thu, Mar 19, 2015 at 8:51 AM, ben Gee grben...@gmail.com wrote:

 Sylvain,
 Firstly, there is only one install of pybombs on this machine, so
 definitely no separate install conflicts

 Second, unfortunately, in an effort to start over, i uninstalled
 gr-fosphor and attemted to reinstall it. I'm now getting this opencl error
 now. not sure if this was something i overlooked last time, but i thought
 the build was ok.
 the resources on the internet regarding opencl are somewhat hazy (or at
 least they are to me) and it seems that there are many different options
 for drivers. Can you shed some light on building these with pybombs as a
 dependency for gr-fosphor? Should they be installed system-wide or do they
 have to be installed in the pybombs environment?

 thanks,
 -b

 On Thu, Mar 19, 2015 at 3:22 AM, Sylvain Munaut 246...@gmail.com wrote:

 On Wed, Mar 18, 2015 at 11:47 PM, ben Gee grben...@gmail.com wrote:
  i should also add that the output of ./pyboms list shows that
 gr-fosphor
  IS installed, output below:

 Interesting ...

 Are you sure you haven't two install of pybombs with different
 prefixes that would mix things up ?

 If not, I think pybombs keeps a build log somewhere for the various
 installed package, try to find it and pastebin it somewhere.

 Cheers,

Sylvain



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



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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-19 Thread ben Gee
Sylvain,
Firstly, there is only one install of pybombs on this machine, so
definitely no separate install conflicts

Second, unfortunately, in an effort to start over, i uninstalled gr-fosphor
and attemted to reinstall it. I'm now getting this opencl error now. not
sure if this was something i overlooked last time, but i thought the build
was ok.
the resources on the internet regarding opencl are somewhat hazy (or at
least they are to me) and it seems that there are many different options
for drivers. Can you shed some light on building these with pybombs as a
dependency for gr-fosphor? Should they be installed system-wide or do they
have to be installed in the pybombs environment?

thanks,
-b

On Thu, Mar 19, 2015 at 3:22 AM, Sylvain Munaut 246...@gmail.com wrote:

 On Wed, Mar 18, 2015 at 11:47 PM, ben Gee grben...@gmail.com wrote:
  i should also add that the output of ./pyboms list shows that
 gr-fosphor
  IS installed, output below:

 Interesting ...

 Are you sure you haven't two install of pybombs with different
 prefixes that would mix things up ?

 If not, I think pybombs keeps a build log somewhere for the various
 installed package, try to find it and pastebin it somewhere.

 Cheers,

Sylvain

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-19 Thread Sylvain Munaut
 Can you shed some light on building these with pybombs as a
 dependency for gr-fosphor? Should they be installed system-wide or do they
 have to be installed in the pybombs environment?

The whole OpenCL SDK (headers / libs / drivers) must be installed
outside of pybombs, at the system level and before you try to build
gr-fosphor.

See the OpenCL notes on https://sdr.osmocom.org/trac/wiki/fosphor


Cheers,

   Sylvain

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-18 Thread ben Gee
i should also add that the output of ./pyboms list shows that gr-fosphor
IS installed, output below:


Loading recipes ...
Printing recipe status list:
{'pseudo': ['all'], 'common': ['airprobe', 'airspy', 'bladeRF', 'fecapi',
'glfw3', 'gnss-sdr', 'gnuradio', 'gqrx', 'gqrx-digital', 'gr-air-modes',
'gr-ais', 'gr-as', 'gr-baz', 'gr-benchmark', 'gr-bluetooth', 'gr-compat',
'gr-drm', 'gr-dsd', 'gr-dvbs2', 'gr-dvbt', 'gr-dvbt2', 'gr-elster',
'gr-ettus', 'gr-eventstream', 'gr-extras', 'gr-fcdproplus', 'gr-fosphor',
'gr-gsm', 'gr-ham', 'gr-ieee-80211', 'gr-ieee-802154', 'gr-iqbal',
'gr-ldpc', 'gr-lte', 'gr-mediatools', 'gr-mtb', 'gr-multimon', 'gr-op25',
'gr-osmosdr', 'gr-packetradio', 'gr-pcap', 'gr-pocsag', 'gr-pyqt',
'gr-radar', 'gr-rds', 'gr-smartnet', 'gr-smithchart', 'gr-specest',
'gr-tagutils', 'gr-theano', 'gr-tutorial', 'gr-zmqblocks', 'hackrf', 'kal',
'libbtbb', 'libosmo-dsp', 'libosmocore', 'mbelib', 'niusprio', 'openlte',
'osmo-sdr', 'osmo-tetra', 'pmc', 'pocsag-mrt', 'pysstv', 'rtl-sdr',
'simple_radio_astronomy', 'theron', 'uhd', 'wireshark'], 'baseline':
['alsa', 'apr', 'aprutil', 'armadillo', 'atk', 'autoconf', 'automake',
'bison', 'blas', 'boost', 'cairo', 'cheetah', 'cmake', 'cppunit', 'curl',
'db48', 'expat', 'faac', 'faad', 'ffi', 'fftw', 'flex', 'fontconfig',
'freetype', 'gcc', 'gdk-pixbuf', 'gflags', 'gfortran', 'git', 'glib',
'glog', 'gmp', 'gobject-introspection', 'gperftools', 'graphviz', 'gsl',
'gtest', 'gtk2', 'ice', 'lapack', 'libav', 'libbzip', 'libhidapi',
'libitpp', 'libjpeg', 'liblog4cpp', 'libpcap', 'libpng', 'libpolarssl',
'libshout', 'libsndfile', 'libtiff', 'libtool', 'libusb', 'libxml',
'libxslt', 'log4cxx', 'lxml', 'make', 'mcpp', 'mpc', 'mpfr', 'numpy',
'pango', 'perl', 'pixman', 'pulseaudio', 'pycairo', 'pygobject', 'pygtk',
'pyqt4', 'pyqt4-dev-tools', 'pyqwt5', 'python', 'python-scapy',
'python-zmq', 'qt4', 'qwt5', 'scipy', 'setuptools', 'sip', 'ssl',
'subversion', 'swig', 'tornado', 'wget', 'wxpython', 'x11', 'zeromq']}
Category: baseline
 alsainstalleddeb
  aprNone
  aprutilNone
armadilloNone
  atkinstalleddeb
 autoconfinstalleddeb
 automakeinstalleddeb
bisonNone
 blasNone
boostinstalleddeb
cairoinstalleddeb
  cheetahinstalleddeb
cmakeinstalleddeb
  cppunitinstalleddeb
 curlinstalleddeb
 db48None
expatinstalleddeb
 faacNone
 faadNone
  ffiinstalleddeb
 fftwinstalleddeb
 flexinstalleddeb
   fontconfiginstalleddeb
 freetypeinstalleddeb
  gccinstalleddeb
   gdk-pixbufinstalleddeb
   gflagsNone
 gfortraninstalleddeb
  gitinstalleddeb
 glibinstalleddeb
 glogNone
  gmpinstalleddeb
gobject-introspectionNone
   gperftoolsNone
 graphvizNone
  gslinstalleddeb
gtestNone
 gtk2installeddeb
  iceNone
   lapackinstalleddeb
libavNone
  libbzipinstalleddeb
libhidapiNone
  libitppNone
  libjpeginstalleddeb
   liblog4cppNone
  libpcapNone
   libpnginstalleddeb
  libpolarsslinstalleddeb
 libshoutNone
   libsndfileNone
  libtiffinstalleddeb
  libtoolinstalleddeb
   libusbinstalleddeb
   libxmlinstalleddeb
  libxsltNone
  log4cxxNone
 lxmlinstalleddeb
 makeinstalleddeb
 mcpp 

Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-18 Thread ben Gee
sorry for the late reply, was away from this lab. no that directory dose
not exist

thanks,
-b

On Wed, Mar 4, 2015 at 2:44 AM, Sylvain Munaut 246...@gmail.com wrote:

 Hi,


  ImportError: cannot import name fosphor

 Does /home/cnlsdr1/pybombs/lib/python2.7/dist-packages/gnuradio/fosphor
 exist ?


 Cheers,

 Sylvain

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


Re: [Discuss-gnuradio] gr-fosphor with pybombs

2015-03-03 Thread Sylvain Munaut
Hi,


 ImportError: cannot import name fosphor

Does /home/cnlsdr1/pybombs/lib/python2.7/dist-packages/gnuradio/fosphor exist ?


Cheers,

Sylvain

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