Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ [1] 2 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Easiest way to start some perl stuff< Next Oldest | Next Newest >
xlancealotx Offline





Group: Members
Posts: 54
Joined: Nov. 2007
Posted: Mar. 25 2008,19:04 QUOTE

ok, dsl-4 had at least the basic's, LWP, MakeMaker, etc.

Rather than going crazy with kernel compiling, dsl-n comes with the 2-6 which supports the device I needed.  But, when I start to play with perl, step 1;
perl -MCPAN -e shell gives the (you need CPAN.pm) error.

So after downloading, the attempted;
perl Makefile.pm gives;
"Can't locate ExtUtils/MakeMaker.pm in @INC"

So before I start going depency crazy, and since dsl-4 has a lot already installed, where can I download those .dsl packages?  I didn't see them in the repo's.

The other problem with dsl-n is I don't see how/where to enable apt-get.

Thanks for any help as always.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 25 2008,19:20 QUOTE

Save yourself the trouble and get perl-5.8.0 from testing. Includes everything.

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
xlancealotx Offline





Group: Members
Posts: 54
Joined: Nov. 2007
Posted: Mar. 25 2008,20:39 QUOTE

Thanks, but not "everything" it seems.  It didn't have LWP/Simple (which installed via a force), but I can't get Device::SerialPort installed.  Through the install I get;
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
After looking throught that, all looks ok until;
configure: exit 77

It looks from looking around that the error seems to be missing g++, but I have the dsl package g++ with libs installed, I don't think I would need the g++ one by itself right?

Thanks again.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 26 2008,03:33 QUOTE

A couple of things - dsl-n stands for dsl-not, so several (many?) of the mydsl extensions might not work on dsl-n.

The perl-5.8.0 extension was built to overwrite the stripped version of perl-5.8.0 in dsl - dsl-n used a different stripped version of perl, which might be the cause of your problem.

The gcc mydsl extensions were also written for dsl - I have managed to use them to compile in dsl-n, but they might not work for everything. There is however, a version of gnu-utils for dsl-n

If you look at the dpereciated dsl-n forum (there is a link on the main dsl page), there are a couple of threads about enabling apt-get in dsl-n
Back to top
Profile PM 
xlancealotx Offline





Group: Members
Posts: 54
Joined: Nov. 2007
Posted: Mar. 26 2008,16:50 QUOTE

Thanks for the update.  I know it's 'not' dsl, but it's supposed to be the big brother (quoting the site).

I have a little ebox, the 1st generation seemed to work, but the 2nd gen's arent with the usb.  Basically these box's are supposed to boot, run 2 perl scripts and collect data from the serial port (there are no serial ports, but a usb-serial adapter worked) to display using a flash file (gflashplayer).

Since the new box's came, dsl-4 is not working (seems usb is not seen), but dsl-n (with the 2.6 kernel) seems to see the usb, but naturally a few other issues.  I got the perl modules working, but gflashplayer spits out an error saying;
error loading shared libraries: libstdc++libc6.2-2.so.3 which seems to come from compat-libstdc.  I found an rpm, converted using alien and when I tried to intstall it got;
dpkg: `install-info' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.

I am pretty much a fedora guy, so debian, etc. is all new, but I am again stuck between 2 things.  

DSL-N, 2.6 USB support, need the above
DSL-4 - 2.4 no usb (compiling sounded like a nightmare), but gflashplayer works fine.

There is always something . . . .
Back to top
Profile PM 
18 replies since Mar. 25 2008,19:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Easiest way to start some perl stuff

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code