-
December 14th, 2013, 03:26
#1
-
-
December 14th, 2013 03:26
# ADS
-
December 14th, 2013, 03:27
#2
عضو دائم
پاسخ : مشکل در نصب cpan در cent os 6.5
نمونه سؤالاش :
کد:
[5]+ Stopped cpan -i Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker[root@ca custombuild]# cpan
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters...
The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide or a personal directory.
I see you already have a directory
/root/.cpan
Shall we use it as the general CPAN build and cache directory?
<cpan_home>
CPAN build and cache directory? [/root/.cpan]
Unless you are accessing the CPAN on your filesystem via a file: URL,
CPAN.pm needs to keep the source files it downloads somewhere. Please
supply a directory where the downloaded files are to be kept.
<keep_source_where>
Download target directory? [/root/.cpan/sources]
<build_dir>
Directory where the build process takes place? [/root/.cpan/build]
Normally CPAN.pm keeps config variables in memory and changes need to
be saved in a separate 'o conf commit' command to make them permanent
between sessions. If you set the 'auto_commit' option to true, changes
to a config variable are always automatically committed to disk.
<auto_commit>
Always commit changes to config variables to disk? [no]
CPAN.pm can limit the size of the disk area for keeping the build
directories with all the intermediate files.
<build_cache>
Cache size for build directory (in MB)? [100]
The CPAN indexes are usually rebuilt once or twice per hour, but the
typical CPAN mirror mirrors only once or twice per day. Depending on
the quality of your mirror and your desire to be on the bleeding edge,
you may want to set the following value to more or less than one day
(which is the default). It determines after how many days CPAN.pm
downloads new indexes.
<index_expire>
Let the index expire after how many days? [1]
By default, each time the CPAN module is started, cache scanning is
performed to keep the cache size in sync. To prevent this, answer
'never'.
<scan_cache>
Perform cache scanning (atstart or never)? [atstart]
To considerably speed up the initial CPAN shell startup, it is
possible to use Storable to create a cache of metadata. If Storable is
not available, the normal index mechanism will be used.
Note: this mechanism is not used when use_sqlite is on and SQLLite is
running.
<cache_metadata>
Cache metadata (yes/no)? [yes]
The CPAN module can detect when a module which you are trying to build
depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore'). Please set your
policy to one of the three values.
<prerequisites_policy>
Policy on building prerequisites (follow, ask or ignore)? [ask]
Every Makefile.PL is run by perl in a separate process. Likewise we
run 'make' and 'make install' in separate processes. If you have
any parameters (e.g. PREFIX, UNINST or the like) you want to
pass to the calls, please specify them here.
If you don't understand this question, just press ENTER.
Typical frequently used settings:
PREFIX=~/perl # non-root users (please see manual for more hints)
<makepl_arg>
Parameters for the 'perl Makefile.PL' command? [INSTALLDIRS=site]
Parameters for the 'make' command? Typical frequently used setting:
-j3 # dual processor system (on GNU make)
<make_arg>
Your choice: []
Parameters for the 'make install' command?
Typical frequently used setting:
UNINST=1 # to always uninstall potentially conflicting files
<make_install_arg>
Your choice: []
A Build.PL is run by perl in a separate process. Likewise we run
'./Build' and './Build install' in separate processes. If you have any
parameters you want to pass to the calls, please specify them here.
Typical frequently used settings:
--install_base /home/xxx # different installation directory
<mbuildpl_arg>
Parameters for the 'perl Build.PL' command? [--installdirs site]
Parameters for the './Build' command? Setting might be:
--extra_linker_flags -L/usr/foo/lib # non-standard library location
<mbuild_arg>
-
-
December 14th, 2013, 13:59
#3
عضو دائم
پاسخ : مشکل در نصب cpan در cent os 6.5
-
-
December 14th, 2013, 14:07
#4
عضو دائم
پاسخ : مشکل در نصب cpan در cent os 6.5
اگر مقدور است بفرمایید چطور حل شد، شاید کاربری در آینده با این مشکل برخورد کند، از تجربه شما استفاده نماید.
بد نیست آرشیوی وجود داشته باشد.
شرکت "
فناوران پویان هزارنویس " به شماره ثبت : 441236 و شناسه ملی : 14003550285 "مسئولیت محدود"
با مجوز رسمی از وزارت فرهنگ و ارشاد اسلامی ، سازمان تنظیم مقررات و ارتباطات رادیویی و دارای نماد اعتماد الکترونیکی از وزارت صنعت و معدن و تجارت
[پشتیبانی
تیکت] با
واحد پشتیبانی پرتال کاربران هزارنویس به صورت 24 ساعته در 7 روز هفته، شبانه روزی مکاتبه نمایید.
[پشتیبانی
تلفنی] وقت اداری (8 الی 16) : 02188109322 - پشتیبانی در مواقع [
ضروری] : 09125362909 - 09332354071
-
-
December 14th, 2013, 14:16
#5
عضو دائم
پاسخ : مشکل در نصب cpan در cent os 6.5

نوشته اصلی توسط
aligoli
اگر مقدور است بفرمایید چطور حل شد، شاید کاربری در آینده با این مشکل برخورد کند، از تجربه شما استفاده نماید.
بد نیست آرشیوی وجود داشته باشد.
ساده ست ، تک تک سؤالاش رو ج دادم ، سؤال آخرش ک از همه مهمتر هستش میگه یک سرور mirror معرفی کن ،
بسته ب محل سرور ، میتونید آدرس سرور های mirror رو در لینک زیر ببینید :
the status of CPAN mirrors
بقیه سؤالاش هم با مقدار پیش فرض پاسخ بدید ...
یه کوچولو رو اعصاب ه ، اما همین یه باره ، فقط در پایان یادتون باشه ک پکیج هایی ک با cpan نصب میکنید با yum آپدیت نمیشن ، برای آپدیت این پکیج ها ، باید از :
استفاده کنید .
-
-
December 17th, 2013, 08:53
#6
عضو انجمن
پاسخ : مشکل در نصب cpan در cent os 6.5
سلام
به نظرم می تونستید از طریق build هم SpamAssassin را در دایرکت ادمین نصب کنید
قوی ترین پشتیبانی ، بهترین عملکرد
Email:
info@serversetup.co Ticket:
https://serversetup.co
Tel: 05138919616
Telegram: @serversetupsale
-
-
December 17th, 2013, 15:45
#7
عضو دائم
پاسخ : مشکل در نصب cpan در cent os 6.5

نوشته اصلی توسط
reza21biologist
سلام
به نظرم می تونستید از طریق build هم SpamAssassin را در دایرکت ادمین نصب کنید
از طریق build اقدام ب نصب کردم ، ک گفته شده بود ، cpan و یکسری پیش نیاز میخواد ک باید با cpan نصب بشه ...
-