Author |
Message
|
mrlinux |
Posted: Thu Dec 11, 2003 5:23 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
after running the perl makefile.pl there should be a "makefile" in the same directory if not then the makefile.pl is not running correctly _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
sebastian |
Posted: Mon Dec 15, 2003 8:08 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2003 Posts: 110 Location: Philadelphia
|
When I run the "perl Makefile.PL" I get the error message "ERROR from evaluation of C:\program files\MQSeries Client/Tools" Compilation failed in require at ./Makefile.PL line 14.
I checked the Makefile.PL in the C:\program files\MQSeries Client path and there is no folder called 'tools'
Do you think I need to reinstall the client?
thanks,
Dan _________________ sebastian signature |
|
Back to top |
|
 |
bduncan |
Posted: Mon Dec 15, 2003 4:52 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Quote: |
C:\program files\MQSeries Client/Tools |
The forward slash looks a little suspect.
Have you looked in the makefile to see what it is trying to do here? _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
Cliff |
Posted: Fri Dec 19, 2003 4:06 am Post subject: |
|
|
Centurion
Joined: 27 Jun 2001 Posts: 145 Location: Wiltshire
|
In case it helps, here are some instructions clipped from an email that worked for me:
> Tim,
>
> I have discovered two nmake.exe files on my machine, 1) 161 Kb
01/10/1997
> 2) 77 Kb 16/06/1998. Is yours any more recent?
>
> Cheers -
>
> Cliff
Either should work although the one in the VC++ bin directory is
Probably the best one to use (eg C:\Program Files\Microsoft Visual
Studio\VC98\Bin).
Here's the info for compiling the module (I'm also replying to your
message on MQSeries.net)...
The following instructions for compiling the MQSeries module for Perl
On the Windows platform are based on using the Microsoft VisualC++
compiler.
To compile perl modules you will need a Make utility. VisualC++
should come with Nmake.exe. If the file isn't in the VisualC++ bin
directory then it is available from
http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe . Executing this self-extracting program generates the files readme.txt , nmake.err and nmake.exe. Copy nmake.exe and nmake.err to a directory on your path, eg C:\WINNT\system32\
Edit the CONFIG file as mentioned in the MQSeries module
documentation. You will obviously need to create the queue used for the test suite on the queue manager you specified in the CONFIG file.
Start a command prompt...
From the prompt run the batch file Vcvars.bat (found in the VisualC++
bin directory). This will set up environment variables to enable
VisualC++ to be used from the command line.
'cd' to the directory where you have extracted the MQSeries module
source files
Now follow the commands from the MQSeries module documentation, substituting Nmake for make ...
perl Makefile.PL
Nmake
Nmake test
Nmake install
Before building the module, you need to edit the CONFIG file and change, minimally, the name of the queue manager against which the tests will run. The rest of the defaults should be reasonable, but you will have to customize this file to match your local environment. The CONFIG file has comments which document each of the parameters,
so go read it for more information.
You will obviously need to create the queue used for the test suite
on the queue manager you specified in the CONFIG file.
NOTE: If you do not support client channel table files, then you may
have to set the MQSERVER environment variable in order to allow the
client tests to work.
Any failure in the test suite should a cause for concern. In order to
get more details from it, run it via:
Nmake test TEST_VERBOSE=1
Good luck -
Cliff |
|
Back to top |
|
 |
sebastian |
Posted: Fri Jan 09, 2004 10:24 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2003 Posts: 110 Location: Philadelphia
|
I still am having some problems with the install.
1) I have installed Perl and the MQ client and verified both work fine.
2) I downloaded the latest MQSeries perl module from CPAN, MA89, and expanded it into a directory called ':C:\Perl.'
3) I downloaded the http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe . Make utility, expanded it and also placed the contents into the ':C:\WINNT\system32\ folder.
4) I do not have the vcvars.bat on my workstation but I found vcvars32.bat on another laptop and copied this to the ':C:\Perl' folder and ran it.
5) I ran 'perl makefile.Pl' it seemed to run okay.
6) I tried to run 'Nmake' I get an error that says ' cl is not recognized as an internal or external command, operable program or batch file. I then lists two fatal errors of 'u1077';C:\ WINNT\system32\cmd.exe' return code '0x1'.
Any suggestions are welcome,
Seb _________________ sebastian signature |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Jan 09, 2004 10:29 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
cl is the microsoft command line c compiler, do you have that on your system ??? _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
sebastian |
Posted: Fri Jan 09, 2004 11:31 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2003 Posts: 110 Location: Philadelphia
|
I just went to my command line on my c: drive and typed 'cl'. It came back with the same not recognized message so I would assume that I do not have the line compiler. Is this included with the Visual Studio suite of tools? Is there a workaround to get this module created?
Again....feedback is appreciated,
seb _________________ sebastian signature |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Jan 09, 2004 12:00 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
The cl.exe comes as part of the Visual Studio tools,
look in the C:\Program Files\Microsoft Visual Studio\VC98\Bin directory for cl.exe and then make sure you have a path to that directory. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
EddieA |
Posted: Fri Jan 09, 2004 1:26 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Depending on how you installed VC, you might have to run VCVARS32.BAT before you can use the command line versions.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
sebastian |
Posted: Mon Jan 12, 2004 4:44 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2003 Posts: 110 Location: Philadelphia
|
I am getting Visual Studio installed on this machine today. Once this is done, I will try the installation again. Hopefulley, the cl.exe will be included with the install.
Will send a response soon. As always, thanks for your input.
Seb _________________ sebastian signature |
|
Back to top |
|
 |
sebastian |
Posted: Tue Jan 13, 2004 5:37 am Post subject: |
|
|
 Centurion
Joined: 12 Nov 2003 Posts: 110 Location: Philadelphia
|
I had Visual Studio installed on my workstation (which included the cl.exe) and went through the install procedure again and things look much better.
I ran my simple Perl script which just does an MQCONN and returns a message for success or failure. It works fine when I access the MQ environment on my workstation but I get the message "2058 - qmgr name error" when I try to access a remote MQ server. I double checked that the qmgr is spelled correctly, a server connection channel is set on the remote MQ server and I set the MQSERVER set variable correctly. I even did an amqsputc to the test queue and it works fine so I'm not sure why this is happening yet. I'll search for a similar issue listed and if I can't find one perhaps I'll create a new posting.
In any case, the original issue that was the reason for sending this email has been resolved. I really appreciate all of the help everyone has provided and I hope that I can pay back the favor as I grow from my 'newbie' status.
Thank you very much,
Sebastian
 _________________ sebastian signature |
|
Back to top |
|
 |
sebastian |
Posted: Tue Jan 13, 2004 6:07 am Post subject: issue resolved - thanks! |
|
|
 Centurion
Joined: 12 Nov 2003 Posts: 110 Location: Philadelphia
|
I had Visual Studio installed on my workstation (which included the cl.exe) and went through the install procedure again and things look much better.
I ran my simple Perl script which just does an MQCONN and returns a message for success or failure. It works fine when I access the MQ environment on my workstation but I get the message "2058 - qmgr name error" when I try to access a remote MQ server. I double checked that the qmgr is spelled correctly, a server connection channel is set on the remote MQ server and I set the MQSERVER set variable correctly. I even did an amqsputc to the test queue and it works fine so I'm not sure why this is happening yet. I'll search for a similar issue listed and if I can't find one perhaps I'll create a new posting.
In any case, the original issue that was the reason for sending this email has been resolved. I really appreciate all of the help everyone has provided and I hope that I can pay back the favor as I grow from my 'newbie' status.
Thank you very much,
Sebastian _________________ sebastian signature |
|
Back to top |
|
 |
|