Author |
Message
|
psn |
Posted: Wed Jun 22, 2005 10:16 pm Post subject: WMQ Perl Modul installation |
|
|
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
|
Hi,
when I start makefile.pl i have the following missing library have you an idea what is missing ? path ?
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>perl makefile.p
Note (probably harmless): No library found for -lmqicg
Note (probably harmless): No library found for -lmqic
Note (probably harmless): No library found for -lmqmcs
Note (probably harmless): No library found for -lmqmzse
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for wsock32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for MQClient::MQSeries
Writing Makefile for MQSeries::Message::DeadLetter
Writing Makefile for MQSeries::Message::PCF
Writing Makefile for MQSeries::Message::RulesFormat
Warning: Guessing NAME [MQSeries-OAM] from current directory
Writing Makefile for MQSeries::PubSub
Note (probably harmless): No library found for -lmqmcs
Note (probably harmless): No library found for -lmqmzse
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for wsock32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for MQServer::MQSeries
Writing Makefile for MQSeries
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>
thanks
PSN |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 23, 2005 3:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Does the module install anyway?
I would say, basically, that it's complaining that you don't have the MQ Client installed.
And then maybe that you don't have your MQ installation on your lib or include paths.
But if it installs anyway, then these warnings are indeed probably harmless. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
psn |
Posted: Thu Jun 23, 2005 5:04 am Post subject: |
|
|
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
|
I test an mq perl script:
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>perl getput.pl
Can't locate loadable object for module MQServer::MQSeries in @INC (@INC contain
s: C:/Perl/lib C:/Perl/site/lib .) at MQSeries.pm line 77
Compilation failed in require at MQSeries.pm line 77.
BEGIN failed--compilation aborted at MQSeries.pm line 89.
Compilation failed in require at getput.pl line 2.
BEGIN failed--compilation aborted at getput.pl line 2.
it seems not be ok !
PSN |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 23, 2005 5:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You have to have a C compiler to install this module, you also have to have a make tool.
In order for the test to pass successfully, you have to hand edit the CONFIG file in the directory to set the Qmgr name, if you have a local qmgr.
Then you have to run the regular perl module installation process, each step being successfull.
perl Makefile.pl
(make program)
(make program) test
(make program) install
On windows, the (make program) is usually nmake, as supplied with Visual Studio. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
psn |
Posted: Thu Jun 23, 2005 7:22 am Post subject: |
|
|
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
|
Hi ,
I have now install the mingw compiler but I have the follow problem now:
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>make
make: *** No rule to make target `C:\Perl\lib^', needed by `makefile'. Stop.
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>
thanks
PSN |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 23, 2005 7:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Rerun Makefile.pl. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
psn |
Posted: Thu Jun 23, 2005 7:35 am Post subject: |
|
|
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
|
i have rerun it but I have the same error !!
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>perl makefile.pl
Note (probably harmless): No library found for -lmqicg
Note (probably harmless): No library found for -lmqic
Note (probably harmless): No library found for -lmqmcs
Note (probably harmless): No library found for -lmqmzse
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for wsock32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for MQClient::MQSeries
Writing Makefile for MQSeries::Message::DeadLetter
Writing Makefile for MQSeries::Message::PCF
Writing Makefile for MQSeries::Message::RulesFormat
Warning: Guessing NAME [MQSeries-OAM] from current directory name.
Writing Makefile for MQSeries::PubSub
Note (probably harmless): No library found for -lmqmcs
Note (probably harmless): No library found for -lmqmzse
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for wsock32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for MQServer::MQSeries
Writing Makefile for MQSeries
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>make
make: *** No rule to make target `C:\Perl\lib^', needed by `makefile'. Stop.
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>
thanks
PSN |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 23, 2005 8:17 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What are the values of "lib" and "include" environment variables in your shell when you run perl Makefile.pl _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
psn |
Posted: Thu Jun 23, 2005 8:33 am Post subject: |
|
|
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
|
Hi,
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>set lib
lib=C:\Program Files\IBM\WebSphere MQ\tools\lib;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\PR
OGRA~1\IBM\WEBSPH~1.1\lib;C:\Program Files\IBM\WBIMB50\lib
D:\DATA\Projekt\WMQServer\Perl\MQSeries-1.23>set include
include=C:\PROGRA~1\IBM\SQLLIB\INCLUDE;C:\PROGRA~1\IBM\SQLLIB\LIB;C:\Program Fil
es\IBM\WebSphere MQ\tools\c\include;C:\Program Files\IBM\WebSphere MQ\tools\cplu
s\include;C:\Program Files\IBM\WBIMB50\include
thanks
PSN |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 23, 2005 8:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This explains all the warnings you are getting from Makefile.pl - you do not have the Windows Platform SDK files on your include/lib paths.
See if mingw came with such a thing, and add the appropriate paths to your lib and include, and then try again. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
psn |
Posted: Thu Jun 23, 2005 9:50 pm Post subject: |
|
|
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
|
Hi,
I have search on my Maschine the libraries are not installed no it !
Do you know where there are to find ?
Do you know if I have to recompile the perl mq Module for Window NT or can I use the perl Module compiled on Win 2000 on NT ?
thanks
PSN |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 24, 2005 3:14 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can download the Platform SDK from Microsoft - in fact, you can download their compiler as well. Look for the Visual C++ Toolkit 2003 for the compiler and the Platform SDK for the libraries.
I do not know if you can use a module compiled on a 2000 machine on an NT machine. It might work, it might not. Try it! I believe that the big sticking point will be the versions of Perl you are using on the different machines - as long as they are very close to being the same, you should be okay - but if one is 5.6.x and one is 5.8.x you're out of luck (these releases are not binary compatible). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|