[pm-h] Help building Shortcut; Need make.exe for PC

G. Wade Johnson gwadej at anomaly.org
Wed Oct 1 18:04:18 PDT 2008


On Wed, 1 Oct 2008 18:09:08 -0500
"Haufler, Wayne A" <Wayne.A.Haufler at boeing.com> wrote:

> Bottomline Question First:  What is "cl" in Unix?

cl was the name of the old Microsoft "compile/link" program. It served
as a front-end to the compiler and linker (like gcc under Linux).

> 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.

That definitely looks like it's trying to run the MS compiler.

> 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.

That might simplify things. It looks like the Makefile is expecting cl
to be available.

Sorry I can't be of more help.
G. Wade

> 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: wayne.a.haufler at boeing.com
> Boeing Toastmaster (Club 4908):  VP Education 
> 
> 
> 
> > _____________________________________________ 
> > From: 	Haufler, Wayne A  
> > Sent:	Tuesday, September 23, 2008 3:36 PM
> > To:	houston at pm.org; dada at perl.it
> > 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: wayne.a.haufler at boeing.com
> > Boeing Toastmaster (Club 4908):  VP Education 
> > 
> > 
> _______________________________________________
> Houston mailing list
> Houston at pm.org
> http://mail.pm.org/mailman/listinfo/houston
> Website: http://houston.pm.org/


-- 
They made a very satisfying thump when they hit the floor.
                            -- G'Kar - "A Late Delivery from Avalon"


More information about the Houston mailing list