WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Raspberry Pi / Re: Installing RPI::WiringPi for Perl
« Last post by VMat on January 21, 2017, 11:56:16 PM »
First of all there are no piCore V3.10 version, actual version is 8.1.x Probably you are referring picoreplayer?

That's right, sorry. It's picoreplayer. I keep both in the same folder, and when I wrote my post I looked at one and thought of the other...


On piCore-8.1.5 installation of RPi::WiringPi fails. Same happenes installing it in Raspbian, so it is not piCore specific, it is a bug in the package. You can fix it yourself, report buf to its authore, etc.

My personal advice to drop anything Perl at all and go for a usable language.

Oh, my... I was hoping you, of all people, would be the one to bring me good news... :)

I'm not going to give it up so quickly, though. It's good to know that it's a known bug. Do you know any forum threads on the subject, that I could get some clues from?

Thanks a lot,

VMat
22
piCore Final Releases / piCore-8.1.5 released
« Last post by bmarkus on January 21, 2017, 11:43:00 PM »
Team Tiny Core is pleased to announce the immediate availability of piCore-8.1.5 Changes:

* util-linux updated to 2.29.1
* fixed permission issues on /usr/local/tce.installed and /etc/sysconfig/backup_device

Download location:

http://tinycorelinux.net/8.x/armv6/releases/RPi/

There is only one SD card image, it supports all armv6 and armv7 RPi boards!

Please read README and don't forget to expand mmcblk0p2 partition according to your needs to make room for persistent data and installed applications.

If you need the basic TC GUI, install TC.tcz from the repository.

For support visit http://forum.tinycorelinux.net/index.php/board,57.0.html
23
Raspberry Pi / Re: Installing RPI::WiringPi for Perl
« Last post by bmarkus on January 21, 2017, 11:25:37 PM »
First of all there are no piCore V3.10 version, actual version is 8.1.x Probably you are referring picoreplayer?

On piCore-8.1.5 installation of RPi::WiringPi fails. Same happenes installing it in Raspbian, so it is not piCore specific, it is a bug in the package. You can fix it yourself, report to its author, etc.

My personal advice to drop anything Perl at all and go for a usable language.


24
Raspberry Pi / Installing RPI::WiringPi for Perl
« Last post by VMat on January 21, 2017, 05:53:12 PM »
Hi,

I'm trying to install RPI::WiringPi from CPAN to play with an LCD and a few buttons - I want to use Perl because I'm already familiar with the language and because this might end up becoming a Squeezecenter plugin. I understand roughly what's involved in the process, but I don't have all the skills to troubleshoot it. Maybe someone could help me?

I started with a fresh piCore install (V3.10), plus extending the FS, etc. - I already have Squeezecenter and Squeezeplayer running.

Then I installed a few extensions based on my gut feeling, e.g. (not necessarily in this order):

  • perl5
  • wiringpi
  • wiringpi-dev
  • compile
  • binutils-dev
  • setuptools
  • gcc
  • gcc_base-dev
  • gcc_libs
  • gcc_libs-dev

among others. After each new extension is installed I do:

Code: [Select]
sudo perl -MCPAN -e shell
install RPi::WiringPi

But there's always an error somewhere, dependency errors, runtime errors, memory errors... Last one was apparently an I/O error! But I guess this one will go away if I reboot the Pi.

Now... is there an easier way to do this? Something pre-compiled for the Pi (B - armv6), or step-by-step instructions to compile this specific module? I can start it from scratch if needed (meaning, re-flash piCore 3.10 to the SD card), no big deal.

Thanks in advance,

VMat

25
Raspberry Pi / Re: How to send the telnet command
« Last post by jgrulich on January 21, 2017, 09:57:00 AM »
Yes, good point, really it needs some time before the port is closed. Probably there is no empty buffer protection.
The right syntax is than
Code: (bash) [Select]
(echo "command 1"; echo "command 2"; sleep 0.01;) | telnet TARGETIP 23
26
Extension requests / Re: [REQUEST] GlibC 2.4 for TinyCoreLinux on armv6
« Last post by Misalf on January 21, 2017, 09:47:45 AM »
Code: [Select]
tc@piCorePlayer:~$ ls -al /lib | grep ld
-rwxr-xr-x    1 root     root        134392 Dec 19 19:37 ld-2.24.so
lrwxrwxrwx    1 root     root            10 Jan  1  1970 ld-linux-armhf.so.3 -> ld-2.24.so

but :
Code: [Select]
tc@piCorePlayer:~$ sudo ./librespot
./librespot: error while loading shared libraries: ld-linux.so.3: cannot open shared object file: No such file or directory

I'd try
Code: [Select]
cd /lib
sudo ln -s ld-linux-armhf.so.3 ld-linux.so.3
sudo ldconfig
27
Extension requests / Re: [REQUEST] GlibC 2.4 for TinyCoreLinux on armv6
« Last post by polikuo on January 21, 2017, 09:19:00 AM »
Does "/lib/ld-linux-armhf.so.3" present after running "sudo ldconfig" on your machine.
Maybe you'll need to create a symbolic link, maybe you won't.
28
Extension requests / Re: [REQUEST] GlibC 2.4 for TinyCoreLinux on armv6
« Last post by Sebster on January 21, 2017, 09:10:47 AM »
On x64, ld-linux.so can only be found in man-pages.tcz as ld-linux.so.8
On x86, however, it can also be found in man-pages.tcz but as ld-linux.so.8.txt
You may want to compile man-pages first.
I hope this may help.

I will try to do that tomorrow, thank you!

But the strange thing is...
There seems to be the correct libary but librespot does not seem to find it...
29
Extension requests / Re: [REQUEST] GlibC 2.4 for TinyCoreLinux on armv6
« Last post by Sebster on January 21, 2017, 09:09:30 AM »
Did you run ldconfig?

i am sorry but what do you mean with that?
Just running it as a command in the terminal?

I did that and... nothing happened   :D
30
Extension requests / Re: [REQUEST] GlibC 2.4 for TinyCoreLinux on armv6
« Last post by polikuo on January 21, 2017, 09:01:10 AM »
On x64, ld-linux.so can only be found in man-pages.tcz as ld-linux.so.8
On x86, however, it can also be found in man-pages.tcz but as ld-linux.so.8.txt
You may want to compile man-pages first.
I hope this may help.
Pages: 1 2 [3] 4 5 ... 10