> I've some problems compiling net-snmp 5.3 or older version 5.2.2 with this
> option:
> 
> # ./configure -prefix="/opt/net-snmp" -with-mib-modules=host
> -enable-embedded-perl=yes -enable-shared

I hope the configure options all start with "--" instead of "-" as above?

## well yes, I forgot to copy this into the mail

> snmp_perl.c:88:2: #error embedded perl broken

Sigh. We're definitely interested in knowing why.

## me too. But I really don't know why??? 
## Does anyone has a hint?

> I already opened the snmp_perl.c file at line 20 and this happens to be a
> difficulty with the DynaLoader. This modules seems to be distributed with
> Perl Version 5.8.7 as it is downloadable at the CPAN. So a look with the
> "inside" module from perl brought the answer that it isn't installed. 

Can you please expand on why you think DynaLoader is *not* installed? It 
should come with perl-base on Debian.

# At first, I thought this might be a problem, because of line 20ff of the #
snmp_perl.c - file. But browsing the cpan, I realized that, as you say,
# is distributed with the perl-version of Debian.

this is where it stops - I think:
------------------------------------------------------------------
void
xs_init(void)
{
    char            myfile[] = __FILE__;
    char            modulename[] = "DynaLoader::boot_DynaLoader";
    /*
     * DynaLoader is a special case 
     */
    newXS(modulename, boot_DynaLoader, myfile);
}

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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

Reply via email to