LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2014, 05:42 PM   #1
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Rep: Reputation: 0
Install GCC binaries and then screen on unknown distro


Hello, I have a pre-configured linux distro on a raspberry pi (used for a bitcoin miner)
My target is to install screen so I can run cgminer on it and then ssh out and keep it running.
I downloaded the tarball, ran tar -xzvf screen-4.0.3.tar.gz , but when I run ./configure I get
Code:
root@raspberrypi:~/screen-4.0.3# ./configure
this is screen version 4.0.3
checking for prefix by checking for screen... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I can't tell which distro it is, no welcome message when I log on or something.
The only thing I could find:
Code:
root@raspberrypi:~# cat /etc/issue
Poky 9.0.3 (Yocto Project 1.4.3 Reference Distro) 1.4.3 \n \l
can someone help?
 
Old 03-22-2014, 05:23 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
http://www.yoctoproject.org -> http://www.yoctoproject.org/tools-resources/projects/poky ?
 
Old 03-23-2014, 09:08 AM   #3
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
That link doesn't help me much.. Yes I have looked through the yocto webpages, wiki and such, but I could not find any useful information on a yocto software repository, or how to install other software.
 
Old 03-23-2014, 10:47 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
cat /etc/opkg/*.conf; opkg update; opkg list|grep whatever*; opkg install whatever_package
 
Old 03-23-2014, 02:35 PM   #5
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
Code:
root@raspberrypi:~# cat /etc/opkg/*.conf
cat: can't open '/etc/opkg/*.conf': No such file or directory
Code:
root@raspberrypi:~# ls /etc/
busybox.links                inputrc                      rc0.d                        services
default                      issue                        rc1.d                        shells
device_table                 issue.net                    rc2.d                        skel
dropbear                     ld.so.cache                  rc3.d                        sysctl.conf
filesystems                  ld.so.conf                   rc4.d                        syslog-startup.conf
fstab                        motd                         rc5.d                        syslog-startup.conf.busybox
group                        mtab                         rc6.d                        terminfo
host.conf                    network                      rcS.d                        timestamp
hostname                     nsswitch.conf                resolv.conf                  udev
hosts                        passwd                       rpc                          udhcpc.d
init.d                       profile                      rpm                          version
inittab                      protocols                    rpm-postinsts                volatile.cache
Code:
root@raspberrypi:~# opkg
-sh: opkg: not found
 
Old 03-23-2014, 06:07 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
which ipkg opkg
 
Old 03-24-2014, 05:24 AM   #7
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn View Post
which ipkg opkg
Does not return anything. Thanks for helping BTW
 
Old 03-25-2014, 03:27 PM   #8
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
bump
 
Old 03-28-2014, 02:40 PM   #9
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
bump
 
Old 05-25-2014, 10:26 AM   #10
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
bump
 
Old 05-25-2014, 10:30 AM   #11
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
Code:
root@raspberrypi:~# ls /bin
addgroup             fgrep                ping6
adduser              grep                 ps
ash                  gunzip               pwd
busybox              gzip                 rm
cat                  hostname             rmdir
chattr               ip                   sed
chgrp                kill                 sh
chmod                ln                   sleep
chown                login                stty
cp                   ls                   su
cpio                 mkdir                sync
date                 mknod                tar
dd                   mktemp               tinylogin
delgroup             more                 touch
deluser              mount                true
df                   mountpoint           umount
dmesg                mountpoint.sysvinit  uname
dnsdomainname        mv                   usleep
dumpkmap             netstat              vi
echo                 pidof                zcat
egrep                pidof.sysvinit
false                ping
 
Old 05-25-2014, 10:36 AM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Which distribution are you running?
If the answer is "I don't know" then what information is it you want to give to John Q Random and why?
 
Old 05-25-2014, 10:52 AM   #13
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 273 View Post
Which distribution are you running?
If the answer is "I don't know" then what information is it you want to give to John Q Random and why?
Code:
root@raspberrypi:~# cat /etc/issue
Poky 9.0.3 (Yocto Project 1.4.3 Reference Distro) 1.4.3 \n \l
 
Old 05-25-2014, 11:16 AM   #14
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I have to say I have no idea how to use Yocto. As far as I can see it seems to be a framework for installing Linux on embedded systems which includes the Pi. Unless you're using Yocto for a specific reason I'd suggest installing Raspbian so you can just "apt-get install screen" and, if you're running Jessie (currently testing, will be Stable) just "apt-get install cgminer" also.
 
Old 05-25-2014, 11:36 AM   #15
bomberb17
Member
 
Registered: Jul 2005
Posts: 71

Original Poster
Rep: Reputation: 0
I have tried using debian and porting the whole miner thing to it, but for some reason cgminer starts producing many errors after a few minutes and eventually it crashes:
Code:
 cgminer version 4.3.2 - Started: [2014-05-24 20:27:45]
--------------------------------------------------------------------------------
 (5s):47.49G (1m):391.3G (5m):385.4G (15m):192.6G (avg):562.8Gh/s
 A:55440  R:128  HW:670  WU:7826.1/m
 Connected to uk1.ghash.io diff 256 with stratum as user vr4dude316.hashitup
 Block: 5c15d060...  Diff:10.5G  Started: [20:32:32]  Best share: 9.59K
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
 0: BA1 0       :   0: 8/246              | 5.243G / 168.2Gh/s WU:2340.3/m
 1: BA1 1       :   1: 8/249              | 6.055G / 188.1Gh/s WU:2639.8/m
 2: BA1 2       :   2: 8/254              | 46.59G / 206.1Gh/s WU:2846.0/m
--------------------------------------------------------------------------------
 [2014-05-24 20:34:10] 0: cmd_READ_RESULT_BCAST failed
 [2014-05-24 20:34:10] 1: cmd_READ_RESULT_BCAST failed
 [2014-05-24 20:34:10] 0: cmd_READ_RESULT_BCAST failed
 [2014-05-24 20:34:10] 1: cmd_READ_RESULT_BCAST failed
 [2014-05-24 20:34:10] 0: cmd_READ_RESULT_BCAST failed
 [2014-05-24 20:34:10] 1: cmd_READ_RESULT_BCAST failed
So I had to go back to this custom distro made by the miner's manufacturer.
So my only option is to install gcc on it to be able to install other tools like screen.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown Plugin (application/x-shockwave-flash), but Adobe only offers binaries. stf92 Slackware 12 06-28-2011 06:33 AM
gcc/g++ binaries? homer_3 Linux - Software 7 04-14-2010 06:23 PM
installing gcc 4.0.1(binaries) naveenu Fedora - Installation 3 09-28-2005 09:37 AM
Installing GCC Binaries Coookie Monster Linux - Newbie 4 07-23-2005 07:25 PM
No GCC, No Intel binaries... Spotted Cheetah Linux - Software 5 06-10-2005 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration