<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
Hi All,<BR>
<BR>
I am trying to compile WxRuby on Ubuntu 6.06. I checked out the latest source code from CVS and ran 'rake' under the wxruby2 directory. I am getting the following error.<BR>
<BR>
<FONT COLOR="#ff0000">root@imayam:/work/wxruby/wxruby2# rake</FONT><BR>
<FONT COLOR="#ff0000">(in /work/wxruby/wxruby2)</FONT><BR>
<FONT COLOR="#ff0000">rake aborted!</FONT><BR>
<FONT COLOR="#ff0000">Don't know how to build task 'src/App.cpp'</FONT><BR>
<BR>
<FONT COLOR="#ff0000">(See full trace by running task with --trace)</FONT><BR>
<BR>
I am totally new to SWIG and have absolutely no idea what is going wrong.<BR>
<BR>
The following is my environmental setup<BR>
<BR>
<B><FONT COLOR="#0000ff">1. Ruby </FONT></B><BR>
<FONT COLOR="#0000ff">root@imayam:/work/wxruby/wxruby2# ruby -v</FONT><BR>
<FONT COLOR="#0000ff">ruby </FONT><FONT COLOR="#008000">1.8.4</FONT><FONT COLOR="#0000ff"> (2005-12-24) [i686-linux]</FONT><BR>
<BR>
<B><FONT COLOR="#0000ff">2. Rake</FONT></B><BR>
<FONT COLOR="#0000ff">root@imayam:/work/wxruby/wxruby2# rake --version</FONT><BR>
<FONT COLOR="#0000ff">rake, version </FONT><FONT COLOR="#008000">0.7.1</FONT><BR>
<BR>
<B><FONT COLOR="#0000ff">2. GCC</FONT></B><BR>
<FONT COLOR="#0000ff">root@imayam:/work/wxruby/wxruby2# gcc -v</FONT><BR>
<FONT COLOR="#0000ff">Using built-in specs.</FONT><BR>
<FONT COLOR="#0000ff">Target: i486-linux-gnu</FONT><BR>
<FONT COLOR="#0000ff">Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu</FONT><BR>
<FONT COLOR="#0000ff">Thread model: posix</FONT><BR>
<FONT COLOR="#0000ff">gcc version </FONT><FONT COLOR="#008000">4.0.3 </FONT><FONT COLOR="#0000ff">(Ubuntu 4.0.3-1ubuntu5)</FONT><BR>
<BR>
<B><FONT COLOR="#0000ff">3. SWIG</FONT></B><BR>
<FONT COLOR="#0000ff">root@imayam:/work/wxruby/wxruby2# swig -version</FONT><BR>
<BR>
<FONT COLOR="#0000ff">SWIG Version </FONT><FONT COLOR="#008000">1.3.27</FONT><BR>
<FONT COLOR="#0000ff">Copyright (c) 1995-1998</FONT><BR>
<FONT COLOR="#0000ff">University of Utah and the Regents of the University of California</FONT><BR>
<FONT COLOR="#0000ff">Copyright (c) 1998-2005</FONT><BR>
<FONT COLOR="#0000ff">University of Chicagoor</FONT><BR>
<FONT COLOR="#0000ff">Compiled with g++ [i686-pc-linux-gnu]</FONT><BR>
<BR>
<FONT COLOR="#0000ff">Please see http://www.swig.org for reporting bugs and further information</FONT><BR>
<BR>
<B><FONT COLOR="#0000ff">4. GTK</FONT></B><BR>
<FONT COLOR="#0000ff">root@imayam:/work/wxruby/wxruby2# pkg-config --modversion gtk+-2.0</FONT><BR>
<FONT COLOR="#008000">2.8.20</FONT><BR>
<BR>
<B><FONT COLOR="#0000ff">5. WxWidgets</FONT></B><BR>
<FONT COLOR="#0000ff">root@imayam:/work/wxruby/wxruby2# wx-config --version</FONT><BR>
<FONT COLOR="#008000">2.6.1</FONT><BR>
<BR>
Please let me know if I am missing something or if I need to install any other prerequisites. I am seriously considering WxRuby for my inhouse projects and eventually write a self published book. <BR>
<BR>
<BR>
Cheers,<BR>
Ganesh Gunasegaran.
</BODY>
</HTML>