Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13643 closed defect (fixed)

error installing rb-gsl

Reported by: lnm@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: rb-gsl Cc: yuhei@…
Port:

Description

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.

Change History (4)

comment:1 Changed 13 years ago by jmpp@…

Milestone: Port Bugs

comment:2 Changed 13 years ago by ryandesign (Ryan Schmidt)

Cc: yuhei@… added

Cc'ing the port's maintainer.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Fixed by updating to 1.10.3 in r36657.

comment:4 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.