Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Sep 2014, 21:49
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
build blocks installation as root?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
edoc


Joined: 07 Aug 2005
Posts: 4368
Location: Southeast Georgia, USA

PostPosted: Fri 01 Feb 2013, 16:40    Post subject:  build blocks installation as root?  

I am trying to install gnuradio but when I run
Code:
./build-gnuradio
in Console it objects to being in root - the default for Puppy.

I started here:

Code:
wget http://www.sbrac.org/files/build-gnuradio


Is there a way to get around this in Console, please?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 3883
Location: World_Hub

PostPosted: Fri 01 Feb 2013, 17:19    Post subject:  

Wild guess here.. couldn't you just comment this block?
Code:
if [ $USER = root -o $UID -eq 0 ]
then
   echo Please run this script as an ordinary user
   echo   it will acquire root privileges as it needs them via \"sudo\".
   exit
fi

If it still complains, then probably something with: $UID -eq 0

I'm sure there's someone here who knows a workaround..

Hmm.. don't know if Pup would honor this?

You'd need a few pkgs to try..
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4368
Location: Southeast Georgia, USA

PostPosted: Fri 01 Feb 2013, 17:42    Post subject:  

Commenting-out that section of code got me past the error but then I got one saying there was insufficient space.

It identifies the insufficient space as disk space vs RAM but there's plenty of HDD space.

I tried moving the build-gnuradio from /root to /mnt/home/gnuradio and that made no difference.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 3883
Location: World_Hub

PostPosted: Fri 01 Feb 2013, 17:44    Post subject:  

Yeah, build and those things need lots of room. How much *system* space you got?
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4368
Location: Southeast Georgia, USA

PostPosted: Fri 01 Feb 2013, 18:07    Post subject:  

gparted says I have:

2.10 GiB on /dev/sda1 ntfs

5.43 GiB on /dev/sda2 ext3 /initrd/mnt/dev_save

I can free up more on /sda2 but does it really need that much?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 3883
Location: World_Hub

PostPosted: Fri 01 Feb 2013, 20:12    Post subject:  

I can't find any specifics, but it sure appears there's a whole lot go'n on during that build.. Jury's out.

FYI- when ya need to ref disk space, this cmd'll give ya a quicker idea than GParted: df -h <wink>
Code:
Filesystem            Size  Used Avail Use% Mounted on
rootfs                1.4G  1.2G  192M  87% /

As far as build- it's the free space / has..

PS- "GNU Radio build script blocks installation as root" Wink
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4368
Location: Southeast Georgia, USA

PostPosted: Fri 01 Feb 2013, 21:28    Post subject:  

Quote:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 30G 19G 11G 65% /initrd/mnt/dev_save
/dev/loop1 504M 254M 251M 51% /initrd/pup_rw
/dev/loop0 149M 149M 0 100% /initrd/pup_ro2
/dev/loop4 159M 159M 0 100% /initrd/pup_ro4
/dev/loop5 97M 97M 0 100% /initrd/pup_ro5
/dev/loop6 39M 39M 0 100% /initrd/pup_ro6
unionfs 504M 254M 251M 51% /
tmpfs 314M 360K 314M 1% /tmp
shmfs 306M 0 306M 0% /dev/shm
#

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 3883
Location: World_Hub

PostPosted: Fri 01 Feb 2013, 21:49    Post subject:  

YOU- should probably install the binary. Several *hints* lead me to believe so..
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4368
Location: Southeast Georgia, USA

PostPosted: Fri 01 Feb 2013, 22:20    Post subject:  

You have no idea how many times over the past many years I have tried to install apps not specifically built for Puppy.

It never works and always makes a mess ... usually either because someone forgot to tell me a minor step, which they assumed I knew, or because I missed something obvious - or not so obvious. Sigh.

I probably have 5 or more projects on hold because I cannot get apps to play nicely with Puppy ...

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Semme

Joined: 07 Aug 2011
Posts: 3883
Location: World_Hub

PostPosted: Sat 02 Feb 2013, 08:14    Post subject:  

I also find Pups build environment dated and lacking. Isn't gnuradio_3.2.2 in Dpups pacman?

My advice? If you wanna run up to date apps, choose a distro that prides itself current..
Quote:
Seeing this feast of wonderful code spread in front of me as a working system was a much more powerful experience than merely knowing, intellectually, that all the bits were probably out there. It was as though for years I’d been sorting through piles of disconnected car parts - only to be suddenly confronted with those same parts assembled into a gleaming red Ferrari, door open, keys swinging from the lock and engine gently purring with a promise of power…

— Eric S. Raymond

Doc- really.. if you have some experience, why not run something like Frugalware?
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4368
Location: Southeast Georgia, USA

PostPosted: Sat 02 Feb 2013, 15:48    Post subject:  

I have Exprimo running on 2 Netbooks and 5 laptops in the family and would rather not have to keep track of the peculiarities of more than one distro.

Exprimo has bridged the gap from older Panasonic Toughbooks (CF-28 & CF-29), to a MSI Netbook, a Z500 Laptop, a Samsung NB30 Netbook, and several year old Acers and Dell.

I have been watching Precise but think that may be optimized for newer computers.

I read elsewhere that SDR-RTL support may be in the newer Kernel -- still don't know if build-gnuradio will be OK there or if someone familiar with Puppy may need to tweak it some.

Always a complication that holds things up ...

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0645s ][ Queries: 11 (0.0047s) ][ GZIP on ]