Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Wyatt, T. Rob
Dan,

To make this work, I had to set the INCLUDE and LIB environment vars to
point to the mq install dir/Tools/C/Include and mq install dir/Lib,
respectively.  You may need to log off and back on for these to take effect.
When you open a DOS prompt, do a set command and make sure you see the
folders listed.

Once I had my environment vars set I was able to build the module using
nmake (from Microsoft's Visual Studio).  Even though the nmake test always
failed, my programs would run correctly.

Which versions of Windows, Perl and MQSeries module are you working with?

-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl


I need to write a Perl script to run on my windows workstation that will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the MQ
perl libraries.

Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Wyatt, T. Rob
Dan,

The MA89 just points to CPAN.  Hopefully, you've got the latest version of
the Perl module from there - 1.21 I think.  I would definitely update the
client, though.

Still, those things have little bearing on the build.  Where is the build
failing?

-- T.Rob


-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl


T.Rob:
Thanks for the feedback.  I'm using windows 2000, perl 5.8.0, MQ client
5.2.1 and the MQ Perl pac of MA89.

Dan



Daniel John Graper
Software Engineer
Wyeth Pharmaceuticals

 [EMAIL PROTECTED] 12/5/2003 11:41:56 AM 
Dan,

To make this work, I had to set the INCLUDE and LIB environment vars
to
point to the mq install dir/Tools/C/Include and mq install
dir/Lib,
respectively.  You may need to log off and back on for these to take
effect.
When you open a DOS prompt, do a set command and make sure you see
the
folders listed.

Once I had my environment vars set I was able to build the module
using
nmake (from Microsoft's Visual Studio).  Even though the nmake test
always
failed, my programs would run correctly.

Which versions of Windows, Perl and MQSeries module are you working
with?

-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl


I need to write a Perl script to run on my windows workstation that
will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the
MQ
perl libraries.

Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Robert Broderick
THis is not good news BUT...I tried and was having problems with the make
files to build the environment. I eventually dropped the attempt as someone
provided what I needed in REXX.
If you get it running let me know. You will need a supported C compiler to
run the makefiles.
bobbee


From: Daniel Graper [EMAIL PROTECTED]
Reply-To: MQSeries List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl
Date: Fri, 5 Dec 2003 11:11:12 -0500
I need to write a Perl script to run on my windows workstation that will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the MQ
perl libraries.
Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_
Take advantage of our best MSN Dial-up offer of the year   six months
@$9.95/month. Sign up now! http://join.msn.com/?page=dept/dialup
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Daniel Graper
T.Rob:
Please forgive my 'swiss cheese' knowledge of this.  The latest version
would be the 'MQSeries-1.21.tar.gz' ?  I have this and unzipped it.
When I try to follow the install instructions, they say:

This module installs much like anything else available on CPAN.

  perl Makefile.PL
  make
  make test
  make install

I ran the first Perl step but the 'make' commands come up as
unrecognized.  Some other internet colleagues has said that I need to
have Micorsoft visual C on my workstation to install.  I have the visual
studio on a laptop at home so I was going to try this tonight.

I am not clear on what a build actually is.  Is this part of the
install that takes place when you run the make commands?

Dan


 [EMAIL PROTECTED] 12/5/2003 12:28:39 PM 
Dan,

The MA89 just points to CPAN.  Hopefully, you've got the latest version
of
the Perl module from there - 1.21 I think.  I would definitely update
the
client, though.

Still, those things have little bearing on the build.  Where is the
build
failing?

-- T.Rob


-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl


T.Rob:
Thanks for the feedback.  I'm using windows 2000, perl 5.8.0, MQ
client
5.2.1 and the MQ Perl pac of MA89.

Dan



Daniel John Graper
Software Engineer
Wyeth Pharmaceuticals

 [EMAIL PROTECTED] 12/5/2003 11:41:56 AM 
Dan,

To make this work, I had to set the INCLUDE and LIB environment vars
to
point to the mq install dir/Tools/C/Include and mq install
dir/Lib,
respectively.  You may need to log off and back on for these to take
effect.
When you open a DOS prompt, do a set command and make sure you see
the
folders listed.

Once I had my environment vars set I was able to build the module
using
nmake (from Microsoft's Visual Studio).  Even though the nmake test
always
failed, my programs would run correctly.

Which versions of Windows, Perl and MQSeries module are you working
with?

-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl


I need to write a Perl script to run on my windows workstation that
will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the
MQ
perl libraries.

Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Robert Broderick
TRob, Thanks too.

 bobbee


From: Wyatt, T. Rob [EMAIL PROTECTED]
Reply-To: MQSeries List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl
Date: Fri, 5 Dec 2003 08:41:56 -0800
Dan,

To make this work, I had to set the INCLUDE and LIB environment vars to
point to the mq install dir/Tools/C/Include and mq install dir/Lib,
respectively.  You may need to log off and back on for these to take
effect.
When you open a DOS prompt, do a set command and make sure you see the
folders listed.
Once I had my environment vars set I was able to build the module using
nmake (from Microsoft's Visual Studio).  Even though the nmake test
always
failed, my programs would run correctly.
Which versions of Windows, Perl and MQSeries module are you working with?

-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl
I need to write a Perl script to run on my windows workstation that will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the MQ
perl libraries.
Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_
Browse styles for all ages, from the latest looks to cozy weekend wear at
MSN Shopping.  And check out the beauty products! http://shopping.msn.com
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Ian Steyn

Dan,

What C/C++ compiler are you using? 
I could not get it working with Cygwin.

Ian






Wyatt, T. Rob [EMAIL PROTECTED]
Sent by: MQSeries List [EMAIL PROTECTED]
12/05/2003 11:28 AM
Please respond to MQSeries List


To:[EMAIL PROTECTED]
cc:
Subject:Re: setting up MQ environment on windows for Perl


Dan,

The MA89 just points to CPAN. Hopefully, you've got the latest version of
the Perl module from there - 1.21 I think. I would definitely update the
client, though.

Still, those things have little bearing on the build. Where is the build
failing?

-- T.Rob


-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl


T.Rob:
Thanks for the feedback. I'm using windows 2000, perl 5.8.0, MQ client
5.2.1 and the MQ Perl pac of MA89.

Dan



Daniel John Graper
Software Engineer
Wyeth Pharmaceuticals

 [EMAIL PROTECTED] 12/5/2003 11:41:56 AM 
Dan,

To make this work, I had to set the INCLUDE and LIB environment vars
to
point to the mq install dir/Tools/C/Include and mq install
dir/Lib,
respectively. You may need to log off and back on for these to take
effect.
When you open a DOS prompt, do a set command and make sure you see
the
folders listed.

Once I had my environment vars set I was able to build the module
using
nmake (from Microsoft's Visual Studio). Even though the nmake test
always
failed, my programs would run correctly.

Which versions of Windows, Perl and MQSeries module are you working
with?

-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl


I need to write a Perl script to run on my windows workstation that
will
access MQ message queues. I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the
MQ
perl libraries.

Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive




Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Daniel Graper
Ian:
I am going to try the C compiler in the visual studio suite of
tools...

wish me luck

 [EMAIL PROTECTED] 12/5/2003 12:49:22 PM 
Dan,

What C/C++ compiler are you using?
I could not get it working with Cygwin.

Ian




Wyatt, T. Rob [EMAIL PROTECTED]
Sent by: MQSeries List [EMAIL PROTECTED]
12/05/2003 11:28 AM
Please respond to MQSeries List


To: [EMAIL PROTECTED]
cc:
Subject:Re: setting up MQ environment on windows for
Perl


Dan,

The MA89 just points to CPAN.  Hopefully, you've got the latest version
of
the Perl module from there - 1.21 I think.  I would definitely update
the
client, though.

Still, those things have little bearing on the build.  Where is the
build
failing?

-- T.Rob


-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl


T.Rob:
Thanks for the feedback.  I'm using windows 2000, perl 5.8.0, MQ
client
5.2.1 and the MQ Perl pac of MA89.

Dan



Daniel John Graper
Software Engineer
Wyeth Pharmaceuticals

 [EMAIL PROTECTED] 12/5/2003 11:41:56 AM 
Dan,

To make this work, I had to set the INCLUDE and LIB environment vars
to
point to the mq install dir/Tools/C/Include and mq install
dir/Lib,
respectively.  You may need to log off and back on for these to take
effect.
When you open a DOS prompt, do a set command and make sure you see
the
folders listed.

Once I had my environment vars set I was able to build the module
using
nmake (from Microsoft's Visual Studio).  Even though the nmake test
always
failed, my programs would run correctly.

Which versions of Windows, Perl and MQSeries module are you working
with?

-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl


I need to write a Perl script to run on my windows workstation that
will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the
MQ
perl libraries.

Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Robert Broderick
When I was trying this and I had exchanged EMAILs with the current developer
who is mentioned in the README.txt file he said that it was compileable
under Visual Studio. The problem I had, which I indicated before, was the
actual makfile had a syntax error in it that I could not get around.
 bobbee


From: Daniel Graper [EMAIL PROTECTED]
Reply-To: MQSeries List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl
Date: Fri, 5 Dec 2003 13:05:11 -0500
Ian:
I am going to try the C compiler in the visual studio suite of
tools...
wish me luck

 [EMAIL PROTECTED] 12/5/2003 12:49:22 PM 
Dan,
What C/C++ compiler are you using?
I could not get it working with Cygwin.
Ian



Wyatt, T. Rob [EMAIL PROTECTED]
Sent by: MQSeries List [EMAIL PROTECTED]
12/05/2003 11:28 AM
Please respond to MQSeries List
To: [EMAIL PROTECTED]
cc:
Subject:Re: setting up MQ environment on windows for
Perl
Dan,

The MA89 just points to CPAN.  Hopefully, you've got the latest version
of
the Perl module from there - 1.21 I think.  I would definitely update
the
client, though.
Still, those things have little bearing on the build.  Where is the
build
failing?
-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl
T.Rob:
Thanks for the feedback.  I'm using windows 2000, perl 5.8.0, MQ
client
5.2.1 and the MQ Perl pac of MA89.
Dan



Daniel John Graper
Software Engineer
Wyeth Pharmaceuticals
 [EMAIL PROTECTED] 12/5/2003 11:41:56 AM 
Dan,
To make this work, I had to set the INCLUDE and LIB environment vars
to
point to the mq install dir/Tools/C/Include and mq install
dir/Lib,
respectively.  You may need to log off and back on for these to take
effect.
When you open a DOS prompt, do a set command and make sure you see
the
folders listed.
Once I had my environment vars set I was able to build the module
using
nmake (from Microsoft's Visual Studio).  Even though the nmake test
always
failed, my programs would run correctly.
Which versions of Windows, Perl and MQSeries module are you working
with?
-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl
I need to write a Perl script to run on my windows workstation that
will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the
MQ
perl libraries.
Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan
Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_
Tired of slow downloads and busy signals?  Get a high-speed Internet
connection! Comparison-shop your local high-speed providers here.
https://broadband.msn.com
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Ken Woloschuk
Give this a try.  The nmake test may skip some tests
but the the software still seems to work.

C:\MQ_PER~1\MQSERI~1.20ls
C:\MQ_PER~1\MQSERI~1.20\*.*
.exists [t.in]
[.options]  [util]
[blib]  Changes.html
[examples]  Changes.src
[include]   CONFIG
[MQClient]  COPYRIGHT
[MQSeries-Message-DeadLetter]   LICENSE
[MQSeries-Message-PCF]  Makefile
[MQSeries-Message-RulesFormat]  Makefile.PL
[MQSeries-OAM]  MANIFEST
[MQSeries-PubSub]   MQSeries.pm
[MQSeries]  pm_to_blib
[MQServer]  README
[pre.in]README.html
253952 (228917) bytes in 13 files

C:\MQ_PER~1\MQSERI~1.20

C:\MQ_PER~1\MQSERI~1.20echo %path%

.
.
.
C:\Perl\bin\;
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;
C:\Program Files\Microsoft Visual Studio\Common\Tools;
C:\Program Files\Microsoft Visual Studio\VC98\bin


C:\MQ_PER~1\MQSERI~1.20echo %lib%
C:\Program Files\IBM\WebSphere MQ\tools\lib;
C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;
C:\Program Files\Microsoft Visual Studio\VC98\lib


C:\MQ_PER~1\MQSERI~1.20echo %include%
C:\Program Files\IBM\WebSphere MQ\tools\c\include;
C:\Program Files\IBM\WebSphere MQ\tools\cplus\include;
C:\Program Files\Microsoft Visual Studio\VC98\atl\include;
C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;
C:\Program Files\Microsoft Visual Studio\VC98\include

  edit the CONFIG file according to your configuration 

C:\MQ_PER~1\MQSERI~1.20perl Makefile.PL

C:\MQ_PER~1\MQSERI~1.20nmake test

C:\MQ_PER~1\MQSERI~1.20nmake install

Good luck!

-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Daniel
Graper
Sent: Friday, December 05, 2003 10:11
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl


I need to write a Perl script to run on my windows workstation that will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the MQ
perl libraries.

Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: setting up MQ environment on windows for Perl

2003-12-05 Thread Wyatt, T. Rob
Dan,

I have successfully done this on Windows NT and 2000 using VC++ and later
Visual Studio.NET's C compiler.  Change make to nmake and it should
work.

Assuming you have the same version of Perl across several Windows machines,
once you build the module you can install it on other servers/workstations
just by copying the files over.  The files to copy would be:

perl install/site/lib/MQSeries.pm
perl install/site/lib/MQClient (Folder  contents)
perl install/site/lib/MQSeries (Folder  contents)
perl install/site/lib/MQServer (Folder  contents)

Plus the ones everyone forgets...

perl install/site/lib/auto/MQSeries (Folder  contents)
perl install/site/lib/auto/MQServer (Folder  contents)

The build is a series of steps that configure the module (perl
Makefile.pl); extract, compile and install the module in a staging directory
(nmake); test the success of the build (nmake test); and finally, install
the module where Perl will find it at run-time (nmake install).  The reason
all this is necessary is that there are hundreds of possible combinations of
compatible Perl versions and compatible MQSeries libraries.  The nmake step
builds the glue files that connect your version of Perl to your installed
version of MQ by compiling the C header files (cmqc.h, etc.).  The compiler
is required because you are crossing over from Perl to native C calls.

Since building the module on Windows is so pesky, we invested in the Active
State's Perl Dev Kit.  This lets us compile our scripts into stand-alone
programs that can be distributed to servers without having to install Perl,
build the module, etc.

-- T.Rob


-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 12:43 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl


T.Rob:
Please forgive my 'swiss cheese' knowledge of this.  The latest version
would be the 'MQSeries-1.21.tar.gz' ?  I have this and unzipped it.
When I try to follow the install instructions, they say:

This module installs much like anything else available on CPAN.

  perl Makefile.PL
  make
  make test
  make install

I ran the first Perl step but the 'make' commands come up as
unrecognized.  Some other internet colleagues has said that I need to
have Micorsoft visual C on my workstation to install.  I have the visual
studio on a laptop at home so I was going to try this tonight.

I am not clear on what a build actually is.  Is this part of the
install that takes place when you run the make commands?

Dan


 [EMAIL PROTECTED] 12/5/2003 12:28:39 PM 
Dan,

The MA89 just points to CPAN.  Hopefully, you've got the latest version
of
the Perl module from there - 1.21 I think.  I would definitely update
the
client, though.

Still, those things have little bearing on the build.  Where is the
build
failing?

-- T.Rob


-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: setting up MQ environment on windows for Perl


T.Rob:
Thanks for the feedback.  I'm using windows 2000, perl 5.8.0, MQ
client
5.2.1 and the MQ Perl pac of MA89.

Dan



Daniel John Graper
Software Engineer
Wyeth Pharmaceuticals

 [EMAIL PROTECTED] 12/5/2003 11:41:56 AM 
Dan,

To make this work, I had to set the INCLUDE and LIB environment vars
to
point to the mq install dir/Tools/C/Include and mq install
dir/Lib,
respectively.  You may need to log off and back on for these to take
effect.
When you open a DOS prompt, do a set command and make sure you see
the
folders listed.

Once I had my environment vars set I was able to build the module
using
nmake (from Microsoft's Visual Studio).  Even though the nmake test
always
failed, my programs would run correctly.

Which versions of Windows, Perl and MQSeries module are you working
with?

-- T.Rob

-Original Message-
From: Daniel Graper [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:11 AM
To: [EMAIL PROTECTED]
Subject: setting up MQ environment on windows for Perl


I need to write a Perl script to run on my windows workstation that
will
access MQ message queues.  I has dowloaded the Perl interpreter and
installed the MQ client but am having some challenges installing the
MQ
perl libraries.

Has anyone out there installed the MA89 MQ modules for windows before?

thanks,
Dan

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided
in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription