ravishon has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am trying to install the mqseries v1.28 cpan module onto my server. it has various C bits, so I have followed the instructions here

http://www.perlmonks.org/index.pl?node=A%20Practical%20Guide%20to%20Co +mpiling%20C%20based%20Modules%20under%20ActiveState%20using%20Microso +ft%20C%2B%2B

downloading what is neccessary.

First time i did nmake i got this back
'c:\Documents' is not recognozed as an internal or external command...

so i moved my d/l of the module to c:\ this time the nmake worked fine nmake test returned this:

C:\MQSeries-1.28>nmake test

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

NMAKE -f Makefile all -nologo
cd ..
NMAKE -f Makefile all -nologo
cd ..
NMAKE -f Makefile all -nologo
cd ..
NMAKE -f Makefile all -nologo
cd ..
NMAKE -f Makefile all -nologo
cd ..

PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93
Copr. 1989-1993 PKWARE Inc. All Rights Reserved.
Shareware version
PKSFX Reg. U.S. Pat. and Tm. Off.

Searching EXE: C:/PERL/BIN/NMAKE.EXE

PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93
Copr. 1989-1993 PKWARE Inc. All Rights Reserved.
Shareware version
PKSFX Reg. U.S. Pat. and Tm. Off.

Searching EXE: C:/PERL/BIN/NMAKE.EXE
PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93
Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version PKSFX Reg. U.S. Pat. and Tm. Off.

Searching EXE: C:/PERL/BIN/NMAKE.EXE
PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93
Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version
PKSFX Reg. U.S. Pat. and Tm. Off.

Searching EXE: C:/PERL/BIN/NMAKE.EXE

PKSFX (R) FAST! Self Extract Utility Version 2.04g
02-01-93
Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version
PKSFX Reg. U.S. Pat. and Tm. Off.
Searching EXE: C:/PERL/BIN/NMAKE.EXE


Am I using the right nmake.exe? It is from here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084

All help appreciated.
Ravi

Replies are listed 'Best First'.
Re: Installing MQSeries cpan module nmake issue
by Corion (Patriarch) on May 09, 2008 at 10:49 UTC
    Searching EXE: C:/PERL/BIN/NMAKE.EXE PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93 Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version PKSFX Reg. U.S. Pat. and Tm. Off. Searching EXE: C:/PERL/BIN/NMAKE.EXE

    It seems that the nmake.exe you downloaded is an archive that contains the real nmake.exe and other files. Extract the archvie and overwrite the nmake.exe you have with the one from the archive.

Re: Installing MQSeries cpan module nmake issue
by andreas1234567 (Vicar) on May 09, 2008 at 10:43 UTC
    What's the output of perl Makefile.PL?

    MQSeries is an interface to IBM's Websphere MQ. A little more info would help: Do you have a local or remote Websphere MQ server? Which OS does it run on? Which OS does the client machine run (if any)? 32 or 64 bits?

    --
    No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
Re: Installing MQSeries cpan module nmake issue
by Anonymous Monk on May 09, 2008 at 12:26 UTC
    First step is Get a copy of Microsoft Visual C++ .NET which comes with newest nmake.
      Thanks....I used a copy from Visual Studio 9 and used it. it made ok.
      test has all "OK" at the bottom but some failed tests and the nmake install seemed ok too.

      so basically, now i have the error:
      Can't load 'C:/Perl/site/lib/auto/MQClient/MQSeries/MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 230. at xxxxxxxx line 14

      Here is what came out of my nmake test
        Can't load 'C:/Perl/site/lib/auto/MQClient/MQSeries/MQSeries.dll' for module MQClient::MQSeries: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 230. at xxxxxxxx line 14

        I think that's telling you that the MQSeries.dll couldn't be loaded because some other dll (probably one of the IBM dll's) could not be found. To make the missing dll locatable, it's usually just a matter of adding that dll's location to the path environment variable.

        Did you get a pop-up along with that error message ? (I think one often does get a pop-up, and the pop-up actually tells you the name of the dll that couldn't be found.)

        Cheers,
        Rob