Koozali.org: home of the SME Server

cpan2rpm & CPAN how do these two work together in sme 7

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
cpan2rpm & CPAN how do these two work together in sme 7
« on: October 16, 2005, 01:50:41 AM »
cpan2rpm & CPAN how do these two work together in sme 7

When the command perl -MCPAN -e shell is activated, it goes through the configuration process if it hasn't been setup yet, then ask for manual configuration

/usr/lib/perl5/5.8.5/CPAN/Config.pm initialized.

CPAN is the world-wide archive of perl resources. It consists of about
100 sites that all replicate the same contents all around the globe.
Many countries have at least one CPAN site already. The resources
found on CPAN are easily accessible with the CPAN.pm module. If you
want to use CPAN.pm, you have to configure it properly.

If you do not want to enter a dialog now, you can answer 'no' to this
question and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)

Are you ready for manual configuration? [yes]

Every thing goes straight forward until it ask for

Where is your ncftget program [ ]
where is this on sme 7 or something similare
compiling perl files downloaded by cpan, is this where cpan2rpm or do i just accept all defaults when prompted

Or where can i find perl modules for sme 7, does anyone of some good links
.........

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: cpan2rpm & CPAN how do these two work together in sm
« Reply #1 on: October 16, 2005, 05:40:30 AM »
Quote from: "fixit"
cpan2rpm & CPAN how do these two work together in sme 7


Basicly, they don't. SME 7 is a workgroup server, not a development system. It doesn't have any development tools, including cpan2rpm.

We recommend CentOS 4.1 as a development workstation.

Quote

Or where can i find perl modules for sme 7, does anyone of some good links


Try:

http://dag.wieers.com/packages/

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
cpan2rpm & CPAN how do these two work together in sme 7
« Reply #2 on: October 16, 2005, 06:02:47 AM »
Hi Charlie

I have two ?

how do i find where a file is located, what command do i use

Just say i want to find where  NetPBM or jhead is

The ? regarding CPAN is

if i download via cpan, does that mean the perl module in question will not compile to this system

Thanks for the link

Russell
.........

ergozd

cpan2rpm & CPAN how do these two work together in sme 7
« Reply #3 on: October 16, 2005, 06:56:10 PM »
Quote
how do i find where a file is located, what command do i use


yum list netpbm

Code: [Select]
[root@sme7 i386]# yum list netpbm
Setting up Repos
smeaddons                 100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
contrib                   100% |=========================|  951 B    00:00
smeos                     100% |=========================|  951 B    00:00
Reading repository metadata in from local files
updates   : ################################################## 180/180
base      : ################################################## 1406/1406
smeos     : ################################################## 443/443
Available Packages
netpbm.i386                              10.25-2.EL4.1          updates


I don't think there is a jhead package from CentOS, I've rebuilt one from .src file
http://ergin.dyndns.org/download/RPMS/SME7/jhead/RPMS/