Skip Menu |

This queue is for tickets about the Attribute-Params-Validate CPAN distribution.

Report information
The Basics
Id: 132934
Status: new
Priority: 0/
Queue: Attribute-Params-Validate

People
Owner: Nobody in particular
Requestors: barryd.it [...] gmail.com
Cc:
AdminCc:

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



Subject: Regarding Attribute::Params::Validate compile
Date: Thu, 2 Jul 2020 13:48:32 -0700
To: bug-Attribute-Params-Validate [...] rt.cpan.org
From: Barry <barryd.it [...] gmail.com>
The version of perl that I am using is: This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x64-multi-thread It is the one included in the version XAMPP SERVER_SOFTWARE = Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.3 C:\...>uname -a CYGWIN_NT-10.0 DESKTOP-6I9MSBG 3.1.5(0.340/5/3) 2020-06-01 08:59 x86_64 Cygwin I tried to perform a cpan -u It appears that I am missing some header files. The same thing happens when I try to install mod_perl2 And the only place I can find this header file is inside C:\cygwin64\usr\i586-pc-msdosdjgpp\sys-include\direct.h What do you think? Am I missing something? Running install for module 'Attribute::Params::Validate' Running make for D/DR/DROLSKY/Attribute-Params-Validate-1.21.tar.gz CPAN: Digest::SHA loaded ok (v5.84) CPAN: Compress::Zlib loaded ok (v2.06) Checksum for \xampp\cpan\sources\authors\id\D\DR\DROLSKY\Attribute-Params-Validate-1.21.tar.gz ok CPAN: Archive::Tar loaded ok (v2.38) CPAN: File::Temp loaded ok (v0.22) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN.pm: Building D/DR/DROLSKY/Attribute-Params-Validate-1.21.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite Params::Validate 1.21 not found. We have 1.07. Writing Makefile for Attribute::Params::Validate Writing MYMETA.yml and MYMETA.json Show quoted text
---- Unsatisfied dependencies detected during ---- ---- DROLSKY/Attribute-Params-Validate-1.21.tar.gz ---- Params::Validate [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Params::Validate' Running make for D/DR/DROLSKY/Params-Validate-1.29.tar.gz Checksum for \xampp\cpan\sources\authors\id\D\DR\DROLSKY\Params-Validate-1.29.tar.gz ok CPAN: Time::HiRes loaded ok (v1.9725) CPAN.pm: Building D/DR/DROLSKY/Params-Validate-1.29.tar.gz /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmoldname collect2: error: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmoldname collect2: error: ld returned 1 exit status Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Params-Validate' version '1.29' Building Params-Validate gcc -c -I"c" -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2 "-DXS_VERSION=\"1.29\"" "-DVERSION=\"1.29\"" -I"\xampp\perl\lib\CORE" -I"\xampp\c\include" -o "lib\Params\Validate\XS.o" "lib\Params\Validate\XS.c" In file included from /usr/include/w32api/winsock2.h:56, from \xampp\perl\lib\CORE/sys/socket.h:21, from \xampp\perl\lib\CORE/perl.h:1233, from lib\\Params\\Validate\\XS.xs:4: /usr/include/w32api/psdk_inc/_fd_types.h:100:2: warning: #warning "fd_set and associated macros have been defined in sys/types. This can cause runtime problems with W32 sockets" [-Wcpp] 100 | #warning "fd_set and associated macros have been defined in sys/types. \ | ^~~~~~~ In file included from \xampp\perl\lib\CORE/sys/socket.h:21, from \xampp\perl\lib\CORE/perl.h:1233, from lib\\Params\\Validate\\XS.xs:4: /usr/include/w32api/winsock2.h:1025:34: error: conflicting types for 'select' 1025 | WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout); | ^~~~~~ In file included from /usr/include/sys/types.h:50, from \xampp\perl\lib\CORE/perl.h:610, from lib\\Params\\Validate\\XS.xs:4: /usr/include/sys/select.h:62:5: note: previous declaration of 'select' was here 62 | int select __P ((int __n, fd_set *__readfds, fd_set *__writefds, | ^~~~~~ In file included from \xampp\perl\lib\CORE/sys/socket.h:180, from \xampp\perl\lib\CORE/perl.h:1233, from lib\\Params\\Validate\\XS.xs:4: \xampp\perl\lib\CORE/win32.h:106:10: fatal error: direct.h: No such file or directory 106 | #include <direct.h> | ^~~~~~~~~~ compilation terminated. error building dll file from 'lib\Params\Validate\XS.c' at C:/xampp/perl/lib/ExtUtils/CBuilder/Platform/Windows.pm line 130. DROLSKY/Params-Validate-1.29.tar.gz C:\xampp\perl\bin\perl.exe ./Build -- NOT OK CPAN: YAML::XS loaded ok (v0.39) Running Build test Can't test without successful make Running Build install Make had returned bad status, install seems impossible Stopping: 'install' failed for 'Params::Validate'.