Hi Ludovic,

this is on Cygwin, not a "regular" Perl; the Makefile.PL does not detect 
that we're running windows, hence it adds a
  INC=`pkgconfig ...`
line. After correcting that I get the following error:

# perl Makefile.PL
osname: cygwin
LDDFLAGS:
INC:
Checking if your kit is complete...
Looks good
Writing Makefile for Chipcard::PCSC::Card
Writing Makefile for Chipcard::PCSC

#  make
cp PCSC.pod blib/lib/Chipcard/PCSC.pod
cp PCSC.pm blib/lib/Chipcard/PCSC.pm
make[1]: Entering directory `/c/users/janjust/src/pcsc-perl-1.4.7/Card'
cp Card.pod ../blib/lib/Chipcard/PCSC/Card.pod
cp Card.pm ../blib/lib/Chipcard/PCSC/Card.pm
make[1]: Leaving directory `/c/users/janjust/src/pcsc-perl-1.4.7/Card'
/usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8/ExtUtils/typemap -typemap typemap  PCSC.xs > PCSC.xsc 
&& mv PCSC.xsc PCSC.c
gcc -c   -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-Wdeclaration-after-statement -DUSEIMPORTLIB -O3   -DVERSION=\"0.05\" 
-DXS_VERSION=\"0.05\"  "-I/usr/lib/perl5/5.8/cygwin/CORE"  -O2 -Wall PCSC.c
In file included from PCSC.xs:36:
PCSCperl.h:125:24: pcsclite.h: No such file or directory
In file included from PCSC.xs:36:
PCSCperl.h:143: error: parse error before '*' token

Now it tries to call 'gcc' to compile something and it is missing 
pcsclite.h ; I don't have ActivePerl installed (nor do I wish to , 
really) so what other options are there to test this?

cheers,

JJK

Ludovic Rousseau wrote:
> On Tue, Mar 18, 2008 at 3:48 PM, Jan Just Keijser <[EMAIL PROTECTED]> wrote:
>   
>> Hi Ludovic,
>>     
>
> Hello,
>
> Thanks for your efforts.
>
>   
>>  how do I build it on Windows, esp the pcsc-lite part? I've managed to
>>  build both pcsc-lite 1.4.0 and pcsc-perl on Windows XP with Cygwin but
>>   make test
>>  fails (cannot load PCSC library) ...
>>     
>
> You do not have to install pcsc-lite on Windows. The PC/SC API is
> already provided by Microsoft (it is called winscard.dll).
>
> If you can run "make test" I assume the compilation was correct.
> Do not forget to cut-and-paste any logs with the error messages when
> reporting a problem.
>
> bye
>
>   

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to