I'm coming into this a bit late and I don't have the complete thread to hand, but what about installing the ppm file for Win32::Shortcut (I believe there is one). That way you don't have to worry about compilation.
Sent via BlackBerry by AT&T -----Original Message----- From: "Haufler, Wayne A" <[EMAIL PROTECTED]> Date: Wed, 1 Oct 2008 18:09:08 To: <[email protected]>; <[EMAIL PROTECTED]> Cc: Wayne Haufler \(E-mail 2\)<[EMAIL PROTECTED]>; Haufler,Wayne A<[EMAIL PROTECTED]> Subject: Re: [pm-h] Help building Shortcut; Need make.exe for PC Bottomline Question First: What is "cl" in Unix? Thank you all for your responses and suggestions. Unfortunately, I don't believe Boeing would allow me to install Strawberry Perl, so am constrained to ActivePerl, which is pretty good, methinks. I did download and install NMake.exe from microsoft. I tried running "perl Makefile.pl" from a cygwin bash shell, but got: Perl.exe - Entry Point Not Found The procedure entry point__isnand could not be located in the dynamic link library cygwin1.dll. However, tried that in a DOS Command Prompt window and it seemed to work. I then tried running "nmake". The results are the same in both shells. nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Shortcut.pm blib\lib\Win32\Shortcut.pm C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap Shortcut.xs >xstmp.c && C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib -MExtUtils::Command -e mv xstmp.c Shortcut.cpp cl -c -nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -Zi -DNDEBUG -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -IC:\Perl\lib\ CORE Shortcut.cpp 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. Even as an old Unix guru, I don't recognize 'cl'. Given the command line arguments, I'd guess it is a compiler, and given the last argument of "Shortcut.cpp" it must be a C++ compiler, right? Oh, this NMake.exe was supposed to come with Visual Studio, which I don't have, and probably can't have on this machine. I'll check again to see if I can install it. Thanks, -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- Wayne A. Haufler Senior Software Engineer (SE) In Space Shuttle Program (SSP) Backup Flight System (BFS) Displays & Controls Requirements Analyst Boeing, NASA Systems, Houston Voice: 281-226-8626 , Cubicle: 5475 E-mail: [EMAIL PROTECTED] Boeing Toastmaster (Club 4908): VP Education > _____________________________________________ > From: Haufler, Wayne A > Sent: Tuesday, September 23, 2008 3:36 PM > To: [email protected]; [EMAIL PROTECTED] > Cc: Haufler, Wayne A; Wayne Haufler (E-mail 2) > Subject: Help building Shortcut; Need make.exe for PC > > > I have been trying to write a short Perl script on a PC (ActivePerl) > that would replace duplicate copies of huge video files with Shortcuts > to the corresponding original video files. To do this, I need and > acquired the Win32::Shortcut module from CPAN. > > The Shortcut's README file claims "You can always find the latest > version of this package online at: > http://www.divinf.it/dada/perl/shortcut > > But that dada directory does not appear to exist. > > In Win32-Shortcut-0.07\docs\intro.html > > Installation Instructions > 1. Run the INSTALL.BAT program. > 2. Run the TEST.PL script to see if everything works > > Whereas, the only two files in the eg directory are: ln32.bat and > sample.pl. > > Anyway, somewhere I found build instructions involving make. > Shortcut does come with a Makefile and a Makefile.pl. > I understand Makefile.pl is used with ExtUtils:MakeMaker to generate > the Makefile. > > I'm familiar with make in the Unix world (years ago), but > can't seem to acquire any form of make program for the PC world. > > I do have Cygwin installed (though not the entire package), > but no version of make.exe or gmake.exe is found there. > > Must I reinstall the WHOLE Cygwin package? to get make.exe? > > Also am aware of minGW and MSYS and tried to install them for their > (supposed) version of make, but keep running into obstacles. > > I know, I should ask the Perl::Win32::users list (or similar). > > > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-- > Wayne A. Haufler > Senior Software Engineer (SE) > In Space Shuttle Program (SSP) > Backup Flight System (BFS) > Displays & Controls Requirements Analyst > Boeing, NASA Systems, Houston > Voice: 281-226-8626 , Cubicle: 5475 > E-mail: [EMAIL PROTECTED] > Boeing Toastmaster (Club 4908): VP Education > > _______________________________________________ Houston mailing list [email protected] http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ _______________________________________________ Houston mailing list [email protected] http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/
