Re: Cannot build perl snmp module on Windows 10

Cathal McGlone <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAOJ101dNKJb-ZdvYG_7GwJuOx0iWstuCEB1R5T-gJi5WWeuvig@mail.gmail.com>
hi Bart

right ..I now get the following:
[image: image.png]

so I now try:
C:\sources\perl>perl Makefile.PL CAPI=TRUE -NET-SNMP-PATH="c:\usr"
but get the following error:

*Can't locate MakefileSubs.pm in @INC (you may need to install the
MakefileSubs module) (@INC contains: C:/Perl64/site/lib C:/Perl64/lib) at
Makefile.PL line 6.BEGIN failed--compilation aborted at Makefile.PL line 6.*

thanks

Cathal



On Tue, Jul 2, 2019 at 10:09 PM Bart Van Assche <[email protected]> wrote:

> On 7/2/19 1:52 PM, Cathal McGlone wrote:
>
> hi Bart
>
> I have just built Net-SNMP using MinGW with MSyS environment using the
> following configure options:
> BASEDIR=c:/usr
> ./configure --prefix="$BASEDIR" \
>   --with-mibdirs="$BASEDIR/share/snmp/mibs" \
>  --with-mib-modules="agentx disman/event-mib winExtDLL examples/example"\
>         --disable-embedded-perl --without-perl-modules \
>  2>&1 | tee configure_1july19.log
>
> After make install completes I get the following folders in c:\usr:
> [image: image.png]
> The bin folder contains mib2c and mib2c-update files but no mib2c
> executable or batch file?
>
> Hi Cathal,
>
> Have you had a look at the mib2c file? If it starts with something like
> #!/usr/bin/perl that means that it is a Perl program that can be run and
> that there is no need for mib2c.exe or so.
>
> Bart.
>

_______________________________________________
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
image.png (image/png, 8.2 KB) - not displayed
image.png (image/png, 4.2 KB) - not displayed
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.