[MacPorts] #13297: net-snmp-5.4 fails to build on Mac OS X 10.5 Leopard

MacPorts trac at macosforge.org
Tue Feb 19 15:33:24 PST 2008


#13297: net-snmp-5.4 fails to build on Mac OS X 10.5 Leopard
------------------------------+---------------------------------------------
  Reporter:  arion at arion.net  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect           |      Status:  new                                  
  Priority:  Normal           |   Milestone:  Port Bugs                            
 Component:  ports            |     Version:  1.5.0                                
Resolution:                   |    Keywords:  net-snmp leopard intel               
------------------------------+---------------------------------------------
Comment (by dsm717 at gmail.com):

 net-snmp still fails to install on Mac OS X 10.5.2 (Intel) with the ppc
 linking problem:

 {{{
 $ sudo port install net-snmp
 --->  Fetching net-snmp
 --->  Attempting to fetch net-snmp-5.4.tar.gz from
 http://downloads.sourceforge.net/net-snmp
 --->  Verifying checksum(s) for net-snmp
 --->  Extracting net-snmp
 --->  Applying patches to net-snmp
 --->  Configuring net-snmp
 --->  Building net-snmp with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_net_net-snmp/work/net-snmp-5.4" && make all " returned
 error 2
 Command output:       _main in snmptrapd.o
   "_print_format1", referenced from:
       _print_format1$non_lazy_ptr in snmptrapd.o
   "_print_format2", referenced from:
       _print_format2$non_lazy_ptr in snmptrapd.o
   "_netsnmp_ds_set_string", referenced from:
       _main in snmptrapd.o
       _main in snmptrapd.o
       _main in snmptrapd.o
   "_read_config_print_usage", referenced from:
       _main in snmptrapd.o
   "_netsnmp_ds_get_int", referenced from:
       _main in snmptrapd.o
       _main in snmptrapd.o
   "_netsnmp_ds_set_int", referenced from:
       _parse_config_agentuser in snmptrapd.o
       _parse_config_agentuser in snmptrapd.o
       _parse_config_agentgroup in snmptrapd.o
       _parse_config_agentgroup in snmptrapd.o
       _main in snmptrapd.o
       _main in snmptrapd.o
   "_snmp_sess_init", referenced from:
       _main in snmptrapd.o
   "_snmp_log_options_usage", referenced from:
       _usage in snmptrapd.o
 ld: symbol(s) not found for architecture ppc
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccoXInRA.out (No such file or
 directory)
 make[1]: *** [snmptrapd] Error 1
 make: *** [subdirs] Error 1

 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13297#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list