discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Fw: pybombs-gnuradio-install-missing files
Date: Mon, 22 Jun 2015 08:10:15 -0400

On Sun, Jun 21, 2015 at 11:57 PM, Handy Kirk <address@hidden> wrote:
Thank you for replying Tom,

I seem to be struggling to get my replies to reach the "address@hidden" 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):

address@hidden ~]$ python -V
Python 2.7.9
address@hidden ~]$

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 


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


 

From: Tom Rondeau <address@hidden>
To: Handy Kirk <address@hidden>
Cc: "address@hidden" <address@hidden>
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 <address@hidden> 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 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.
address@hidden pybombs]$

------

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




h.


This really seems like an issue with your connection and/or the OS you're using. The call to Python 2.6 is particularly strange -- no Linux distro for the past few years should be shipping with 2.6.

Why did you choose PCLinuxOS? Are you more familiar with that or using it for another purpose? If you're not but fairly new to Linux in general, I'd suggest using Ubuntu of Fedora, which are used by many more people and have much more support.

Tom






reply via email to

[Prev in Thread] Current Thread [Next in Thread]