From: SourceForge.net <no...@so...> - 2005-10-28 13:20:25
|
Bugs item #1340685, was opened at 2005-10-28 06:20 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1340685&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: configure Group: solaris Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: snmpconf perl script Initial Comment: In net-snmp version 5.1.3.1, when using the script with solaris 8 old native perl, I have the following errors : Not enough arguments for mkdir at snmpconf line 186, near "})" Not enough arguments for mkdir at snmpconf line 200, near ""$home")" Execution of snmpconf aborted due to compilation errors. The mkdir call is missing the permissions, so those two lines should be like this : if (! (-d "$opts{'I'}") && ! (mkdir ("$opts{'I'}",0755))) { and if (! (-d "$home") && ! (mkdir ("$home",0755))) { Regards, Gael GaG...@fr... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1340685&group_id=12694 |