Hi,
I
am trying to perform a configure which will included embedded perl
support.
I am running on a
intel pentium with redhat 9.0. I have net-snmp
srcnet-snmp-5.3.pre2
I perform the
configure as follows:
./configure --enable-embedded-perl --enable-shared
The config.log then
shows the follows:
configure:4095: $? =
1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
....
configure:4306: gcc
-E conftest.c
conftest.c:13:28: ac_nonexistent.h: No such file or directory
configure:4312: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.3.pre2"
| #define PACKAGE_STRING "Net-SNMP 5.3.pre2"
| #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
| #define CONFIGURE_OPTIONS "'--enable-embedded-perl' '--enable-shared'"
| #define SCAPI_AUTHPRIV 1
| #define NO_DUMMY_VALUES 1
| #define OPAQUE_SPECIAL_TYPES 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4351: result: gcc -E
conftest.c:13:28: ac_nonexistent.h: No such file or directory
configure:4312: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.3.pre2"
| #define PACKAGE_STRING "Net-SNMP 5.3.pre2"
| #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
| #define CONFIGURE_OPTIONS "'--enable-embedded-perl' '--enable-shared'"
| #define SCAPI_AUTHPRIV 1
| #define NO_DUMMY_VALUES 1
| #define OPAQUE_SPECIAL_TYPES 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4351: result: gcc -E
Any ideas why these
problems would occur, how do I get the embedded perl support
?
__cplusplus is
defined by gcc, it has the value of 1.
Andy