Building and installing Perl modules for v5.7.3 in win32 environment
"Purvis, Ray" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <BL2PR09MB0147481947742DE1AEBFB5B4A0690@BL2PR09MB0147.namprd09.prod.outlook.com> |
I am struggling to get the Perl modules build and installed so that I can work with mib2c to work on custom MIBs. I compiled version 5.7.3 using the VC instructions, linking to external OpenSSL. It took a bit of work, but thinks finally worked and I have verified that things are working by walking the system MIB with a SNMPv3 user, using authPriv for security. I am following the instructions provided in the perl\SNMP README. It states I need to have built both static and dynamic versions of netsnmp, I have done that. It states I need to download gnu_rexex.exe from a site that is provided. Here is the first problem, that file is apparently corrupted, and won't unzip. There are other instances of people online encountering the same problems. I instead downloaded regex 2.7, and followed the same instructions. There are differences in the names of files, and perhaps this is the problem. Specifically, the instructions state: 1. Copy regex.h to VC\include in my case, I am using Visual Studio 2013, so I copied regex.h to C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include 2. Copy gnu_regex.lib to VC\lib. There is no gnu_regex.lib in regex 2.7, there is a regex.lib, and I copied this to C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib 3. Copy gnu_regex.dll to System32. There is no gnu_regex.dll in regex 2.7, but there is a regex2.dll in the bin directory of 2.7, I copied this to my system32 folder The next steps set up the environment in a command window, and I invoke win32\nmakeperl.bat. This provides a lot of information as it works its way through, I eventually get to a line that states: Make the Perl SNMP modules. to undefined at C:/Perl/lib/ExtUtils/Install.pm line 1198. NMAKE: fatal error U1077 The README states I should check the nmake.out file, which I do, it is empty Bottom line, the Perl modules don't install and I am unable to use the various tools that require that they be installed. Any help at all is greatly appreciated. In case it is needed, I am running Windows 7 Pro x64. I tried to build a 64 bit version of NetSNMP, but that had so many problems that I gave up and built a 32 bit version, which worked...until I tried to build the Perl modules that is. Thanks, Ray Purvis ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ 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