RE: Compiling net-snmp on HP-UX 11.11 9000/800

"Yalenti, Mark" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm seeing such things in my config.log.... Are these normal?
Recommendations?


configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.4.2"
| #define PACKAGE_STRING "Net-SNMP 5.4.2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define NETSNMP_CONFIGURE_OPTIONS "'--prefix=/opt/net-nsmp5.4.2'
'--without-libwrap'"
| #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
| #define NETSNMP_PERSISTENT_MASK 077
| #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
| #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
| #define NETSNMP_NO_DUMMY_VALUES 1
| #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.4.2"
| #define PACKAGE_STRING "Net-SNMP 5.4.2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define NETSNMP_CONFIGURE_OPTIONS "'--prefix=/opt/net-nsmp5.4.2'
'--without-libwrap'"
| #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
| #define NETSNMP_PERSISTENT_MASK 077
| #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
| #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
| #define NETSNMP_NO_DUMMY_VALUES 1
| #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.4.2"
| #define PACKAGE_STRING "Net-SNMP 5.4.2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define NETSNMP_CONFIGURE_OPTIONS "'--prefix=/opt/net-nsmp5.4.2'
'--without-libwrap'"
| #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
| #define NETSNMP_PERSISTENT_MASK 077
| #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
| #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
| #define NETSNMP_NO_DUMMY_VALUES 1
| #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdint.h>
Thanks!

Mark Yalenti
Systems Support and Deployment
Tollgrade Communications
30 Knightbridge Rd
Suite 601
Piscataway, NJ 08854
-------------------------------------
Toll-Free: 1-800-777-5405
Office: (732) 743 - 6756
Cell: (908) 246 - 2922
AIM: myalenti
Skype: myalenti

-----Original Message-----
From: Lars Ebeling [mailto:[email protected]] 
Sent: Monday, September 22, 2008 12:16 PM
To: [email protected]
Subject: Re: Compiling net-snmp on HP-UX 11.11 9000/800

The Ansi C compiler is not free, it has to be bought.


----- Original Message ----- 
From: "Yalenti, Mark" <[email protected]>
To: <[email protected]>
Sent: Monday, September 22, 2008 6:02 PM
Subject: RE: Compiling net-snmp on HP-UX 11.11 9000/800


> Would part of my problem be that I'm not using the ANSI C compiler you
> just specified? I've tried to use the packaged gcc and cc compilers
that
> are natively installed to no avail.  The ansi c compiler you have
> specified below does not seem to exist on my system. Was this
something
> you added on
> manually from a separate package depot?
>
> Thanks!
>
> Mark
>
> -----Original Message-----
> From: Thomas Anders [mailto:[email protected]]
> Sent: Monday, September 22, 2008 11:36 AM
> To: Yalenti, Mark
> Cc: [email protected]
> Subject: Re: Compiling net-snmp on HP-UX 11.11 9000/800
>
> Yalenti, Mark wrote:
>> At the moment I'm not going to inundate the group with error details;
> at
>> first I'd just like to know if someone has been able to successfully
> get
>> net-snmp to compile on HP-UX 11.11 9000/800.
>>
>> In particular, can you tell me the following if you were successful:
?
>>
>> What compiler did you use and from which directory?
>>
>> What did you set your LD_LIBRARY_PATH to if anything?
>>
>> What did you set your SH_LIBRARY_PATH to if anything?
>
> I successfully build all net-snmp branches every night on various
HP-UX
> versions, including 11.11, with the following settings:
>
>  export CC=/opt/ansic/bin/cc
>  export SHLIB_PATH=/path/to/libopenssl097/lib
>  ./configure --without-libwrap ... && make && make test
>
> What net-snmp version are you using? Try with latest 5.4.2, please.
>
>
> +Thomas
>
> -- 
> Thomas Anders (thomas.anders at blue-cable.de)
>
>
------------------------------------------------------------------------
-
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great

> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.