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: (2) </ 1 [2] >/

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

reply to topic new topic new poll
Topic: How to install CPAN?, How I can install CPAN on my DSL< Next Oldest | Next Newest >
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Feb. 04 2006,13:26 QUOTE

Download gcc1.dsl from the system section of the repository.  then open the emelfm program, select that file and press the mydsl to load gcc, g++, and make.

Depending what you are trying to do, you might also need to get the dsl-dpkg.dsl package so that you can get libraries and headers.  After you install dsl-dpkg.dsl (same as above), open an xshell and type:

sudo apt-get update
apt-get install libncurses5-dev
apt-get install libreadline4-dev
exit
Back to top
Profile PM 
hillin-fantasia Offline





Group: Members
Posts: 5
Joined: Feb. 2006
Posted: Feb. 04 2006,14:06 QUOTE

Yeah, now I have gcc, g++ and make, but when I typing (on cpan shell) install Curses I get about bilion messages like:

....
function 'set_field_userptr' NOT found
....
variable 'LINES' NOT found
....
typedef 'attr_t' NOT found
....
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHEARDS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -02 -DVERSION=\"1.13\" -fPIC
blah balh...
/bin/sh: line 1: cc: command not found
make: *** [Curses.o] error 127

What now?
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Feb. 05 2006,00:41 QUOTE

did you run the apt-get command to install libncurses5-dev like the previous post said?  libncurses is curses library, which your CURSES may need to compile.

It looks like you are not finding the cc comand.  gcc is the cc compiler, so you can create a symbolic link between the one and the other.  Type in an xterm:

sudo ln -s /usr/bin/gcc /usr/bin/cc

If you are doing all these fancy loads and compiles you should probably also load the gnu-utils.dsl package from the repository as well.  It will add some functionality that you might need.
Back to top
Profile PM 
hillin-fantasia Offline





Group: Members
Posts: 5
Joined: Feb. 2006
Posted: Feb. 05 2006,07:45 QUOTE

Thanks clacker! Now I get Curses :)
Back to top
Profile PM 
8 replies since Feb. 03 2006,18:17 < Next Oldest | Next Newest >

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

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: How to install CPAN?

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