Skip Menu |

This queue is for tickets about the Ocsinventory-Agent CPAN distribution.

Report information
The Basics
Id: 40881
Status: resolved
Priority: 0/
Queue: Ocsinventory-Agent

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.0.9.2
Fixed in: (no value)



Subject: make install hangs
While running make install, the following command seems to hang on my system: [ ! -f run-postinst ] || perl postinst.pl This is on freebsd 6.1, using perl 5.8.8 or perl 5.8.9RC1. Regards, Slaven
Le Jeu. Nov. 13 02:11:13 2008, SREZIC a écrit : Show quoted text
> While running make install, the following command seems to hang on my > system: > > [ ! -f run-postinst ] || perl postinst.pl > > This is on freebsd 6.1, using perl 5.8.8 or perl 5.8.9RC1. > > Regards, > Slaven
Hi, Can I have the full install log? Cheers, Gonéri
Le Jeu. Nov. 13 06:27:49 2008, GONERI a écrit : Show quoted text
> Le Jeu. Nov. 13 02:11:13 2008, SREZIC a écrit :
http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-0.0.10beta2.tar.gz Can you please try with the 0.0.10beta2 release? Cheers
Subject: Re: [rt.cpan.org #40881] make install hangs
Date: Fri, 14 Nov 2008 21:41:19 +0100
To: bug-Ocsinventory-Agent [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
"Gonéri LE BOUDER via RT" <bug-Ocsinventory-Agent@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=40881 > > > Le Jeu. Nov. 13 06:27:49 2008, GONERI a écrit :
>> Le Jeu. Nov. 13 02:11:13 2008, SREZIC a écrit :
> > http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-0.0.10beta2.tar.gz > > Can you please try with the 0.0.10beta2 release? >
Ah, I think I know what the problem was. Originally I run the install from the CPAN.pm shell and CPAN::Reporter turned on. Using this I just saw [ ! -f run-postinst ] || perl postinst.pl and nothing else. Running make and make install manually outside the CPAN.pm shell, I also see now the rest: Do you want to configure the agent? Please enter 'y' or 'n'(default y)> To solve this problem, it's best to use "print STDERR" instead of just "print". It's even better if you could use the prompt() function from ExtUtils::MakeMaker, as it allows users to pick up the default automatically if the PERL_MM_USE_DEFAULT variable is defined. Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de tksm - Perl/Tk program for searching and replacing in multiple files http://ptktools.sourceforge.net/#tksm
Subject: Re: [rt.cpan.org #40881] make install hangs
Date: Sat, 15 Nov 2008 15:11:17 +0100
To: "slaven [...] rezic.de via RT" <bug-Ocsinventory-Agent [...] rt.cpan.org>
From: Gonéri Le Bouder <goneri [...] rulezlan.org>
On Fri, Nov 14, 2008 at 03:43:28PM -0500, slaven@rezic.de via RT wrote: Show quoted text
> Queue: Ocsinventory-Agent > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40881 > > > "Gonéri LE BOUDER via RT" <bug-Ocsinventory-Agent@rt.cpan.org> writes: >
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=40881 > > > > > Le Jeu. Nov. 13 06:27:49 2008, GONERI a écrit :
> >> Le Jeu. Nov. 13 02:11:13 2008, SREZIC a écrit :
> > > > http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-0.0.10beta2.tar.gz > > > > Can you please try with the 0.0.10beta2 release? > >
> > Ah, I think I know what the problem was. Originally I run the install > from the CPAN.pm shell and CPAN::Reporter turned on. Using this I just > saw > > [ ! -f run-postinst ] || perl postinst.pl > > and nothing else. Running make and make install manually outside the > CPAN.pm shell, I also see now the rest: > > Do you want to configure the agent? > Please enter 'y' or 'n'(default y)> > > To solve this problem, it's best to use "print STDERR" instead of just > "print". It's even better if you could use the prompt() function from > ExtUtils::MakeMaker, as it allows users to pick up the default > automatically if the PERL_MM_USE_DEFAULT variable is defined.
Thank you for the feed back. I'll improve that. Cheers, Gonéri
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

On Sat Nov 15 06:11:35 2008, goneri@rulezlan.org wrote: Show quoted text
> > ExtUtils::MakeMaker, as it allows users to pick up the default > > automatically if the PERL_MM_USE_DEFAULT variable is defined.
> Thank you for the feed back. I'll improve that.
I fixed the script to use ExtUtils::MakeMaker prompt. Cheers