Opened 15 years ago

Last modified 13 years ago

#21926 closed defect

Build of rb-gsl failed — at Initial Version

Reported by: harry.park@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: rb-gsl

Description

rb-gsl failed to build for me when installing from mac ports. 10.6 Snow Leopard MBP Ruby: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]

#: sudo port install rb-gsl ---> Computing dependencies for rb-gsl ---> Building rb-gsl 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.10.3" && /opt/local/bin/ruby -rvendor-specific setup.rb setup " returned error 1 Command output: ---> lib ---> lib/gsl <--- lib/gsl ---> lib/ool <--- lib/ool <--- lib ---> ext make /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-gsl/work/rb-gsl-1.10.3/ext -DHAVE_ROUND -I/opt/local/lib/ruby/site_ruby/1.8/i686-darwin10 -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -Wall -I../include -I/opt/local/include -arch x86_64 -c const.c const.c: In function 'rb_gsl_const_cgs': const.c:602: error: 'GSL_CONST_CGSM_GAUSS' undeclared (first use in this function) const.c:602: error: (Each undeclared identifier is reported only once const.c:602: error: for each function it appears in.) make: * [const.o] Error 1 setup.rb:655:in `command': system("make") failed (RuntimeError)

from setup.rb:664:in `make' from setup.rb:1258:in `setup_dir_ext' from setup.rb:1532:in `send' from setup.rb:1532:in `traverse' from setup.rb:1549:in `dive_into' from setup.rb:1530:in `traverse' from setup.rb:1524:in `exec_task_traverse' from setup.rb:1519:in `each' from setup.rb:1519:in `exec_task_traverse' from setup.rb:1246:in `exec_setup' from setup.rb:996:in `exec_setup' from setup.rb:826:in `send' from setup.rb:826:in `invoke' from setup.rb:773:in `invoke' from setup.rb:1578

Error: Status 1 encountered during processing.

Change History (0)

Note: See TracTickets for help on using tickets.