| Author |
Message |
edoc

Joined: 07 Aug 2005 Posts: 3937 Location: Southeast Georgia, USA
|
Posted: Fri 01 Feb 2013, 16:40 Post subject:
build blocks installation as root? |
|
I am trying to install gnuradio but when I run 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
Multiple computers - currently running Puppy Exprimo ver. 5x15
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2027 Location: World_Hub
|
Posted: 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
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 3937 Location: Southeast Georgia, USA
|
Posted: 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
Multiple computers - currently running Puppy Exprimo ver. 5x15
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2027 Location: World_Hub
|
Posted: 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
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 3937 Location: Southeast Georgia, USA
|
Posted: 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
Multiple computers - currently running Puppy Exprimo ver. 5x15
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2027 Location: World_Hub
|
Posted: 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"
|
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 3937 Location: Southeast Georgia, USA
|
Posted: 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
Multiple computers - currently running Puppy Exprimo ver. 5x15
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2027 Location: World_Hub
|
Posted: Fri 01 Feb 2013, 21:49 Post subject:
|
|
YOU- should probably install the binary. Several *hints* lead me to believe so..
|
|
Back to top
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 3937 Location: Southeast Georgia, USA
|
Posted: 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
Multiple computers - currently running Puppy Exprimo ver. 5x15
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2027 Location: World_Hub
|
Posted: 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
|
|
 |
edoc

Joined: 07 Aug 2005 Posts: 3937 Location: Southeast Georgia, USA
|
Posted: 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
Multiple computers - currently running Puppy Exprimo ver. 5x15
|
|
Back to top
|
|
 |
|