- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compiling Perl Modules
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 04:43 PM
тАО03-31-2009 04:43 PM
Compiling Perl Modules
------------------
cc: "Oracle.xsi", line 277: warning 524: Cast (non-lvalue) appears on left-hand side of assignment.
cc: "Oracle.xsi", line 277: error 1549: Modifiable lvalue required for assignment operator.
cc: "Oracle.xsi", line 336: warning 524: Cast (non-lvalue) appears on left-hand side of assignment.
cc: "Oracle.xsi", line 336: error 1549: Modifiable lvalue required for assignment operator.
*** Error exit code 1
Stop.
---------------------
...and I can't seem to get past this. I installed the latest DBI with the 'perl Makefile.PL/make/make test/make install' commands and it worked fine but following that same process with DBD::Oracle module fails at the 'make' step with the above error.
I am not the least bit fluent when it comes to Perl so I am completely and utterly clueless on how to resolve this. Am I missing an env variable, a patch maybe???? They system was built off of DVDs from the Sept. 2008 release of HP-UX 11.23. Thanks so much for any help that will get me closer to fixing this issue.
Celeste
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 05:32 PM
тАО03-31-2009 05:32 PM
Re: Compiling Perl Modules
cc: "Oracle.xsi", line 277: error 1549: Modifiable lvalue required for assignment operator.
What's on line 277 and 336? It could be an evil macro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 06:29 PM
тАО03-31-2009 06:29 PM
Re: Compiling Perl Modules
DBIc_CACHED_KIDS(imp_dbh) = Nullhv;
Here is the entire if statement that uses that line:
/* pre-disconnect checks and tidy-ups */
if (DBIc_CACHED_KIDS(imp_dbh)) {
SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); /* cast them to the winds */
DBIc_CACHED_KIDS(imp_dbh) = Nullhv;
}
I played around with that line by commenting it out and then replacing it with a line that had 'Nullhv' changed to 'NULL' and 'Null'. Neither worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2009 06:36 PM
тАО03-31-2009 06:36 PM
Re: Compiling Perl Modules
'Line 277.....'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2009 03:18 AM
тАО04-01-2009 03:18 AM
Re: Compiling Perl Modules
This looks like an evil macro that may not be defined.
Compile with: ... -E -Wp,-C,-G > Oracle.I
Then look at those lines and look for DBIc_CACHED_KIDS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2009 03:52 PM
тАО04-01-2009 03:52 PM
Re: Compiling Perl Modules
After repeated attempts failed using vendor supplied perl, I decided to see if system perl would install this module. I received the same Oracle.xsi message. Well, Mr. Handly as it turns out I wasn't doing a 'make clean' after my unsuccessful compiles. I did a 'make clean' and system perl compiled the module successfully. So I figure that my Oracle.xsi errors with DBICached_Kids was due to running a compile in an environment that was not clean. Yeah, I know, I kicked myself a couple of times, but not enough to actaully hurt. :-)
I went back to vendor supplied perl and attempted another compile (after a 'make clean'). It still didn't work but I did receive a different error messages. 'perl Makefile.PL' returned this warning...
WARNING: Oracle is built with multi-threading libraries
You will most likely need to rebuild perl from sources
with the following libraries: -lcl -lpthread
And this time when I did a 'make test' I received....
PERL_DL_NONLAZY=1 /opt/mincom/perl/perl_5_8_5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01base.t .............. # Test loading DBI, DBD::Oracle and version
t/01base.t .............. 1/6 /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
After a bit of googling, I checked the vendor supplied version of perl with the 'perl -V' command and it was not built with the threaded library options. Sooooo, for now we'll point things to system perl and let the vendor rebuild their perl and repackage their software instead of mucking around with it ourselves.
Again thanks for your help and responses.
Celeste