Here is the error I am getting:
bash-3.2# make distributed
/opt/ibm/InfoSphereStreams/bin/sc -a -M sample::DateTimeFormatter
Can't locate loadable object for module XML::Parser::Expat in @INC (@INC contains: /opt/ibm/InfoSphereStreams/system/impl/bin/../../../bin /opt/ibm/InfoSphereStreams/system/impl/bin/../.. /opt/ibm/InfoSphereStreams/system/impl/bin /usr/lib/perl5/5.8.9/x86_64-linux-thread-multi /usr/lib/perl5/5.8.9 /usr/lib/perl5/site_perl/5.8.9/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.9 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.9/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.9 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/5.8.9/x86_64-linux-thread-multi/XML/Parser.pm line 14
CDISP0510E ERROR: Code generation has failed for code generation template '/opt/ibm/InfoSphereStreams/system/impl/template/tuple_h.cgt'.
The XML Parser is installed:
bash-3.2# yum info perl-XML-Parser
Loaded plugins: security
Name : perl-XML-Parser
Arch : x86_64
Version : 2.36
Release : 1.el5.rfx
Size : 761 k
Repo : installed
Summary : A low level Perl module for parsing XML either via trees or
URL : http://search.cpan.org/dist/XML-Parser/
License : Artistic/GPL
Description: This module provides ways to parse XML documents. It is built on
: top of XML::Parser::Expat, which is a lower level interface to
: James Clark's expat library. Each call to one of the parsing
: methods creates a new instance of XML::Parser::Expat which is then
: used to parse the document. Expat options may be provided when the
: XML::Parser object is created. These options are then passed on to
: the Expat object on each parse call. They can also be given as
: extra arguments to the parse methods, in which case they override
: options given at XML::Parser creation time.
Also, the dependency checker reports all is OK.
Thanks for your help!
This topic has been locked.
Pinned topic Compilation Error
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: Compilation Error2012-10-05T20:30:52ZThis is the accepted answer. This is the accepted answer.What version of linux are you running on? What hardware? 32-bit/64-bit? What version is the Streams product?
On one of our systems I see Expat.pm in /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/Parser. In your install it seems to be looking down the 32 bit path (ie: /usr/lib/perl5/...). Can Expat.pm be found on the system anywhere? According to RPM that file is owned by the package perl-XML-Parser so it should be there if it installed okay.
Re: Compilation Error2012-10-05T21:17:00ZThis is the accepted answer. This is the accepted answer.
laurieaw 1100006HTR72 Posts
Re: Compilation Error2012-10-06T10:45:53ZThis is the accepted answer. This is the accepted answer.
Re: Compilation Error2012-10-06T17:40:20ZThis is the accepted answer. This is the accepted answer.
mendell 120000KPGC219 Posts
Re: Compilation Error2012-10-07T14:01:13ZThis is the accepted answer. This is the accepted answer.Can you post the results of:
ls -l /opt/ibm/InfoSphereStreams/system/impl/template/tuple_h.*
This may help figure out the problem
Re: Compilation Error2012-10-07T17:39:09ZThis is the accepted answer. This is the accepted answer.
- mendell 120000KPGC
-rw-r--r-- 1 root root 770 Mar 20 2012 /opt/ibm/InfoSphereStreams/system/impl/template/tuple_h.cgt~
-rw-r--r-- 1 streamsuser streamsuser 19059 Mar 20 2012 /opt/ibm/InfoSphereStreams/system/impl/template/tuple_h.pm
Sun Oct 7 13:37:05 EDT 2012
mendell 120000KPGC219 Posts
Re: Compilation Error2012-10-08T00:37:52ZThis is the accepted answer. This is the accepted answer.tuple_h.cgt~ isn't right. It should be tuple_h.cgt. Something has messed up that file, which is essential to compiling. Can you please try re-installing streams, or at least installing it in another location, and looking at the files again?
Re: Compilation Error2012-10-08T00:51:23ZThis is the accepted answer. This is the accepted answer.
Re: Compilation Error2012-10-09T12:55:53ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
4096 Mar 20 2012 CppOp/
1799 Mar 20 2012 enum_cpp.pm
3589 Mar 20 2012 enum_h.pm
7580 Mar 20 2012 facade_tuple_cpp.pm
22785 Mar 20 2012 facade_tuple_h.pm
4096 Mar 20 2012 GenericOp/
4096 Mar 20 2012 JavaOp/
778 Mar 20 2012 pe_cpp.pm
1112 Mar 20 2012 pe_h.pm
1027 Mar 20 2012 standalone_cpp.pm
301 Mar 20 2012 standalone_h.pm
6582 Mar 20 2012 tuple_cpp.pm
19059 Mar 20 2012 tuple_h.pm
Note that there are no cgt files. It is interesting that root is the owner of the funny cgt file.
This is an install of the 184.108.40.206 trial version. Where did you get this trial version from?
Re: Compilation Error2012-10-09T17:14:59ZThis is the accepted answer. This is the accepted answer.
Re: Compilation Error2012-10-09T17:49:48ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
We don't have any files that end with a tilde so I have no idea how that file came to be.
kjerick 060001Q1QN227 Posts
Re: Compilation Error2012-10-09T18:35:45ZThis is the accepted answer. This is the accepted answer.
- hnasgaard 27000064QT
Re: Compilation Error2012-11-29T19:38:52ZThis is the accepted answer. This is the accepted answer.
- kjerick 060001Q1QN
CDISP0510E Code generation has failed for code generation template '/home/streamsadmin/eclipse/StreamsStudio/workspace/HealthcareToolkit/com.ibm.eme/Square/Square_cpp.cgt'.
I uninstalled the perl-XML-Simple, comparing to other machine here I had perl-XML-Parser version 2.36 whereas I should have version 2.18. The dependency checker evaluated the system and did not find errors or warnings.