HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installing Net:DNS module, getting "make" failures
Operating System - HP-UX
1833756
Members
2319
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-08-2003 02:47 AM
10-08-2003 02:47 AM
Installing Net:DNS module, getting "make" failures
Nothing like having the HP website break and having to type all this again. ::sigh:: Second time:
Greetings!
I'm trying to install the Net::DNS module for perl 5.6.1, and I'm getting warnings when I configure, and failures when I "make."
When I run "perl Makefile.PL" I get this:
--------------------------------
Testing if you have a C compiler and the needed header files....
cc -O -c compile.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
You have a working compiler.
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::More failed to load: Can't locate Test/More.pm in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at (eval 18) line 3.
Note (probably harmless): No library found for -lresolv
Writing Makefile for Net::DNS
----------------------------------
The warnings seem to indicate I can continue, so I run "make," and get this:
----------------------------------
gcc -c -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE DNS.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE/perl.h:722,
from DNS.xs:12:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
/usr/include/sys/socket.h:456: parse error before "__sendfile64"
/usr/include/sys/socket.h:456: parse error before "bsize_t"
/usr/include/sys/socket.h:457: parse error before "__sendpath64"
/usr/include/sys/socket.h:457: parse error before "bsize_t"
/usr/include/sys/socket.h:459: parse error before "sendfile"
/usr/include/sys/socket.h: In function `sendfile':
/usr/include/sys/socket.h:459: parse error before "bsize_t"
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:460: parse error before "sendpath"
/usr/include/sys/socket.h: In function `sendpath':
/usr/include/sys/socket.h:460: parse error before "bsize_t"
*** Error exit code 1
Stop.
-------------------------------------------
I'm running gcc 3.2. The only thing I can think of is that gcc -v reports something about a build for 11.0, but I'm running 11.11! Is there a depot for gcc for 11.11 32-bit somewhere?
Thanks!!
Greetings!
I'm trying to install the Net::DNS module for perl 5.6.1, and I'm getting warnings when I configure, and failures when I "make."
When I run "perl Makefile.PL" I get this:
--------------------------------
Testing if you have a C compiler and the needed header files....
cc -O -c compile.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
You have a working compiler.
Checking if your kit is complete...
Looks good
Warning: prerequisite Test::More failed to load: Can't locate Test/More.pm in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .) at (eval 18) line 3.
Note (probably harmless): No library found for -lresolv
Writing Makefile for Net::DNS
----------------------------------
The warnings seem to indicate I can continue, so I run "make," and get this:
----------------------------------
gcc -c -DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" -fPIC -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE DNS.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE/perl.h:722,
from DNS.xs:12:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
/usr/include/sys/socket.h:456: parse error before "__sendfile64"
/usr/include/sys/socket.h:456: parse error before "bsize_t"
/usr/include/sys/socket.h:457: parse error before "__sendpath64"
/usr/include/sys/socket.h:457: parse error before "bsize_t"
/usr/include/sys/socket.h:459: parse error before "sendfile"
/usr/include/sys/socket.h: In function `sendfile':
/usr/include/sys/socket.h:459: parse error before "bsize_t"
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:460: parse error before "sendpath"
/usr/include/sys/socket.h: In function `sendpath':
/usr/include/sys/socket.h:460: parse error before "bsize_t"
*** Error exit code 1
Stop.
-------------------------------------------
I'm running gcc 3.2. The only thing I can think of is that gcc -v reports something about a build for 11.0, but I'm running 11.11! Is there a depot for gcc for 11.11 32-bit somewhere?
Thanks!!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP