[MacPorts] #13643: error installing rb-gsl

MacPorts trac at macosforge.org
Wed Dec 19 10:56:49 PST 2007


#13643: error installing rb-gsl
-------------------------------+--------------------------------------------
 Reporter:  lnm at dartmouth.edu  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.5.2                                
 Keywords:  rb-gsl             |  
-------------------------------+--------------------------------------------
 I get the following error when trying to install rb-gsl. I've got port
 version 1.520, OS X version 10.4.11, and Xcode version 2.5. The out is
 reproduced below. Thanks.

 {{{
 --->  Fetching rb-gsl
 --->  Verifying checksum(s) for rb-gsl
 --->  Extracting rb-gsl
 --->  Configuring rb-gsl
 --->  Building rb-gsl with target setup
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.6.3" && /opt/local/bin/ruby
 -rvendor-specific setup.rb setup " returned error 1
 Command output: gcc -I. -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin8.11.0
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.6.3/ext -DHAVE_ROUND
 -I/opt/local/lib/ruby/site_ruby/1.8/powerpc-darwin8.11.0
 -I/opt/local/include -fno-common -I../include -I/opt/local/include  -c
 matrix_int.c
 gcc -I. -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin8.11.0
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-gsl/work/rb-gsl-1.6.3/ext -DHAVE_ROUND
 -I/opt/local/lib/ruby/site_ruby/1.8/powerpc-darwin8.11.0
 -I/opt/local/include -fno-common -I../include -I/opt/local/include  -c
 min.c
 min.c:128: error: static declaration of 'gsl_min_fminimizer_x_minimum'
 follows non-static declaration
 /opt/local/include/gsl/gsl_min.h:79: error: previous declaration of
 'gsl_min_fminimizer_x_minimum' was here
 min.c: In function 'gsl_min_fminimizer_x_minimum':
 min.c:130: error: 'struct <anonymous>' has no member named 'minimum'
 min.c: At top level:
 min.c:134: error: static declaration of 'gsl_min_fminimizer_f_minimum'
 follows non-static declaration
 /opt/local/include/gsl/gsl_min.h:82: error: previous declaration of
 'gsl_min_fminimizer_f_minimum' was here
 min.c:139: error: static declaration of 'gsl_min_fminimizer_f_lower'
 follows non-static declaration
 /opt/local/include/gsl/gsl_min.h:83: error: previous declaration of
 'gsl_min_fminimizer_f_lower' was here
 min.c:144: error: static declaration of 'gsl_min_fminimizer_f_upper'
 follows non-static declaration
 /opt/local/include/gsl/gsl_min.h:84: error: previous declaration of
 'gsl_min_fminimizer_f_upper' was here
 make: *** [min.o] Error 1
 setup.rb:535:in `command': 'system make ' failed (RuntimeError)
         from setup.rb:543:in `make'
         from setup.rb:1156:in `setup_dir_ext'
         from setup.rb:1321:in `__send__'
         from setup.rb:1321:in `traverse'
         from setup.rb:1338:in `dive_into'
         from setup.rb:1319:in `traverse'
         from setup.rb:1313:in `exec_task_traverse'
         from setup.rb:1308:in `each'
         from setup.rb:1308:in `exec_task_traverse'
         from setup.rb:1123:in `exec_setup'
         from setup.rb:883:in `exec_setup'
         from setup.rb:710:in `__send__'
         from setup.rb:710:in `invoke'
         from setup.rb:674:in `invoke'
         from setup.rb:1352

 Error: Status 1 encountered during processing.
 }}}

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


More information about the macports-tickets mailing list