Can you guys take a look at this and help Tom out? Thanks, Curt -----Original Message----- From: Tom Payne [mailto:twp@gentoo.org] Sent: Sunday, August 29, 2004 10:53 AM To: Curt Hibbs Subject: Re: FW: [ANN] wxRuby 0.5.0 has been released! On Thu, Aug 26, 2004 at 11:54:52AM -0500, Curt Hibbs wrote:> Hi Tom, I just wanted to inform you that we just released a new version > wxRuby if you would like to update the gentoo build script.Hi Curt, I get a compile error, let me know what tests you want me to run. I''ve got wxGTK 2.4.2 installed. Cheers, Tom g++ -fPIC -march=athlon-xp -O3 -pipe -fPIC `wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/ 1.8/i686-linux -I. -c calendar.cpp In file included from htmlprocessor.cpp:7: htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory In file included from htmlprocessor.cpp:7: htmlprocessor.h:11: error: parse error before `{'' token htmlprocessor.h:14: error: virtual outside class declaration htmlprocessor.h:14: error: non-member function `wxString Process(const wxString&)'' cannot have `const'' method qualifier htmlprocessor.h:17: error: parse error before `}'' token htmlprocessor.h:28: error: `wxHtmlProcessor'' was not declared in this scope htmlprocessor.h:28: error: `pCpp'' was not declared in this scope htmlprocessor.h:28: error: invalid data member initialization htmlprocessor.h:28: error: (use `='' to initialize static data members) htmlprocessor.h:28: error: variable or field `validateCppObject'' declared void htmlprocessor.cpp: In static member function `static VALUE WxHtmlProcessor::wrapNew(int, VALUE*, long unsigned int)'': htmlprocessor.cpp:37: error: `wxHtmlProcessor'' undeclared (first use this function) htmlprocessor.cpp:37: error: (Each undeclared identifier is reported only once for each function it appears in.) htmlprocessor.cpp:37: error: `pCpp'' undeclared (first use this function) htmlprocessor.cpp:37: error: template argument 1 is invalid htmlprocessor.cpp:37: error: no matching function for call to `GetCpp(VALUE&)'' htmlprocessor.cpp:38: error: `WxHtmlProcessor::validateCppObject'' cannot be used as a function htmlprocessor.cpp: At global scope: htmlprocessor.cpp:44: error: variable or field `validateCppObject'' declared void htmlprocessor.cpp:44: error: syntax error before `{'' token htmlprocessor.cpp: In static member function `static bool WxHtmlProcessor::constructor0(int, VALUE*, long unsigned int)'': htmlprocessor.cpp:65: error: `cppResult'' undeclared (first use this function) htmlprocessor.cpp:65: error: invalid use of undefined type `class wxHtmlProcessorHelper'' htmlprocessor.h:10: error: forward declaration of `class wxHtmlProcessorHelper'' htmlprocessor.cpp: In static member function `static VALUE WxHtmlProcessor::Process(int, VALUE*, long unsigned int)'': htmlprocessor.cpp:74: error: template argument 1 is invalid htmlprocessor.cpp:74: error: no matching function for call to `GetCpp(VALUE&)'' htmlprocessor.cpp:75: error: `WxHtmlProcessor::validateCppObject'' cannot be used as a function htmlprocessor.cpp: In static member function `static VALUE WxHtmlProcessor::GetPriority(int, VALUE*, long unsigned int)'': htmlprocessor.cpp:92: error: template argument 1 is invalid htmlprocessor.cpp:92: error: no matching function for call to `GetCpp(VALUE&)'' htmlprocessor.cpp:93: error: `WxHtmlProcessor::validateCppObject'' cannot be used as a function htmlprocessor.cpp: In static member function `static VALUE WxHtmlProcessor::Enable(int, VALUE*, long unsigned int)'': htmlprocessor.cpp:106: error: template argument 1 is invalid htmlprocessor.cpp:106: error: no matching function for call to `GetCpp(VALUE&)'' htmlprocessor.cpp:107: error: `WxHtmlProcessor::validateCppObject'' cannot be used as a function htmlprocessor.cpp: In static member function `static VALUE WxHtmlProcessor::IsEnabled(int, VALUE*, long unsigned int)'': htmlprocessor.cpp:123: error: template argument 1 is invalid htmlprocessor.cpp:123: error: no matching function for call to `GetCpp(VALUE&)'' htmlprocessor.cpp:124: error: `WxHtmlProcessor::validateCppObject'' cannot be used as a function htmlprocessor.cpp: At global scope: htmlprocessor.cpp:150: error: invalid use of undefined type `class wxHtmlProcessorHelper'' htmlprocessor.h:10: error: forward declaration of `class wxHtmlProcessorHelper'' htmlprocessor.cpp: In constructor ` wxHtmlProcessorHelper::wxHtmlProcessorHelper()'': htmlprocessor.cpp:151: error: class `wxHtmlProcessorHelper'' does not have any field named `wxHtmlProcessor'' htmlprocessor.cpp: At global scope: htmlprocessor.cpp:156: error: invalid use of undefined type `class wxHtmlProcessorHelper'' htmlprocessor.h:10: error: forward declaration of `class wxHtmlProcessorHelper'' htmlprocessor.cpp:161: error: invalid use of undefined type `class wxHtmlProcessorHelper'' htmlprocessor.h:10: error: forward declaration of `class wxHtmlProcessorHelper'' make: *** [htmlprocessor.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from htmlwindow.cpp:11: htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory In file included from htmlwindow.cpp:11: htmlprocessor.h:11: error: base class `wxHtmlProcessor'' has incomplete type make: *** [htmlwindow.o] Error 1 -- Tom --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004
I guess my first request would be to run ''locate htmlproc.h'' to see if it''s in the right place. Nick Curt Hibbs wrote:>Can you guys take a look at this and help Tom out? > >Thanks, >Curt > >-----Original Message----- >From: Tom Payne [mailto:twp@gentoo.org] >Sent: Sunday, August 29, 2004 10:53 AM >To: Curt Hibbs >Subject: Re: FW: [ANN] wxRuby 0.5.0 has been released! > > >On Thu, Aug 26, 2004 at 11:54:52AM -0500, Curt Hibbs wrote: > > >>Hi Tom, I just wanted to inform you that we just released a new version >>wxRuby if you would like to update the gentoo build script. >> >> > >Hi Curt, > >I get a compile error, let me know what tests you want me to run. > >I''ve got wxGTK 2.4.2 installed. > >Cheers, > >Tom > >g++ -fPIC -march=athlon-xp -O3 -pipe -fPIC >`wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/ >1.8/i686-linux -I. -c calendar.cpp >In file included from htmlprocessor.cpp:7: >htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >In file included from htmlprocessor.cpp:7: >htmlprocessor.h:11: error: parse error before `{'' token >htmlprocessor.h:14: error: virtual outside class declaration >htmlprocessor.h:14: error: non-member function `wxString Process(const > wxString&)'' cannot have `const'' method qualifier >htmlprocessor.h:17: error: parse error before `}'' token >htmlprocessor.h:28: error: `wxHtmlProcessor'' was not declared in this scope >htmlprocessor.h:28: error: `pCpp'' was not declared in this scope >htmlprocessor.h:28: error: invalid data member initialization >htmlprocessor.h:28: error: (use `='' to initialize static data members) >htmlprocessor.h:28: error: variable or field `validateCppObject'' declared >void >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::wrapNew(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:37: error: `wxHtmlProcessor'' undeclared (first use this > function) >htmlprocessor.cpp:37: error: (Each undeclared identifier is reported only >once > for each function it appears in.) >htmlprocessor.cpp:37: error: `pCpp'' undeclared (first use this function) >htmlprocessor.cpp:37: error: template argument 1 is invalid >htmlprocessor.cpp:37: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:38: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: At global scope: >htmlprocessor.cpp:44: error: variable or field `validateCppObject'' declared > void >htmlprocessor.cpp:44: error: syntax error before `{'' token >htmlprocessor.cpp: In static member function `static bool > WxHtmlProcessor::constructor0(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:65: error: `cppResult'' undeclared (first use this >function) >htmlprocessor.cpp:65: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::Process(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:74: error: template argument 1 is invalid >htmlprocessor.cpp:74: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:75: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::GetPriority(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:92: error: template argument 1 is invalid >htmlprocessor.cpp:92: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:93: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::Enable(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:106: error: template argument 1 is invalid >htmlprocessor.cpp:106: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:107: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::IsEnabled(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:123: error: template argument 1 is invalid >htmlprocessor.cpp:123: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:124: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: At global scope: >htmlprocessor.cpp:150: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >htmlprocessor.cpp: In constructor ` > wxHtmlProcessorHelper::wxHtmlProcessorHelper()'': >htmlprocessor.cpp:151: error: class `wxHtmlProcessorHelper'' does not have >any > field named `wxHtmlProcessor'' >htmlprocessor.cpp: At global scope: >htmlprocessor.cpp:156: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >htmlprocessor.cpp:161: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >make: *** [htmlprocessor.o] Error 1 >make: *** Waiting for unfinished jobs.... >In file included from htmlwindow.cpp:11: >htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >In file included from htmlwindow.cpp:11: >htmlprocessor.h:11: error: base class `wxHtmlProcessor'' has incomplete type >make: *** [htmlwindow.o] Error 1 > > >-- >Tom >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004 > >_______________________________________________ >wxruby-users mailing list >wxruby-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/wxruby-users > > > > >
I find this hard to believe, but it looks like ''make install'' on wxGTK 2.4.2 does not install htmlproc.h (wxHtmlProcessor). The file is included with the wxGTK distro, but inexplicably it isn''t copied in. The two solutions is to have linux users copy this file in, or to remove the HTML support from wxruby for GTK. For the removal step, add the following lines to the extconf file: if /linux/ =~ RUBY_PLATFORM or /i386-freebsd/ =~ RUBY_PLATFORM CONFIG[''CC''] = `wx-config --cxx` CONFIG[''LDSHARED''].gsub!("gcc",`wx-config --cxx`.strip) # # These three lines # \/ \/ \/ \/ \/ \/ \/ \/ \/ ["htmlprocessor.o", "htmlwindow.o", "htmleasyprinting.o"].each do |f| $objs.delete(f) end $CFLAGS += " `wx-config --cxxflags`" $LDFLAGS += " `wx-config --libs` -Wl,--version-script,./version-script " or you can go into the wxWidgets include/wx/html directory and do a cp htmlproc.h <prefix>/include/wx/html/ where prefix is the path to where wxWidgets has been installed. This is partially my fault. I figured that testing on OS X and MSVC would cover most of the bases, but in hindsight not doing a manual linux build was shortsighted. Nick Curt Hibbs wrote:>Can you guys take a look at this and help Tom out? > >Thanks, >Curt > >-----Original Message----- >From: Tom Payne [mailto:twp@gentoo.org] >Sent: Sunday, August 29, 2004 10:53 AM >To: Curt Hibbs >Subject: Re: FW: [ANN] wxRuby 0.5.0 has been released! > > >On Thu, Aug 26, 2004 at 11:54:52AM -0500, Curt Hibbs wrote: > > >>Hi Tom, I just wanted to inform you that we just released a new version >>wxRuby if you would like to update the gentoo build script. >> >> > >Hi Curt, > >I get a compile error, let me know what tests you want me to run. > >I''ve got wxGTK 2.4.2 installed. > >Cheers, > >Tom > >g++ -fPIC -march=athlon-xp -O3 -pipe -fPIC >`wx-config --cxxflags` -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/ >1.8/i686-linux -I. -c calendar.cpp >In file included from htmlprocessor.cpp:7: >htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >In file included from htmlprocessor.cpp:7: >htmlprocessor.h:11: error: parse error before `{'' token >htmlprocessor.h:14: error: virtual outside class declaration >htmlprocessor.h:14: error: non-member function `wxString Process(const > wxString&)'' cannot have `const'' method qualifier >htmlprocessor.h:17: error: parse error before `}'' token >htmlprocessor.h:28: error: `wxHtmlProcessor'' was not declared in this scope >htmlprocessor.h:28: error: `pCpp'' was not declared in this scope >htmlprocessor.h:28: error: invalid data member initialization >htmlprocessor.h:28: error: (use `='' to initialize static data members) >htmlprocessor.h:28: error: variable or field `validateCppObject'' declared >void >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::wrapNew(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:37: error: `wxHtmlProcessor'' undeclared (first use this > function) >htmlprocessor.cpp:37: error: (Each undeclared identifier is reported only >once > for each function it appears in.) >htmlprocessor.cpp:37: error: `pCpp'' undeclared (first use this function) >htmlprocessor.cpp:37: error: template argument 1 is invalid >htmlprocessor.cpp:37: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:38: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: At global scope: >htmlprocessor.cpp:44: error: variable or field `validateCppObject'' declared > void >htmlprocessor.cpp:44: error: syntax error before `{'' token >htmlprocessor.cpp: In static member function `static bool > WxHtmlProcessor::constructor0(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:65: error: `cppResult'' undeclared (first use this >function) >htmlprocessor.cpp:65: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::Process(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:74: error: template argument 1 is invalid >htmlprocessor.cpp:74: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:75: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::GetPriority(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:92: error: template argument 1 is invalid >htmlprocessor.cpp:92: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:93: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::Enable(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:106: error: template argument 1 is invalid >htmlprocessor.cpp:106: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:107: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: In static member function `static VALUE > WxHtmlProcessor::IsEnabled(int, VALUE*, long unsigned int)'': >htmlprocessor.cpp:123: error: template argument 1 is invalid >htmlprocessor.cpp:123: error: no matching function for call to >`GetCpp(VALUE&)'' >htmlprocessor.cpp:124: error: `WxHtmlProcessor::validateCppObject'' cannot be > used as a function >htmlprocessor.cpp: At global scope: >htmlprocessor.cpp:150: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >htmlprocessor.cpp: In constructor ` > wxHtmlProcessorHelper::wxHtmlProcessorHelper()'': >htmlprocessor.cpp:151: error: class `wxHtmlProcessorHelper'' does not have >any > field named `wxHtmlProcessor'' >htmlprocessor.cpp: At global scope: >htmlprocessor.cpp:156: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >htmlprocessor.cpp:161: error: invalid use of undefined type `class > wxHtmlProcessorHelper'' >htmlprocessor.h:10: error: forward declaration of `class >wxHtmlProcessorHelper'' >make: *** [htmlprocessor.o] Error 1 >make: *** Waiting for unfinished jobs.... >In file included from htmlwindow.cpp:11: >htmlprocessor.h:9:30: wx/html/htmlproc.h: No such file or directory >In file included from htmlwindow.cpp:11: >htmlprocessor.h:11: error: base class `wxHtmlProcessor'' has incomplete type >make: *** [htmlwindow.o] Error 1 > > >-- >Tom >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.717 / Virus Database: 473 - Release Date: 7/8/2004 > >_______________________________________________ >wxruby-users mailing list >wxruby-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/wxruby-users > > > > >
Tobias Gruetzmacher
2004-Aug-30 05:15 UTC
[Wxruby-users] wxRuby Compile Problems on Gentoo eBuild
Hi, Nick schrieb:> I find this hard to believe, but it looks like ''make install'' on wxGTK > 2.4.2 does not install htmlproc.h (wxHtmlProcessor). The file is > included with the wxGTK distro, but inexplicably it isn''t copied in. The > two solutions is to have linux users copy this file in, or to remove the > HTML support from wxruby for GTK.That''s interesting... It seems Debian took care of this: tobias@lafiel 10:24 $ locate htmlproc.h /usr/include/wx/html/htmlproc.h tobias@lafiel 10:57 $ dpkg -S /usr/include/wx/html/htmlproc.h wxwin2.4-headers: /usr/include/wx/html/htmlproc.h tobias@lafiel 10:57 $ dpkg -l wxwin2.4-headers [...] ii wxwin2.4-headers 2.4.2.6 wxWindows Cross-platform C++ GUI toolkit (header files) So I didn''t have the problem when building this...> For the removal step, add the following lines to the extconf file:Maybe check if the htmlproc.h can be included and remove it if that is not the case? I would know how to do that with Autoconf, but I have no deeper knowledge of this extconf.rb magic... It would certainly involve writing a very small C fragment which #includes the wx/html/htmlproc.h and then pipe that to the C(++)-Preprocessor and look at the exit code... OK, the process to automate is the following: 1. Create file tmp.cpp only with the line #include <wx/html/htmlproc.h> 2. Run the preprocessor: g++ -E `wx-config --cxxflags` tmp.cpp > /dev/null 3. Exit code is 0 if file was found and 1 if file was not found... I don''t know how portable that is... Greetings Tobi -- GPG-Key 0xE2BEA341 - signed/encrypted mail preferred My, oh so small, homepage: http://portfolio16.de/ http://www.fli4l.de/ - ISDN- & DSL-Router on one disk! Registered FLI4L-User #00000003 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature Url : http://rubyforge.org/pipermail/wxruby-users/attachments/20040830/e1903c99/signature.bin
> Maybe check if the htmlproc.h can be included and remove it if that is > not the case? I would know how to do that with Autoconf, but I have no > deeper knowledge of this extconf.rb magic...I think that is possible. extconf''s tests have driven me crazy in the past (they don''t work the same across all platforms/compilers), but to make a Linux specific test I think would work just fine. Nick Tobias Gruetzmacher wrote:> Hi, > > Nick schrieb: > >> I find this hard to believe, but it looks like ''make install'' on >> wxGTK 2.4.2 does not install htmlproc.h (wxHtmlProcessor). The file >> is included with the wxGTK distro, but inexplicably it isn''t copied >> in. The two solutions is to have linux users copy this file in, or to >> remove the HTML support from wxruby for GTK. > > > That''s interesting... It seems Debian took care of this: > > tobias@lafiel 10:24 $ locate htmlproc.h > /usr/include/wx/html/htmlproc.h > tobias@lafiel 10:57 $ dpkg -S /usr/include/wx/html/htmlproc.h > wxwin2.4-headers: /usr/include/wx/html/htmlproc.h > tobias@lafiel 10:57 $ dpkg -l wxwin2.4-headers > [...] > ii wxwin2.4-headers 2.4.2.6 wxWindows Cross-platform > C++ GUI toolkit (header files) > > So I didn''t have the problem when building this... > >> For the removal step, add the following lines to the extconf file: > > > Maybe check if the htmlproc.h can be included and remove it if that is > not the case? I would know how to do that with Autoconf, but I have no > deeper knowledge of this extconf.rb magic... It would certainly involve > writing a very small C fragment which #includes the wx/html/htmlproc.h > and then pipe that to the C(++)-Preprocessor and look at the exit code... > > OK, the process to automate is the following: > 1. Create file tmp.cpp only with the line > #include <wx/html/htmlproc.h> > 2. Run the preprocessor: > g++ -E `wx-config --cxxflags` tmp.cpp > /dev/null > 3. Exit code is 0 if file was found and 1 if file was not found... > > I don''t know how portable that is... > > Greetings Tobi > >------------------------------------------------------------------------ > >_______________________________________________ >wxruby-users mailing list >wxruby-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/wxruby-users > >
Nick wrote:> >> Maybe check if the htmlproc.h can be included and remove it if that is >> not the case? I would know how to do that with Autoconf, but I have no >> deeper knowledge of this extconf.rb magic... > > > I think that is possible. extconf''s tests have driven me crazy in the > past (they don''t work the same across all platforms/compilers), but to > make a Linux specific test I think would work just fine.I''m running gentoo, so I can help some with this. Any thoughts on what the extconf.rb test would actually be? This seems important enough to warrant a 0.5.1 release, at least for Linux. Kevin
> I''m running gentoo, so I can help some with this. Any thoughts on what > the extconf.rb test would actually be?it would be something like: if (not have_header(''wx/html/htmlproc.h'')) #put html remove code here end Kevin Smith wrote:> Nick wrote: > >> >>> Maybe check if the htmlproc.h can be included and remove it if that is >>> not the case? I would know how to do that with Autoconf, but I have no >>> deeper knowledge of this extconf.rb magic... >> >> >> >> I think that is possible. extconf''s tests have driven me crazy in the >> past (they don''t work the same across all platforms/compilers), but >> to make a Linux specific test I think would work just fine. > > > I''m running gentoo, so I can help some with this. Any thoughts on what > the extconf.rb test would actually be? > > This seems important enough to warrant a 0.5.1 release, at least for > Linux. > > Kevin > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > >