Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #119217] Regarding errors in installation of perl

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

Aug 10, 2013, 6:12 AM

Post #1 of 6 (18 views)
Permalink
[perl #119217] Regarding errors in installation of perl

On Fri Aug 09 09:08:01 2013, ganga.jeena [at] gmail wrote:
> Hi,
> I am installin perl -5.18.0 to a local directory in my home directory on
> linux server!
> Here is the error I get when i run "make" command
> I found many people have got similar errors. However, they suggest touch
> and timestamp change for Makefile.PL
> I tried and Realised I have to repeatedly change timestamp after make
> command.
> I was wondering if this problem has already been encountered and can be
> solved via some in built tricks.
> If yes, I request for a detailed solution !
> If not, It would be a blessing, if it is tackled in any future versions!
>
> *:*
> *==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command. <==
> false
> make[2]: *** [Makefile] Error 1
> make[2]: Leaving directory `/home/jeena/bin/perl-5.18.0_
> source/dist/Attribute-Handlers'
> make config PERL_CORE=1 LIBPERL_A=libperl.a failed, continuing anyway...
> Making all in dist/Attribute-Handlers
> make all PERL_CORE=1 LIBPERL_A=libperl.a
> make[2]: Entering directory `/home/jeena/bin/perl-5.18.0_
> source/dist/Attribute-Handlers'
> Makefile out-of-date with respect to Makefile.PL
> Cleaning current config before rebuilding Makefile...
> make -f Makefile.old clean > /dev/null 2>&1
> ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl"
> "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1"
> "LIBPERL_A=libperl.a"
> Writing Makefile for Attribute::Handlers
> ==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command. <==
> false
> make[2]: *** [Makefile] Error 1
> make[2]: Leaving directory `/home/jeena/bin/perl-5.18.0_
> source/dist/Attribute-Handlers'
> Unsuccessful make(dist/Attribute-Handlers): code=512 at make_ext.pl line
> 490.
> make[1]: *** [dist/Attribute-Handlers/pm_to_blib] Error 25
> make[1]: Leaving directory `/home/jeena/bin/perl-5.18.0_source'
> make: *** [install] Error 2*
>
> Thanks and Regards,
> Ganga Jeena


There are probably people on this list more knowledgeable than I am
about this problem, so don't take what follows as gospel.

1. Whenever I see something like this when building Perl from source ...

> ==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command. <==

... it means that something has gone wrong in the build and that I have
attempted to correct it without going back to Square One, i.e., without
calling something like 'make realclean' or, when building from a git
checkout rather than a tarball, 'git clean -dfx'.

In most cases, 'make' does the right thing despite these warnings and
the build completes successfully. In some cases, such as yours, it does
not. So I would suggest cleaning out your build directory and starting
anew.

2. If you are installing Perl under your home directory, you should
consider using 'perlbrew', available from CPAN at
http://search.cpan.org/~gugod/App-perlbrew-0.66/, among other locations.
This program enables you to install multiple different versions of Perl
beneath your home directory and switch back and forth between them with
relative ease.

Thank you very much.
Jim Keenan

---
via perlbug: queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=119217


perlbug-followup at perl

Aug 9, 2013, 9:08 AM

Post #2 of 6 (12 views)
Permalink
[perl #119217] Regarding errors in installation of perl [In reply to]

# New Ticket Created by Ganga Jeena
# Please include the string: [perl #119217]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119217 >


Hi,
I am installin perl -5.18.0 to a local directory in my home directory on
linux server!
Here is the error I get when i run "make" command
I found many people have got similar errors. However, they suggest touch
and timestamp change for Makefile.PL
I tried and Realised I have to repeatedly change timestamp after make
command.
I was wondering if this problem has already been encountered and can be
solved via some in built tricks.
If yes, I request for a detailed solution !
If not, It would be a blessing, if it is tackled in any future versions!

*:*
*==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make[2]: *** [Makefile] Error 1
make[2]: Leaving directory `/home/jeena/bin/perl-5.18.0_
source/dist/Attribute-Handlers'
make config PERL_CORE=1 LIBPERL_A=libperl.a failed, continuing anyway...
Making all in dist/Attribute-Handlers
make all PERL_CORE=1 LIBPERL_A=libperl.a
make[2]: Entering directory `/home/jeena/bin/perl-5.18.0_
source/dist/Attribute-Handlers'
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl"
"INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1"
"LIBPERL_A=libperl.a"
Writing Makefile for Attribute::Handlers
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
make[2]: *** [Makefile] Error 1
make[2]: Leaving directory `/home/jeena/bin/perl-5.18.0_
source/dist/Attribute-Handlers'
Unsuccessful make(dist/Attribute-Handlers): code=512 at make_ext.pl line
490.
make[1]: *** [dist/Attribute-Handlers/pm_to_blib] Error 25
make[1]: Leaving directory `/home/jeena/bin/perl-5.18.0_source'
make: *** [install] Error 2*

Thanks and Regards,
Ganga Jeena


doughera at lafayette

Aug 11, 2013, 11:51 AM

Post #3 of 6 (12 views)
Permalink
Re: [perl #119217] Regarding errors in installation of perl [In reply to]

On Fri, Aug 09, 2013 at 09:08:02AM -0700, Ganga Jeena wrote:
> # New Ticket Created by Ganga Jeena
> # Please include the string: [perl #119217]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119217 >
>
>
> Hi,
> I am installin perl -5.18.0 to a local directory in my home directory on
> linux server!
> Here is the error I get when i run "make" command
> I found many people have got similar errors. However, they suggest touch
> and timestamp change for Makefile.PL
> I tried and Realised I have to repeatedly change timestamp after make
> command.
> I was wondering if this problem has already been encountered and can be
> solved via some in built tricks.
> If yes, I request for a detailed solution !
> If not, It would be a blessing, if it is tackled in any future versions!

> make[2]: Entering directory `/home/jeena/bin/perl-5.18.0_
> source/dist/Attribute-Handlers'
> Makefile out-of-date with respect to Makefile.PL
> Cleaning current config before rebuilding Makefile...
> make -f Makefile.old clean > /dev/null 2>&1
> ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl"
> "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1"
> "LIBPERL_A=libperl.a"
> Writing Makefile for Attribute::Handlers
> ==> Your Makefile has been rebuilt. <==
> ==> Please rerun the make command. <==

Is your home directory a local directory, or is it mounted from a server?
I have seen this error pattern when the clocks for the client and server
are out of sync. There is little perl can reliably do about such situations.

If you are unable to reconcile the client and server's notions of time,
a good workaround is often to try to build on a local filesystem.
Often /tmp is suitable.

I hope this helps,

--
Andy Dougherty doughera [at] lafayette


ganga.jeena at gmail

Aug 12, 2013, 3:29 AM

Post #4 of 6 (4 views)
Permalink
Re: [perl #119217] Regarding errors in installation of perl [In reply to]

Hi,
thanks,
I figured out how can i use the timestamp change and complete installation.
I could install the perl in a local directory.
However, I can not find out how can i install CPAN modules locally so that
this perl can use it !
This question may be extremely silly, but would be very thankful if you
could help me with this!
Thanks


Thanks and Regards,
Ganga Jeena



On Sat, Aug 10, 2013 at 3:12 PM, James E Keenan via RT <
perlbug-followup [at] perl> wrote:

> On Fri Aug 09 09:08:01 2013, ganga.jeena [at] gmail wrote:
> > Hi,
> > I am installin perl -5.18.0 to a local directory in my home directory on
> > linux server!
> > Here is the error I get when i run "make" command
> > I found many people have got similar errors. However, they suggest touch
> > and timestamp change for Makefile.PL
> > I tried and Realised I have to repeatedly change timestamp after make
> > command.
> > I was wondering if this problem has already been encountered and can be
> > solved via some in built tricks.
> > If yes, I request for a detailed solution !
> > If not, It would be a blessing, if it is tackled in any future
> versions!
> >
> > *:*
> > *==> Your Makefile has been rebuilt. <==
> > ==> Please rerun the make command. <==
> > false
> > make[2]: *** [Makefile] Error 1
> > make[2]: Leaving directory `/home/jeena/bin/perl-5.18.0_
> > source/dist/Attribute-Handlers'
> > make config PERL_CORE=1 LIBPERL_A=libperl.a failed, continuing anyway...
> > Making all in dist/Attribute-Handlers
> > make all PERL_CORE=1 LIBPERL_A=libperl.a
> > make[2]: Entering directory `/home/jeena/bin/perl-5.18.0_
> > source/dist/Attribute-Handlers'
> > Makefile out-of-date with respect to Makefile.PL
> > Cleaning current config before rebuilding Makefile...
> > make -f Makefile.old clean > /dev/null 2>&1
> > ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl"
> > "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1"
> > "LIBPERL_A=libperl.a"
> > Writing Makefile for Attribute::Handlers
> > ==> Your Makefile has been rebuilt. <==
> > ==> Please rerun the make command. <==
> > false
> > make[2]: *** [Makefile] Error 1
> > make[2]: Leaving directory `/home/jeena/bin/perl-5.18.0_
> > source/dist/Attribute-Handlers'
> > Unsuccessful make(dist/Attribute-Handlers): code=512 at make_ext.pl line
> > 490.
> > make[1]: *** [dist/Attribute-Handlers/pm_to_blib] Error 25
> > make[1]: Leaving directory `/home/jeena/bin/perl-5.18.0_source'
> > make: *** [install] Error 2*
> >
> > Thanks and Regards,
> > Ganga Jeena
>
>
> There are probably people on this list more knowledgeable than I am
> about this problem, so don't take what follows as gospel.
>
> 1. Whenever I see something like this when building Perl from source ...
>
> > ==> Your Makefile has been rebuilt. <==
> > ==> Please rerun the make command. <==
>
> ... it means that something has gone wrong in the build and that I have
> attempted to correct it without going back to Square One, i.e., without
> calling something like 'make realclean' or, when building from a git
> checkout rather than a tarball, 'git clean -dfx'.
>
> In most cases, 'make' does the right thing despite these warnings and
> the build completes successfully. In some cases, such as yours, it does
> not. So I would suggest cleaning out your build directory and starting
> anew.
>
> 2. If you are installing Perl under your home directory, you should
> consider using 'perlbrew', available from CPAN at
> http://search.cpan.org/~gugod/App-perlbrew-0.66/, among other locations.
> This program enables you to install multiple different versions of Perl
> beneath your home directory and switch back and forth between them with
> relative ease.
>
> Thank you very much.
> Jim Keenan
>


ganga.jeena at gmail

Aug 12, 2013, 3:29 AM

Post #5 of 6 (5 views)
Permalink
Re: [perl #119217] Regarding errors in installation of perl [In reply to]

Hi,
thanks,
I figured out how can i use the timestamp change and complete installation.
I could install the perl in a local directory.
However, I can not find out how can i install CPAN modules locally so that
this perl can use it !
This question may be extremely silly, but would be very thankful if you
could help me with this!
Thanks


Thanks and Regards,
Ganga Jeena



On Sun, Aug 11, 2013 at 8:52 PM, Andy Dougherty via RT <
perlbug-followup [at] perl> wrote:

> On Fri, Aug 09, 2013 at 09:08:02AM -0700, Ganga Jeena wrote:
> > # New Ticket Created by Ganga Jeena
> > # Please include the string: [perl #119217]
> > # in the subject line of all future correspondence about this issue.
> > # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119217 >
> >
> >
> > Hi,
> > I am installin perl -5.18.0 to a local directory in my home directory on
> > linux server!
> > Here is the error I get when i run "make" command
> > I found many people have got similar errors. However, they suggest touch
> > and timestamp change for Makefile.PL
> > I tried and Realised I have to repeatedly change timestamp after make
> > command.
> > I was wondering if this problem has already been encountered and can be
> > solved via some in built tricks.
> > If yes, I request for a detailed solution !
> > If not, It would be a blessing, if it is tackled in any future
> versions!
>
> > make[2]: Entering directory `/home/jeena/bin/perl-5.18.0_
> > source/dist/Attribute-Handlers'
> > Makefile out-of-date with respect to Makefile.PL
> > Cleaning current config before rebuilding Makefile...
> > make -f Makefile.old clean > /dev/null 2>&1
> > ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl"
> > "INSTALLMAN1DIR=none" "INSTALLMAN3DIR=none" "PERL_CORE=1"
> > "LIBPERL_A=libperl.a"
> > Writing Makefile for Attribute::Handlers
> > ==> Your Makefile has been rebuilt. <==
> > ==> Please rerun the make command. <==
>
> Is your home directory a local directory, or is it mounted from a server?
> I have seen this error pattern when the clocks for the client and server
> are out of sync. There is little perl can reliably do about such
> situations.
>
> If you are unable to reconcile the client and server's notions of time,
> a good workaround is often to try to build on a local filesystem.
> Often /tmp is suitable.
>
> I hope this helps,
>
> --
> Andy Dougherty doughera [at] lafayette
>
>
>


perlbug-followup at perl

Aug 12, 2013, 7:02 PM

Post #6 of 6 (2 views)
Permalink
[perl #119217] Regarding errors in installation of perl [In reply to]

On Mon Aug 12 11:05:22 2013, ganga.jeena [at] gmail wrote:
> Hi,
> thanks,
> I figured out how can i use the timestamp change and complete
> installation.
> I could install the perl in a local directory.
> However, I can not find out how can i install CPAN modules locally so
> that
> this perl can use it !
> This question may be extremely silly, but would be very thankful if
> you
> could help me with this!
> Thanks
>
>
> Thanks and Regards,
> Ganga Jeena
>
>
>

Okay, so if you were able to install Perl there is no bug in Perl itself
-- which is what this list is all about. So I'm going to close this RT.

If you used perlbrew to install underneath your home directory, you can
use cpanm (App::Cpanminus on CPAN) to install modules compiled against a
specific version of Perl.

I'm also going to recommend two resources:

* If you have access to IRC, log on to #perl-help on irc.perl.org. That
channel is designed to handle questions like yours.

* Likewise, http://perlmonks.org is a good site for problems like yours.

Thank you very much.
Jim Keenan

---
via perlbug: queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=119217

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.