#24712: rvm build failure ---------------------------------------------+------------------------------ Reporter: roberto.tomas.cuentas@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: rvm ---------------------------------------------+------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: Replying to [ticket:24712 roberto.tomas.cuentas@…]:
robbie@El-Mac ~ ![10:54] sudo port install -d rvm
The "-d" flag must go immediately after the word "port", before the word "install", otherwise it has no effect.
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -g -Wall -c -o rconfig.o `test -f rconfig.cc || echo './'`rconfig.cc [[br]] rconfig.h:262: error: using typedef-name 'configuration_manager::cfgfiles_type' after 'class' [[br]] rconfig.h:222: error: 'configuration_manager::cfgfiles_type' has a previous declaration here [[br]] rconfig.cc: In member function 'void configuration_manager::clear()': [[br]] rconfig.cc:926: error: request for member 'clear' in '((configuration_manager*)this)->configuration_manager::m_cfgfiles', which is of non-class type 'int' [[br]] rconfig.cc: In member function 'void configuration_manager::init(int, char**)': [[br]] rconfig.cc:1026: error: request for member 'push_back' in '((configuration_manager*)this)->configuration_manager::m_cfgfiles', which is of non-class type 'int' [[br]] rconfig.cc:1064: error: request for member 'push_back' in '((configuration_manager*)this)->configuration_manager::m_cfgfiles', which is of non-class type 'int' [[br]] rconfig.cc:1091: error: request for member 'begin' in '((configuration_manager*)this)->configuration_manager::m_cfgfiles', which is of non-class type 'int' [[br]] rconfig.cc:1091: error: request for member 'end' in '((configuration_manager*)this)->configuration_manager::m_cfgfiles', which is of non-class type 'int'
I am able to reproduce this issue on Tiger. Are you on Tiger or Leopard? I also see rvm 1.05 is available. I will try to update the port. Please file separate tickets for the other issues you mentioned and provide more information. -- Ticket URL: <http://trac.macports.org/ticket/24712#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS