On Mon, Sep 07, 2009 at 01:11:41AM +0800, Chang James said: > Hi, > I try to install net-snmp 5.4.2.1_1 from macport tody, but it shows me > compiling error and install failed! > > OS:Mac OS X 10.5.8 > CPU: INTEL > Mac Mini 3.1 > > Following is the error logs: > > port install net-snmp [...] > /opt/local/lib -version-info 16:2:1 -o libnetsnmphelpers.la all_helpers.lo > baby_steps.lo bulk_to_next.lo cache_handler.lo debug_handler.lo instance.lo > mode_end_call.lo multiplexer.lo null.lo old_api.lo read_only.lo row_merge.lo > scalar.lo scalar_group.lo serialize.lo stash_cache.lo stash_to_next.lo > table.lo table_array.lo table_container.lo table_data.lo table_dataset.lo > table_iterator.lo table_row.lo table_tdata.lo watcher.lo ../ > libnetsnmpagent.la ../../snmplib/libnetsnmp.la -L/opt/local/lib > -L/opt/local/lib > libtool: link: cannot find the library `../libnetsnmpagent.la' or unhandled > argument `../libnetsnmpagent.la' > make[2]: *** [libnetsnmphelpers.la] Error 1 > make[1]: *** [subdirs] Error 1 > make: *** [subdirs] Error 1 > Error: Status 1 encountered during processing. > ---> Executing: /opt/local/bin/port install net-snmp
Looks like #20981: <http://trac.macports.org/ticket/20981> which I just (hopefully) fixed in r57134. After waiting at least 30 minutes from this reply, run $ sudo port selfupdate then try again (I would also say to clean, but you did that part already). Bryan > > port clean net-snmp > Port command started with PID 30761 > ---> Cleaning net-snmp > ---> Executing: /opt/local/bin/port clean net-snmp > > Could someone tell me how to solve this problem? > Best Regards! > > James > Chang _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users