# Compiling wxruby for FreeBSD

**URL:** <https://www.ruby-forum.com/t/compiling-wxruby-for-freebsd/211148>\
**Category:** wxRuby\
**Created:** [August 26, 2011, 10:40pm UTC](https://www.ruby-forum.com/t/compiling-wxruby-for-freebsd/211148 "2011-08-26T22:40:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [August 26, 2011, 10:40pm UTC](https://www.ruby-forum.com/t/compiling-wxruby-for-freebsd/211148/1 "2011-08-26T22:40:29Z")

</div>

The version of wxruby available in ports on my FreeBSD system is 0.6.0  
so I’d  
like to compile a newer version. I’ve downloaded the 2.0.1 source  
tarball and  
tried to compile with the following result:

% rake  
(in /home/william/src/wxruby-2.0.1)  
wx-config: not found  
rake aborted!  
wx-config error:  
()  
/home/william/src/wxruby-2.0.1/rakefile:70  
(See full trace by running task with --trace)

The INSTALL file is not helpful here. Is wx-config necessary? If so,  
why  
isn’t it part of the package? If not, how do I proceed to compile?

–  
Will

---

<div class="post-metadata">

**Author:** ![will\_p](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/a87d85/32.png) [@will\_p](https://www.ruby-forum.com/u/will_p)\
**Post date:** [August 27, 2011, 4:58am UTC](https://www.ruby-forum.com/t/compiling-wxruby-for-freebsd/211148/2 "2011-08-27T04:58:37Z")

</div>

Hi there Will, wx-config is part of wxwidgets, it sounds like you need  
to  
install that. That error message should be more helpful, shouldn’t it?  
Try  
the wxwidgets-2.8 package.

David
