Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Lab-VISA CPAN distribution.

Report information
The Basics
Id: 62430
Status: resolved
Priority: 0/
Queue: Lab-VISA

People
Owner: schroeer [...] cpan.org
Requestors: andreas.werner [...] deister-gmbh.de
Cc:
AdminCc:

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



Subject: include path wrong in Makefile.PL: 'visa.h': No such file or directory
The include path in the file Makefile.PL contains a space at the end (see line 28): ... 'INC' => '"-IC:\\VXIPNP\\WinNT\\include "', ... Uncommenting the swig part in the Makefile.PL it causes the following output (on Windows XP): C:\temp\Lab-VISA-2.06>nmake Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten. cp lib/Lab/VISA/Tutorial.pod blib\lib\Lab\VISA\Tutorial.pod cp VISA.pod blib\lib\Lab\VISA.pod cp lib/Lab/VISA/Installation.pod blib\lib\Lab\VISA\Installation.pod cp VISA.pm blib\lib\Lab\VISA.pm cl -c "-IC:\VXIPNP\WinNT\include " -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_ DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSV CRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"2.06\" -DXS_VERSION=\"2.06\" "-IC:\Perl\lib\CORE" visa_wrap.c visa_wrap.c visa_wrap.c(1496) : fatal error C1083: Include-Datei kann nicht geoeffnet werden: 'visa.h': No such file or directory NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' Stop. Removing the space fixes the Problem: 'INC' => '"-IC:\\VXIPNP\\WinNT\\include"'
From: andreas.werner [...] deister-gmbh.de
Am Mo 25. Okt 2010, 07:10:20, andreas.werner schrieb: Show quoted text
> The include path in the file Makefile.PL contains a space at the end > (see line 28): > > ... > 'INC' => '"-IC:\\VXIPNP\\WinNT\\include "', > ... > > Uncommenting the swig part in the Makefile.PL it causes the following > output (on Windows XP): > > C:\temp\Lab-VISA-2.06>nmake > > Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten. > > cp lib/Lab/VISA/Tutorial.pod blib\lib\Lab\VISA\Tutorial.pod > cp VISA.pod blib\lib\Lab\VISA.pod > cp lib/Lab/VISA/Installation.pod blib\lib\Lab\VISA\Installation.pod > cp VISA.pm blib\lib\Lab\VISA.pm > cl -c "-IC:\VXIPNP\WinNT\include " -nologo -GF -W3 -MD -Zi > -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_ > DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC > -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSV > CRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"2.06\" > -DXS_VERSION=\"2.06\" "-IC:\Perl\lib\CORE" visa_wrap.c > visa_wrap.c > visa_wrap.c(1496) : fatal error C1083: Include-Datei kann nicht > geoeffnet werden: 'visa.h': No such file or directory > NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' > Stop. > > Removing the space fixes the Problem: > > 'INC' => '"-IC:\\VXIPNP\\WinNT\\include"' >
Thank you for the report. That is a bug indeed. We will fix it in the next version.
This (the blank space) has been fixed long ago... btw, as documentation says you'll have to adapt the path on your local installation. There is no universally correct setting.