Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mouse CPAN distribution.

Report information
The Basics
Id: 55419
Status: resolved
Priority: 0/
Queue: Mouse

People
Owner: Nobody in particular
Requestors: Ruediger.Bodack [...] alpine.de
Cc:
AdminCc:

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



Subject: Problem compiling Mouse under Strawberry including Workaround
Date: Wed, 10 Mar 2010 11:43:23 +0100
To: bug-Mouse [...] rt.cpan.org
From: Ruediger Bodack <Ruediger.Bodack [...] alpine.de>
Dear All, when I try to compile Mouse, I get: C:\strawberry\cpan\build\Mouse-0.50-g96qRh>dmake all dlltool --def Mouse.def --output-exp dll.exp g++ -o blib\arch\auto\Mouse\Mouse.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C :\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" xs-src/Mouse.o xs-src/M ouseAccessor.o xs-src/MouseAttribute.o xs-src/MouseTypeConstraints.o xs-src/MouseUtil.o -Wl,--image-base,0x28410000 C:\strawberry\perl\lib\CORE\libp erl510.a -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 - ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp xs-src/Mouse.o:Mouse.c:(.text+0xcb4): undefined reference to `newSVpvs_flags' xs-src/Mouse.o:Mouse.c:(.text+0x1dd3): undefined reference to `newSVpvs_flags' xs-src/MouseAttribute.o:MouseAttribute.c:(.text+0x61f): undefined reference to ` newSVpvs_flags' xs-src/MouseAttribute.o:MouseAttribute.c:(.text+0x667): undefined reference to ` newSVpvs_flags' xs-src/MouseAttribute.o:MouseAttribute.c:(.text+0x158f): undefined reference to `newSVpvs_flags' xs-src/MouseAttribute.o:MouseAttribute.c:(.text+0x15d5): more undefined referenc es to `newSVpvs_flags' follow xs-src/MouseTypeConstraints.o:MouseTypeConstraints.c:(.text+0x808): undefined re ference to `DEFSV_set' xs-src/MouseUtil.o:MouseUtil.c:(.text+0xa6): undefined reference to `mPUSHs' xs-src/MouseUtil.o:MouseUtil.c:(.text+0xc3): undefined reference to `mPUSHs' xs-src/MouseUtil.o:MouseUtil.c:(.text+0xbb3): undefined reference to `mPUSHs' xs-src/MouseUtil.o:MouseUtil.c:(.text+0xbe1): undefined reference to `mPUSHs' xs-src/MouseUtil.o:MouseUtil.c:(.text+0x11fd): undefined reference to `mXPUSHs' collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\Mouse\Mouse.dll' C:\strawberry\cpan\build\Mouse-0.50-g96qRh> I could fix this by replacing ppport.h by the latest one from DateTime-0.53-gUC_xN and inserting the following line to MouseAccessor.xs MouseTypeConstraints.xs MouseUtil.xs Mouse.xs #include "ppport.h" This is of course a stupid workaround by a know-nothing, but it helped me out. Rüdiger
Hi, Rüdiger. Do you have Devel::PPPort v3.19 (or newer) in your machine? mouse.h includes ppport.h, so it should be no problem. The ppport.h file, however, is dynamically created by Makefile.PL, so if you does not have newer Devel::PPPort, you will run into such problems. Regards, -- Goro Fuji (gfx) GFUJI at CPAN.org
Subject: [rt.cpan.org #55419] Re: Problem compiling Mouse under Strawberry including Workaround
Date: Thu, 11 Mar 2010 09:25:20 +0100
To: bug-Mouse [...] rt.cpan.org
From: Ruediger Bodack <Ruediger.Bodack [...] alpine.de>
"Goro Fuji via RT" <bug-Mouse@rt.cpan.org> wrote on 11.03.2010 06:18:54: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=55419 > > > Hi, Rüdiger. > > Do you have Devel::PPPort v3.19 (or newer) in your machine? > > mouse.h includes ppport.h, so it should be no problem. > The ppport.h file, however, is dynamically created by > Makefile.PL, so if you does not have newer Devel::PPPort, > you will run into such problems.
Dear Goro Fuji, Thanks for the hint. Strawberry currently uses 3.13 as I just found out. Isn't Mouse supposed to request a dependency to 3.19 (which would be followed by cpan)? Rüdiger
Show quoted text
> Thanks for the hint. Strawberry currently uses 3.13 as I just found out. > Isn't Mouse supposed to request a dependency to 3.19 (which would be > followed by cpan)?
Good! Mouse depends on Devel::PPPort 3.19 with configure_requires, but, yes, I'll add it to build_requires, too. Some CPAN clients might not support configure_requires, I think. -- Goro Fuji (gfx) GFUJI at CPAN.org
This issue has been resolved in 0.51.