Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files

2015-07-02 Thread Handy Kirk
I am slowly getting to know the 'pybombs' handling I think, lot of guessing and 
trail and error.  I have started to troubleshoot each problem in order, first 
one is failing install of 'cmake', I have tested a number of versions but each 
have same problem in PCLinuxOS KDE64. Build fails at approx 96%, I find main 
error is 

[ 96%] Building CXX object Source/CMakeFiles/cpack.dir/CPack/cpack.cxx.o
/usr/bin/ld: CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o: undefined 
reference to symbol 'cbreak'
/lib64/libtinfo.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


Question Dynamic Shared Object missing from what command line and which object?

I need a pointer and will follow up if I can

handy.



The reason for Python 2.6.4 install I believe seems to be from python.lwr, took 
me a while to find it::
depends: wget
category: baseline
satisfy_deb: (python2.7 || python2.6)  python-dev
satisfy_rpm: (python-devel = 2.6)  (python-devel = 2.8)
source: wget://http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2   
--- src option
var config_opt = --enable-shared
inherit: autoconf
  From: Tom Rondeau t...@trondeau.com
 To: Handy Kirk handy2...@yahoo.com.au 
Cc: discuss-gnuradio@gnu.org discuss-gnuradio@gnu.org 
 Sent: Monday, 22 June 2015, 22:10
 Subject: Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files
  

I have cropped below so just a reminder left of the question raised about 
Python 2.6.4 ---  handy
 
On Sun, Jun 21, 2015 at 11:57 PM, Handy Kirk handy2...@yahoo.com.au wrote:

Thank you for replying Tom,

Installing from source: python
--2015-06-11 18:43:40-- 
http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2
Resolving www.python.org (www.python.org)... 103.245.222.223
Connecting to www.python.org (www.python.org)|103.245.222.223|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2 
[following]
--2015-06-11 18:43:41-- 
https://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2
Connecting to www.python.org (www.python.org)|103.245.222.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11249486 (11M) [application/octet-stream]
Saving to: ‘Python-2.6.4.tar.bz2’

Python-2.6.4.tar.bz2 100%[===] 10.73M 256KB/s in 
43s 




That's very strange behavior to install Python 2.6. The dependency tree must 
have identified that for some other package it was installing. This is, of 
course, the problem with trying to use a general build overlay system like 
PyBOMBS on top of the OS's package manager: there are so many of these distros 
out there and they all behave differently.


Tom


   



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


Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files

2015-06-26 Thread Handy Kirk
Have now installed a new KDE64 in a new partition. When installing using src 
only option, the install insists on fetching Python 2.6.  No change from my 
earlier testing.

Then I decided to explore using rpm,src option, as I wanted to see if this 
would attempt to search the installation database to find acceptable file 
versions.

I am just showing a snippet from the python install, the local rpm ignored 
...
* gnuradio
install rpm called (python)
rpm is not available locally    ---  = :: how is this 
tested

-
Here is the details of the locally installed python
[root@localhost gert]# rpm -qa python
python-2.7.9-1pclos2015
[root@localhost gert]# 

-

check remote repositories...
Installing from source: python
--2015-06-26 15:04:48-- 
http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2
Resolving www.python.org (www.python.org)... 103.245.222.223I have now got anew 
KDE64 PCLinuxOS installation to work with. I have experimented with several 
installs and got a bit more understanding of how I the ink it must be working.
.

As it can be seen the python will be found from external location.

Question:  Where is the determination made that local rpm not good enough.  Is 
this in the file: /sandbox-3/pybombs/mod_pybombs/sysutils.py?

-

handy

That's very strange behavior to install Python 2.6. The dependency tree must 
have identified that for some other package it was installing. This is, of 
course, the problem with trying to use a general build overlay system like 
PyBOMBS on top of the OS's package manager: there are so many of these distros 
out there and they all behave differently.


Tom




   



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


Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files

2015-06-22 Thread Handy Kirk

  From: Tom Rondeau t...@trondeau.com
 To: Handy Kirk handy2...@yahoo.com.au 
Cc: discuss-gnuradio@gnu.org discuss-gnuradio@gnu.org 
 Sent: Monday, 22 June 2015, 22:10
 Subject: Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files
   

That's very strange behavior to install Python 2.6. The dependency tree must 
have identified that for some other package it was installing. This is, of 
course, the problem with trying to use a general build overlay system like 
PyBOMBS on top of the OS's package manager: there are so many of these distros 
out there and they all behave differently.


Tom
-
PyBOMBS GNU Radio Build Quick Start¶You can opt to just use the source, 'src', 
install and build everything from source.
I selected to install from src only, my interpretation of above is that this 
would bypass PCLinuxOS already installed files even if they were acceptable for 
use in PyBOMBS (of course taking extra time) is this correct?
Or is that only part true?
PCLinuxOS is rpm/Synaptic based, I have also tried install with options: 
rpm,src but that failed in grander style so I soon changed to src only as a 
safer starting point.
In the next day or two I will have new partition installed with fresh KDE64 
install and try again. I have the liveDVD part installed but need a bit 1 GB 
update to bring it to todays date should be done the coming day with PyBOMBS 
attempt 1 day later.
h.





   



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


Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files

2015-06-21 Thread Handy Kirk
Thank you for replying Tom,
I seem to be struggling to get my replies to reach the 
discuss-gnuradio@gnu.org but this time I think and hope for the best. 

1.. You guessed right about PCLinuxOS, I do want to use that, been a user for 
about 10 years, but as far as compiling I have very little experience. I 
understand the principle but when it comes down to details it is a struggle. I 
try to stay away unless I get really enthusiastic.  Gnuradio too fascinating so 
by hook or by crook I will try something and experiment.

2.. I did not realise that Python 2.6 is outdated, but your mention made me 
check this laptos current version and it is (this just confirming that this 
PCLinuxOS version is also using later version than 2.6):

[gert@KDE64-tecra-A11 ~]$ python -V
Python 2.7.9
[gert@KDE64-tecra-A11 ~]$ 

Also I can confirm that by inspection in my sandbox I see Python 2.6.4 


3.. I mentioned I had a record of my attempts to use pybombs, and it seems very 
early in my experience I have had no trouble with Python installing from 
source. The Python 2.6 is instatlled by pybombs install, here is the section:



Installing from source: python
--2015-06-11 18:43:40-- 
http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2
Resolving www.python.org (www.python.org)... 103.245.222.223
Connecting to www.python.org (www.python.org)|103.245.222.223|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2 
[following]
--2015-06-11 18:43:41-- 
https://www.python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2
Connecting to www.python.org (www.python.org)|103.245.222.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11249486 (11M) [application/octet-stream]
Saving to: ‘Python-2.6.4.tar.bz2’

Python-2.6.4.tar.bz2 100%[===] 10.73M 256KB/s in 
43s 

2015-06-11 18:44:24 (256 KB/s) - ‘Python-2.6.4.tar.bz2’ saved 
[11249486/11249486]

Extract Python-2.6.4.tar.bz2

 ./configure --prefix=/home/gert/gr-sandbox/target --enable-shared CC=gcc 
CXX=g++

Configuring: (100%) [==]
Building: (100%) [==]

 make install

Installing: (100%) [===]
installation ok via: src

-

My understanding is that installing from source means that an acceptable 
version of a required program is located somewhere on the net and installed. 

Does that not mean in this case that pybombs want Python 2.6.4? Further my 
interpretation in above is that a version has been retrieved from 
www.python.org? 

Does this mean that my PCLinuxOS version somehow has a say in what Python 
version is acceptable to pybombs? 
I think I will see if I can set up a completely new partition with KDE64 and 
start all over again.

Handy 

  From: Tom Rondeau t...@trondeau.com
 To: Handy Kirk handy2...@yahoo.com.au 
Cc: discuss-gnuradio@gnu.org discuss-gnuradio@gnu.org 
 Sent: Friday, 19 June 2015, 23:22
 Subject: Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files
   


On Fri, Jun 19, 2015 at 1:58 AM, Handy Kirk handy2...@yahoo.com.au wrote:




After a lot of work, I am a beginner concerning gnuradio, only an average linux 
user concentration on PCLinuxOS, now have an awfull lot of files installed in 
my sandbox.  I have had many goes at installing 'pybombs' and I think I have an 
understanding of the concept of installing from source.
What really knocked me about was a very precise position during the process the 
file 'boost'  would terminate the process without any error message that I 
could find. The lack of finding the reason/errors probably because I know very 
little about compiling details.

What came to my rescue was during one attempt the 'boost' download/install 
process became atrocciously slow but at the same time I could see it was trying 
to connect to my usual mirror (internode in Australia). I gave up but then a 
day of two later boots installed and the process could continue. (A resh 
install).

Ufotunately I encounterd more files where the process simply was terminated 
with the command prompt but also reason quite clear, such as source not 
found.. Others it was not so clear to me, so I decided to continue anyway as 
some files by inspection in src seemed to indicate that a lot of data had been 
downloaded. (when failures occurred after untarring)

I edited the config.dat and just kept telling the process that the programs 
were installed. This way I arrived at the end, with 'gnuradio' beeing the last 
file to be installed.
I had in mind to test the ./pybombs update expecting this to clearly tell me 
that a file would be missing.  That did not happen.

I just got a long list of files with True at the end




I have a record of my attempted install

[Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files

2015-06-18 Thread Handy Kirk

After a lot of work, I am a beginner concerning gnuradio, only an average linux 
user concentration on PCLinuxOS, now have an awfull lot of files installed in 
my sandbox.  I have had many goes at installing 'pybombs' and I think I have an 
understanding of the concept of installing from source.
What really knocked me about was a very precise position during the process the 
file 'boost'  would terminate the process without any error message that I 
could find. The lack of finding the reason/errors probably because I know very 
little about compiling details.

What came to my rescue was during one attempt the 'boost' download/install 
process became atrocciously slow but at the same time I could see it was trying 
to connect to my usual mirror (internode in Australia). I gave up but then a 
day of two later boots installed and the process could continue. (A resh 
install).

Ufotunately I encounterd more files where the process simply was terminated 
with the command prompt but also reason quite clear, such as source not 
found.. Others it was not so clear to me, so I decided to continue anyway as 
some files by inspection in src seemed to indicate that a lot of data had been 
downloaded. (when failures occurred after untarring)

I edited the config.dat and just kept telling the process that the programs 
were installed. This way I arrived at the end, with 'gnuradio' beeing the last 
file to be installed.
I had in mind to test the ./pybombs update expecting this to clearly tell me 
that a file would be missing.  That did not happen.

I just got a long list of files with True at the end




I have a record of my attempted install in chronological order. 
Here is my first met really failing proces:



alsa Connecting to ftp.alsa-project.org 
(ftp.alsa-project.org)|77.48.224.243|:21... connected.
/usr/bin/ld: cannot find -lpython2.6
collect2: error: ld returned 1 exit status
make[3]: *** [smixer-python.la] Error 1
make[3]: Leaving directory 
`/home/gert/gr-sandbox/pybombs/src/alsa/modules/mixer/simple'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/gert/gr-sandbox/pybombs/src/alsa/modules/mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gert/gr-sandbox/pybombs/src/alsa/modules'
make: *** [all-recursive] Error 1
Build failed. See output above for error messages.
[gert@KDE64-tecra-A11 pybombs]$ 
--

What is this telling me, is there a fix I can apply.



h.
                                     



   

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


[Discuss-gnuradio] Attempting gnuradio build on PCLinuxOS64 - fails

2015-06-14 Thread Handy Kirk
This is my first posting to the mailing list, my apology for it being a bit on 
the long side and yet perhaps short of vital information. Despite the length my 
understanding is that for somebody with more experience than I will have no 
trouble just skimming through and pick up some vital clues that is lost on me.  
 
Compiling is not my strong side and I am a beginner as far as details on 
getting gnuradio working to any extent.  The distrobution does have a 
gnuradio-3.6.4 available and I have practiced getting to know gnuradio 
companion.

I got interested in a more ambitious attempt to get gqrx running and figured 
that a 'pybombs' instance would be worth trying, the attraction of the recipes 
was to enticing. I realised eventually that 'pybombs' has troubles of sorts 
when using it in PCLinuxOS. From what I can see the process runs but and 
eventually returns to command prompt after what I have figured, installed 3 and 
a bit programs.
The configurations stage I believe I survived by choosing almost default, exept 
I have selected from: src only because of using another linux than the ones 
'pybombs' are built on?? Then the following happens:

[gert@KDE64-tecra-A11 pybombs]$ ./pybombs install gnuradio
Settled on prefix: /home/gert/gr-sandbox/target
Initializing environmental variables...
no existing inventory found, creating an empty one...
value updated
False
None
Loading recipes ...
/home/gert/gr-sandbox/target
Installing packages:
* make
* python
* libbzip
* boost

* fftw
* cppunit
* swig
* gsl
* libusb
* numpy
* uhd
* alsa
* glib
* libtiff
* libpng
* libjpeg
* gdk-pixbuf
* atk
* freetype
* fontconfig
* pixman
* x11
* cairo
* pango
* gtk2
* wxpython
* pygobject
* pygtk
* pycairo
* sip
* qt4
* pyqt4
* qwt5
* pyqwt5
* gnuradio
I have only shown this section which raises questions in my mind that perhaps I 
don't understand what is happening.
1.. From above I understand that I have set up my 'sandbox' from the 'sandbox' 
calling for gnuradio to be installed. As the process gets under way I am given 
a bonus in the form of the 'recipes' being installed, saving me the step to 
load them later.
2.. A considerable list of programs that will be installed.  The first 3 
programs are installed, I have seen them in the 'sandbox' instance again and 
again (have tried quite a number of variations such as deb,src and rpm,src (as 
for some other non gr programs I have had success). The fourth program 'boost' 
seems to get under way but then program returns to command program with no 
error messages. As follows:
-
Installing from source: boost
--2015-06-10 19:14:52-- 
http://downloads.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net 
(downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: 
http://internode.dl.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2
 [following]
--2015-06-10 19:14:52-- 
http://internode.dl.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2
Resolving internode.dl.sourceforge.net (internode.dl.sourceforge.net)... 
150.101.135.12
Connecting to internode.dl.sourceforge.net 
(internode.dl.sourceforge.net)|150.101.135.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55765258 (53M) [application/octet-stream]
Saving to: ‘boost_1_53_0.tar.bz2’

boost_1_53_0.tar.bz2 
100%[==] 53.18M 253KB/s in 
3m 36s 

2015-06-10 19:18:29 (252 KB/s) - ‘boost_1_53_0.tar.bz2’ saved 
[55765258/55765258]

Extract boost_1_53_0.tar.bz2

 ./bootstrap.sh --prefix=/home/gert/gr-sandbox/target 
--libdir=/home/gert/gr-sandbox/target/lib/

Configuring: (100%) [==]

 ./bjam --threading=multi --layout=tagged link=shared -j4 install

Installing: (100%) [===]
[gert@KDE64-tecra-A11 pybombs]$
---
My knowledge about compile behaviour does not reach into this ending but I was 
expecting 'more' to happen.  I think I can say that 'boost' does not get 
installed as it does not show up in the 'sandbox' as one of the installed 
programs.
4.. Am I correct that one way or another the list of pragrams above I could 
have expected to be installed?
I have recorded quite a bit of my attempted installs from terminal operation. 
I have just managed to download the Ubuntu liveDVD and am trying to get to know 
a bit about Ubuntu as well as the content but my aim is to get a working 
PCLinuxOS system.

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