All pastes #2086140 Raw Edit

Unnamed

public text v1 · immutable
#2086140 ·published 2011-10-01 22:31 UTC
rendered paste body

When you have Module::Build installed and a module comes with both a
Makefile.PL and a Build.PL, which shall have precedence?

The main two standard installer modules are the old and well
established ExtUtils::MakeMaker (for short: EUMM) which uses the
Makefile.PL. And the next generation installer Module::Build (MB)
which works with the Build.PL (and often comes with a Makefile.PL
too). If a module comes only with one of the two we will use that one
but if both are supplied then a decision must be made between EUMM and
MB. See also http://rt.cpan.org/Ticket/Display.html?id=29235 for a
discussion about the right default.

Or, as a third option you can choose RAND which will make a random
decision (something regular CPAN testers will enjoy).

 <prefer_installer>
In case you can choose between running a Makefile.PL or a Build.PL,
which installer would you prefer (EUMM or MB or RAND)? [MB] 

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: [] 

Do you want to use a different make command for 'make install'?
Cautious people will probably prefer:

    su root -c make
 or
    sudo make
 or
    /path1/to/sudo -u admin_account /path2/to/make

 <make_install_make_command>
or some such. Your choice: [/usr/bin/make] 

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>
Your choice: [] 

Do you want to use a different command for './Build install'? Sudo
users will probably prefer:

    su root -c ./Build
 or
    sudo ./Build
 or
    /path1/to/sudo -u admin_account ./Build

 <mbuild_install_build_command>
or some such. Your choice: [./Build] 

Parameters for the './Build install' command? Typical frequently used
setting:

    --uninst 1                           # uninstall conflicting files

 <mbuild_install_arg>
Your choice: [] 

Sometimes you may wish to leave the processes run by CPAN alone
without caring about them. Because the Makefile.PL or the Build.PL
sometimes contains question you're expected to answer, you can set a
timer that will kill a 'perl Makefile.PL' process after the specified
time in seconds.

If you set this value to 0, these processes will wait forever. This is
the default and recommended setting.

 <inactivity_timeout>
Timeout for inactivity during {Makefile,Build}.PL? [0] 

Normaly, CPAN.pm continues processing the full list of targets and
dependencies, even if one of them fails.  However, you can specify 
that CPAN should halt after the first failure. 

 <halt_on_failure>
Do you want to halt on failure (yes/no)? [no] 



If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.

 <ftp_proxy>
Your ftp_proxy? [] 

 <http_proxy>
Your http_proxy? [] 

 <no_proxy>
Your no_proxy? [] 

 <ftp_passive>
Shall we always set the FTP_PASSIVE environment variable when dealing
with ftp download (yes/no)? [yes] 

CPAN.pm changes the current working directory often and needs to
determine its own current working directory. Per default it uses
Cwd::cwd but if this doesn't work on your system for some reason,
alternatives can be configured according to the following table:

    cwd         Cwd::cwd
    getcwd      Cwd::getcwd
    fastcwd     Cwd::fastcwd
    backtickcwd external command cwd

 <getcwd>
Preferred method for determining the current working directory? [cwd] 

The prompt of the cpan shell can contain the current command number
for easier tracking of the session or be a plain string.

 <commandnumber_in_prompt>
Do you want the command number in the prompt (yes/no)? [yes] 

When using Term::ReadLine, you can turn ornaments on so that your
input stands out against the output from CPAN.pm.

 <term_ornaments>
Do you want to turn ornaments on? [yes] 

The next option deals with the charset (aka character set) your
terminal supports. In general, CPAN is English speaking territory, so
the charset does not matter much but some CPAN have names that are
outside the ASCII range. If your terminal supports UTF-8, you should
say no to the next question. If it expects ISO-8859-1 (also known as
LATIN1) then you should say yes. If it supports neither, your answer
does not matter because you will not be able to read the names of some
authors anyway. If you answer no, names will be output in UTF-8.

 <term_is_latin>
Your terminal expects ISO-8859-1 (yes/no)? [yes] 

If you have one of the readline packages (Term::ReadLine::Perl,
Term::ReadLine::Gnu, possibly others) installed, the interactive CPAN
shell will have history support. The next two questions deal with the
filename of the history file and with its size. If you do not want to
set this variable, please hit SPACE RETURN to the following question.

If you have one of the readline packages (Term::ReadLine::Perl,
Term::ReadLine::Gnu, possibly others) installed, the interactive CPAN
shell will have history support. The next two questions deal with the
filename of the history file and with its size. If you do not want to
set this variable, please hit SPACE RETURN to the following question.

 <histfile>
File to save your history? [/home/opensrf/Evergreen-ILS-2.0.9/yes/histfile] 

 <histsize>
Number of lines to save? [100] 

The 'd' and the 'm' command normally only show you information they
have in their in-memory database and thus will never connect to the
internet. If you set the 'show_upload_date' variable to true, 'm' and
'd' will additionally show you the upload date of the module or
distribution. Per default this feature is off because it may require a
net connection to get at the upload date.

 <show_upload_date>
Always try to show upload date with 'd' and 'm' command (yes/no)? [no] 

During the 'r' command CPAN.pm finds modules without version number.
When the command finishes, it prints a report about this. If you
want this report to be very verbose, say yes to the following
variable.

 <show_unparsable_versions>
Show all individual modules that have no $VERSION? [no] 

During the 'r' command CPAN.pm finds modules with a version number of
zero. When the command finishes, it prints a report about this. If you
want this report to be very verbose, say yes to the following
variable.

 <show_zero_versions>
Show all individual modules that have a $VERSION of zero? [no] 

If you have never defined your own C<urllist> in your configuration
then C<CPAN.pm> will be hesitant to use the built in default sites for
downloading. It will ask you once per session if a connection to the
internet is OK and only if you say yes, it will try to connect. But to
avoid this question, you can choose your favorite download sites once
and get away with it. Or, if you have no favorite download sites
answer yes to the following question.

 <connect_to_internet_ok>
If no urllist has been chosen yet, would you prefer CPAN.pm to connect
to the built-in default sites without asking? (yes/no)? [no] 

CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  
CPAN needs access to at least one CPAN mirror.

As you did not allow me to connect to the internet you need to supply
a valid CPAN URL now.

Please enter the URL of your CPAN mirror  yes
Configuration does not allow connecting to the internet.
Current set of CPAN URLs:
  yes
Enter another URL or RETURN to quit: [] 
New urllist
  yes


commit: wrote '/etc/perl/CPAN/Config.pm'
CPAN::SQLite not installed, trying to work without
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.834)
Fetching with LWP:
  yes/authors/01mailrc.txt.gz
LWP failed with code[400] message[URL must be absolute]
Warning: no success downloading '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4439'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225
Warning: no success downloading '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4439'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225

As a last resort we now switch to the external ftp command '/usr/bin/ftp'
to get '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4439'.

Doing so often leads to problems that are hard to diagnose.

If you're the victim of such problems, please consider unsetting the
ftp config variable with

    o conf ftp ""
    o conf commit



You have not configured a urllist and do not allow connections to the
internet to get a list of mirrors.  If you wish to get a list of CPAN
mirrors to pick from, use this command

    o conf init connect_to_internet_ok urllist

If you do not wish to get a list of mirrors and would prefer to set
your urllist manually, use just this command instead

    o conf init urllist

make: *** [install_cpan_marc_record] Error 255
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# 
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# make -f Open-ILS/src/extras/Makefile.install ubuntu-lucid
aptitude -yq install postgresql-client-8.4
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
aptitude -yq install libbusiness-isbn-perl libbusiness-isbn-data-perl libmarc-charset-perl libnet-z3950-zoom-perl libyaz-dev yaz
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
for m in MARC::Record; do perl -MCPAN -e "install \"$m\";"; done
CPAN::SQLite not installed, trying to work without
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.834)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP:
  yes/authors/01mailrc.txt.gz
LWP failed with code[400] message[URL must be absolute]
Warning: no success downloading '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4663'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225
Warning: no success downloading '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4663'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225

As a last resort we now switch to the external ftp command '/usr/bin/ftp'
to get '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4663'.

Doing so often leads to problems that are hard to diagnose.

If you're the victim of such problems, please consider unsetting the
ftp config variable with

    o conf ftp ""
    o conf commit



You have not configured a urllist and do not allow connections to the
internet to get a list of mirrors.  If you wish to get a list of CPAN
mirrors to pick from, use this command

    o conf init connect_to_internet_ok urllist

If you do not wish to get a list of mirrors and would prefer to set
your urllist manually, use just this command instead

    o conf init urllist

make: *** [install_cpan_marc_record] Error 255
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# dir
aclocal.m4	ChangeLog     configure.ac  INSTALL	 Makefile.in  yes
AUTHORS		compile       COPYING	    install-sh	 missing
autogen.sh	config.guess  DCO-1.1.txt   LICENSE.txt  NEWS
autom4te.cache	config.sub    depcomp	    ltmain.sh	 Open-ILS
build		configure     docs	    Makefile.am  README
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9# make -f Open-ILS/src/extras/Makefile.install ubuntu-lucid
aptitude -yq install postgresql-client-8.4
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
aptitude -yq install libbusiness-isbn-perl libbusiness-isbn-data-perl libmarc-charset-perl libnet-z3950-zoom-perl libyaz-dev yaz
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
for m in MARC::Record; do perl -MCPAN -e "install \"$m\";"; done
CPAN::SQLite not installed, trying to work without
CPAN: Storable loaded ok (v2.20)
CPAN: LWP::UserAgent loaded ok (v5.834)
CPAN: Time::HiRes loaded ok (v1.9719)
Fetching with LWP:
  yes/authors/01mailrc.txt.gz
LWP failed with code[400] message[URL must be absolute]
Warning: no success downloading '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4740'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225
Warning: no success downloading '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4740'. Giving up on it. at /usr/share/perl/5.10/CPAN/Index.pm line 225

As a last resort we now switch to the external ftp command '/usr/bin/ftp'
to get '/home/opensrf/Evergreen-ILS-2.0.9/yes/sources/authors/01mailrc.txt.gz.tmp4740'.

Doing so often leads to problems that are hard to diagnose.

If you're the victim of such problems, please consider unsetting the
ftp config variable with

    o conf ftp ""
    o conf commit



You have not configured a urllist and do not allow connections to the
internet to get a list of mirrors.  If you wish to get a list of CPAN
mirrors to pick from, use this command

    o conf init connect_to_internet_ok urllist

If you do not wish to get a list of mirrors and would prefer to set
your urllist manually, use just this command instead

    o conf init urllist

make: *** [install_cpan_marc_record] Error 255
root@chaitanya-laptop:/home/opensrf/Evergreen-ILS-2.0.9#