- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Perl Modules Compile problems
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
тАО06-17-2004 03:27 AM
тАО06-17-2004 03:27 AM
I am trying to compile the following perl module:
/opt/patch/DBD-Oracle-1.15 =>perl Makefile.PL
Can't locate DBI.pm in @INC (@INC contains: /opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi /opt/perl/lib/5.8.2 /opt/perl/lib/site_perl/5.8.2/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.8.2 /opt/perl/lib/site_perl .) at Makefile.PL line 21.
BEGIN failed--compilation aborted at Makefile.PL line 21.
Need help! Thanks
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 03:33 AM
тАО06-17-2004 03:33 AM
SolutionDBD modules, and DBD-Oracle is one of them, do only work if the prerequisite module DBI is installed
DBD-Oracle is a good version, use DBI-1.42 to go with that. You can also get it here:
http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.42.tar.gz
Some perl distributions have precompiled DBI included (as do my distributions). Your's obviously is missing it.
I sincerely hope that your perl can cope with Oracle, since it needs a special tread at build time.
Emjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 03:48 AM
тАО06-18-2004 03:48 AM
Re: Perl Modules Compile problems
That worked!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 04:43 AM
тАО06-18-2004 04:43 AM
Re: Perl Modules Compile problems
/usr/ccs/bin/ld: /app/oracle/product/9.2.0/lib32: Not a valid object file (invalid system id)
*** Error exit code 1
In other posted qustions relating to this, it mentions trying to compile a 64-bit program with 32-bit libraries. But I am not clear on the solution to this problem. The error occurs at the below point of using the steps in the README file:
If you have linking problems (errors related to libraries or functions)
then you could try forcing a 'static' build using:
make realclean
perl Makefile.PL LINKTYPE=static
make
make perl (error occurs here)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 04:50 AM
тАО06-18-2004 04:50 AM
Re: Perl Modules Compile problems
Base operation for installing a new module with an existing perl, what I /think/ you are trying to do is
# cd /tmp
# gzip -d < DBD-Oracle-1.15.tar.gz | tar xf -
# cd DBD-Oracle-1.15
# perl Makefile.PL
# make
# make test
# make install
In your last post, I see "make perl". A make command not even known (implicitely) to Perl's core build process.
The error I see is that of passing a directory to the linker where it expects a library or object (maybe you used -l instead of -L)
enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 04:02 AM
тАО06-21-2004 04:02 AM
Re: Perl Modules Compile problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 05:42 AM
тАО06-21-2004 05:42 AM
Re: Perl Modules Compile problems
But, again, IMHO that should not be needed if you follow the few commands lined out in my previous post.
Personally, I'd like to see where that fails, if it fails at all. And IF it fails, I'd also like to see the output of
# perl -V
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA294000&listType=unassigned&forumId=1
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 07:11 AM
тАО06-21-2004 07:11 AM
Re: Perl Modules Compile problems
I uninstalled HP's perl bundle, and downloaded and compiled perl 5.8.4, using the following configure options:
sh Configure -Duselargefiles -A prepend:libswanted='cl pthread ' -Accflags="+z" -Duse64bitall
Now, I am at the point where I need an oracle userid with sufficient privileges to complete the 'make test' command. I will post the final outcome.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 08:56 AM
тАО06-21-2004 08:56 AM