Skip Menu |

This queue is for tickets about the App-CPAN2Pkg CPAN distribution.

Report information
The Basics
Id: 46332
Status: resolved
Priority: 0/
Queue: App-CPAN2Pkg

People
Owner: jquelin [...] cpan.org
Requestors: tom [...] yandell.me.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0.0
Fixed in: (no value)



Subject: unable to build/run
Distribution: App-CPAN2Pkg 1.0.0 Perl version: v5.10.0 built for i486-linux-gnu-thread-multi OS: Debian lenny (Linux dev 2.6.26-2-686 #1 SMP Mon May 11 19:00:59 UTC 2009 i686 GNU/Linux) When I try to build the module from CPAN: tomy@dev:~/App-CPAN2Pkg-1.0.0> perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Modification of a read-only value attempted at (eval 27) line 8, <GEN6> line 12. (aborts) Installing it via the Makefile.PL works, but when I start the application the curses screen flashes and then the program aborts with the following message: Variable "%STD_CONSTRAINT_FOR" will not stay shared at /usr/share/perl5/Getopt/Euclid.pm line 208. I cloned the git repository to see if the dev version has the same problem. Here I get: tomy@dev:~/projects/app-cpan2pkg> perl Build.PL Checking whether your kit is complete... WARNING: the following files are missing in your kit: Makefile.PL Please inform the author. Checking prerequisites... Modification of a read-only value attempted at (eval 27) line 8, <GEN6> line 12. I would really like to get this working and help make it work for debian - this would scratch an itch I have had for a while.
On Sun May 24 14:02:32 2009, http://id.yandell.me.uk/tom wrote: Show quoted text
> When I try to build the module from CPAN: > > tomy@dev:~/App-CPAN2Pkg-1.0.0> perl Build.PL > Checking whether your kit is complete... > Looks good > > Checking prerequisites... > Modification of a read-only value attempted at (eval 27) line 8, > <GEN6> line 12. > > (aborts)
hum, i don't do anything fancy in the build.pl which version of module::build are you running? Show quoted text
> Installing it via the Makefile.PL works, but when I start the > application the curses screen > flashes and then the program aborts with the following message: > > Variable "%STD_CONSTRAINT_FOR" will not stay shared at > /usr/share/perl5/Getopt/Euclid.pm line 208.
this is a warning in getopt::euclid, which is not really important. it happens when using a threaded perl with euclid. there's a ticket opened for getopt::euclid since quite some time iirc, you can discard it. note that since the gui is using curses, stdout/stderr are lost. however if you're running from git, stdout / stderr will be redirected to cpan2pkg.stdout / cpan2pkg.stderr. you may be able to get useful error messages there. Show quoted text
> I cloned the git repository to see if the dev version has the same > problem. Here I get: > > tomy@dev:~/projects/app-cpan2pkg> perl Build.PL > Checking whether your kit is complete... > WARNING: the following files are missing in your kit: > Makefile.PL > Please inform the author.
the makefile.pl is autogenerated by module::build. i need to remove it from the manifest (it will be automatically added) once you cloned the repository, you can run (without installing the module): $ ./bin/cpan2pkg it will add automatically ../lib to its search path. this does not mean that i do not want to fix the install step, but at least you can start using it. Show quoted text
> I would really like to get this working and help make it work for > debian - this would scratch > an itch I have had for a while.
welcome on board! i'd love to see debian supported! i can give you push rights to the git repository if you want (in a branch of yours, that i would merge to master), or can move to github (which seems to be where the hype is those days) if you prefer.
cpan2pkg doesn't use Getopt::Euclid anymore, and I do not use the autogeneration of Makefile.PL feature from Build.PL Therefore, the ticket should be closed. Please reopen if you still experience the problem...