Opened 18 years ago

Closed 18 years ago

#10863 closed defect (duplicate)

rb-wxruby fails to build

Reported by: mrgibson@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

---> Building rb-wxruby with target all ruby wxpp.rb htmlprocessor.t g++ -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin8.7.0 -I/opt/local/lib/ruby/1.8/powerpc-darwin8.7.0 -I. -O -pipe -I/opt/local/include -x objective-c++ -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common wx-config --cxxflags -c htmlprocessor.cpp htmlprocessor.cpp: In static member function `static VALUE

WxHtmlProcessor::Process(int, VALUE*, long unsigned int)':

htmlprocessor.cpp:82: error: ambiguous overload for `wxString& = char*'

operator

/opt/local/include/wx-2.6/wx/string.h:627: error: candidates are: wxString&

wxString::operator=(int) <near match>

/opt/local/include/wx-2.6/wx/string.h:847: error: wxString&

wxString::operator=(wchar_t) <near match>

/opt/local/include/wx-2.6/wx/string.h:861: error: wxString&

wxString::operator=(const wxWCharBuffer&) <near match>

/opt/local/include/wx-2.6/wx/string.h:916: error: wxString&

wxString::operator=(const wxString&) <near match>

htmlprocessor.cpp:86: error: cannot convert wxString' to const char*' for

argument 1' to VALUE rb_str_new2(const char*)'

htmlprocessor.cpp: In member function `virtual wxString

wxHtmlProcessorHelper::Process(const wxString&) const':

htmlprocessor.cpp:164: error: cannot convert const wxString' to const char*'

for argument 1' to VALUE rb_str_new2(const char*)'

htmlprocessor.cpp:166: error: call of overloaded `wxString(char*)' is ambiguous /opt/local/include/wx-2.6/wx/string.h:671: error: candidates are:

wxString::wxString(const wxWCharBuffer&) <near match>

/opt/local/include/wx-2.6/wx/string.h:644: error:

wxString::wxString(wchar_t, long unsigned int = 1) <near match>

/opt/local/include/wx-2.6/wx/string.h:641: error:

wxString::wxString(const wxString&) <near match>

/opt/local/include/wx-2.6/wx/string.h:633: error:

wxString::wxString(int) <near match>

make: * [htmlprocessor.o] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_ruby_rb-wxruby/work/wxruby-0.6-src/src" && make all RUBY="/opt/local/bin/ruby -rvendor-specific"" returned error 2 Command output: ruby wxpp.rb htmlprocessor.t g++ -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin8.7.0 -I/opt/local/lib/ruby/1.8/powerpc-darwin8.7.0 -I. -O -pipe -I/opt/local/include -x objective-c++ -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common wx-config --cxxflags -c htmlprocessor.cpp htmlprocessor.cpp: In static member function `static VALUE

WxHtmlProcessor::Process(int, VALUE*, long unsigned int)':

htmlprocessor.cpp:82: error: ambiguous overload for `wxString& = char*'

operator

/opt/local/include/wx-2.6/wx/string.h:627: error: candidates are: wxString&

wxString::operator=(int) <near match>

/opt/local/include/wx-2.6/wx/string.h:847: error: wxString&

wxString::operator=(wchar_t) <near match>

/opt/local/include/wx-2.6/wx/string.h:861: error: wxString&

wxString::operator=(const wxWCharBuffer&) <near match>

/opt/local/include/wx-2.6/wx/string.h:916: error: wxString&

wxString::operator=(const wxString&) <near match>

htmlprocessor.cpp:86: error: cannot convert wxString' to const char*' for

argument 1' to VALUE rb_str_new2(const char*)'

htmlprocessor.cpp: In member function `virtual wxString

wxHtmlProcessorHelper::Process(const wxString&) const':

htmlprocessor.cpp:164: error: cannot convert const wxString' to const char*'

for argument 1' to VALUE rb_str_new2(const char*)'

htmlprocessor.cpp:166: error: call of overloaded `wxString(char*)' is ambiguous /opt/local/include/wx-2.6/wx/string.h:671: error: candidates are:

wxString::wxString(const wxWCharBuffer&) <near match>

/opt/local/include/wx-2.6/wx/string.h:644: error:

wxString::wxString(wchar_t, long unsigned int = 1) <near match>

/opt/local/include/wx-2.6/wx/string.h:641: error:

wxString::wxString(const wxString&) <near match>

/opt/local/include/wx-2.6/wx/string.h:633: error:

wxString::wxString(int) <near match>

make: * [htmlprocessor.o] Error 1

Warning: the following items did not execute (for rb-wxruby): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 18 years ago by markd@…

Resolution: duplicate
Status: newclosed

This port has had this problem for a long time. Seee # 4217. It really needs a maintainer and some attention. Marking as duplicate.

Note: See TracTickets for help on using tickets.