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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-21-2014, 05:42 PM
|
#1
|
Member
Registered: Jul 2005
Posts: 77
Rep:
|
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?
|
|
|
03-22-2014, 05:23 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,417
|
http://www.yoctoproject.org -> http://www.yoctoproject.org/tools-resources/projects/poky ?
|
|
|
03-23-2014, 09:08 AM
|
#3
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
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.
|
|
|
03-23-2014, 10:47 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,417
|
cat /etc/opkg/*.conf; opkg update; opkg list|grep whatever*; opkg install whatever_package
|
|
|
03-23-2014, 02:35 PM
|
#5
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
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
|
|
|
03-23-2014, 06:07 PM
|
#6
|
Moderator
Registered: May 2001
Posts: 29,417
|
which ipkg opkg
|
|
|
03-24-2014, 05:24 AM
|
#7
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
Quote:
Originally Posted by unSpawn
which ipkg opkg
|
Does not return anything. Thanks for helping BTW 
|
|
|
03-25-2014, 03:27 PM
|
#8
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
bump
|
|
|
03-28-2014, 02:40 PM
|
#9
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
bump
|
|
|
05-25-2014, 10:26 AM
|
#10
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
bump
|
|
|
05-25-2014, 10:30 AM
|
#11
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
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
|
|
|
05-25-2014, 10:36 AM
|
#12
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
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?
|
|
|
05-25-2014, 10:52 AM
|
#13
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
Quote:
Originally Posted by 273
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
|
|
|
05-25-2014, 11:16 AM
|
#14
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
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.
|
|
|
05-25-2014, 11:36 AM
|
#15
|
Member
Registered: Jul 2005
Posts: 77
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|