- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Building Perl module SGML-Parser-OpenSP
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
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
тАО09-11-2007 03:41 AM
тАО09-11-2007 03:41 AM
Building Perl module SGML-Parser-OpenSP
Module name is: SGML-Parser-OpenSP version 0.99
See:
http://pastebin.com/m2dad9b36
Can anyone think of anything? I'm desperate here :(
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2007 03:03 PM
тАО09-26-2007 03:03 PM
Re: Building Perl module SGML-Parser-OpenSP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2007 03:05 PM
тАО09-26-2007 03:05 PM
Re: Building Perl module SGML-Parser-OpenSP
Use Latest Perl 5.8.8 as well:
https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=PERL
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 02:37 AM
тАО09-27-2007 02:37 AM
Re: Building Perl module SGML-Parser-OpenSP
I was using GCC 3.4.5, GCC 4.2.1 wouldn't work for me!
I already found how to fix this.. Here's how:
1. Make you're you've symlinked the OpenSP libs in /usr/local/lib:
/usr/local/lib/libosp.a -> /opt/OpenSP/lib/libosp.a
/usr/local/lib/libosp.la -> /opt/OpenSP/lib/libosp.la
/usr/local/lib/libosp.sl -> /opt/OpenSP/lib/libosp.sl.5.0
/usr/local/lib/libosp.sl.5 -> /opt/OpenSP/lib/libosp.sl.5.0
/usr/local/lib/libosp.sl.5.0 -> /opt/OpenSP/lib/libosp.sl.5.0
*** Even if we just add the '-L/opt/OpenSP/lib' to the LIBS option of the Makefile.PL, the tests will fail!!!
*** And don't even think of trying with either SHLIB_PATH or LD_LIBRARY_PATH! It's doesn't change crap!!!
2. tuxtst04:/depot/spo# vi Makefile.PL
REPLACE:
$options{LD} = "g++";
$options{CC} = "g++";
$options{LIBS} = "-lstdc++ -losp";
WITH:
$options{LD} = "ld";
$options{CC} = "g++";
$options{LIBS} = "-L/opt/hp-gcc/lib -losp";
$options{INC} = "-I/opt/OpenSP/include";
3. tuxtst04:/depot/spo# /opt/perl-5.8.8-r2/bin/perl Makefile.PL
4. tuxtst04:/depot/spo# make
5. tuxtst04:/depot/spo# make test
6. tuxtst04:/depot/spo# make install
Kinda stupid to have to 'hack' the makefile like this.. but that's the only way it compiled and had successful tests...
Thanks anyways.
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 02:38 AM
тАО09-27-2007 02:38 AM